-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Batch processing #25
Comments
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, |
Thank you for your quick reply! It would be of use to me for sure. |
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. |
Dear @mhopken: I have added the requested ability, to be specified using the |
Hello Chase, Thank you very much for working on this! I will try it out and let you know. |
Dear @mhopken: has this issue been resolved? |
@cwnelson88 yes it is fixed! I finally got a chance to check the batch processing. |
Great to hear that, @mhopken! I will now close the issue; please feel free to open another if you have any more feedback! |
Hello,
I am trying to use SNPgenie in a for loop to batch process. However it is unclear how I change output directory. The software processes the first sample, creates the standard output directory then throws an error for the rest for the samples because the output folder already exists.
Any help would be appreciated.
Thank you,
Matt
The text was updated successfully, but these errors were encountered: