Code Monkey home page Code Monkey logo

Comments (8)

singing-scientist avatar singing-scientist commented on May 20, 2024

Greetings, Matt! Thanks for using SNPGenie. At the time I wrote SNPGenie, I used it on a case-by-case basis for viruses and did not have the foresight to include much flexibility — apologies! As it currently operates, SNPGenie is meant to be executed only once in a given directory, and that directory is to contain the FASTA, GTF, and SNP report(s). Thus, a quick fix for parallelization would be to place each SNP report in a separate directory, then batch. Alternatively, I don't imagine it would be very difficult to update the code to place results in a user-specified directory. I could do this in ~1 week, if it would still be of use to you. Please let me know.

Yours,
Chase

from snpgenie.

mhopken avatar mhopken commented on May 20, 2024

Thank you for your quick reply! It would be of use to me for sure.
As for the quick fix, I have my .vcf and .fasta for each sample in individual directories but when I run from the directory that has all of the sample folders it still puts the output in the current directory, not where the sample files are. So batch still does not work. I have to do each one individually.
I appreciate the quick response!

from snpgenie.

singing-scientist avatar singing-scientist commented on May 20, 2024

Thanks @mhopken for waiting on me. For you to batch in this 'quick fix' way, your parent script will have to actually enter each subdirectory before calling SNPgenie, which would allow a SNPGenie_Results directory to be created in each subdir — otherwise SNPGenie_Results will be written in the overarching parent directory, and fail after the first subdir is processed.

Nevertheless, I hope to code this change for you in the next few days! Thanks for your patience.

from snpgenie.

singing-scientist avatar singing-scientist commented on May 20, 2024

Dear @mhopken: I have added the requested ability, to be specified using the --outdir option. Some examples are given if you call snpgenie.pl --help. Please download the new script, give it a try, and let me know if it works well for you. If so, I will add these options to the official documentation.

from snpgenie.

mhopken avatar mhopken commented on May 20, 2024

Hello Chase,

Thank you very much for working on this! I will try it out and let you know.
Much appreciated.
Matt

from snpgenie.

singing-scientist avatar singing-scientist commented on May 20, 2024

Dear @mhopken: has this issue been resolved?

from snpgenie.

mhopken avatar mhopken commented on May 20, 2024

@cwnelson88 yes it is fixed! I finally got a chance to check the batch processing.
Thank you for all of you help!
Cheers

from snpgenie.

singing-scientist avatar singing-scientist commented on May 20, 2024

Great to hear that, @mhopken! I will now close the issue; please feel free to open another if you have any more feedback!

from snpgenie.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.