LangilleLab / microbiome_helper

A repository of bioinformatic scripts, SOPs, and tutorials for analyzing microbiome data.
GNU General Public License v3.0
430 stars 205 forks source link

Scripts for Metagenome SOP v3 #56

Closed rachelmugge closed 1 year ago

rachelmugge commented 1 year ago

Hi, I've installed the latest version of MBH and I am following the steps for version 3 of the metagenomics workflow, but I cannot find the scripts used in the MMSeqs2 section- are these still under development? Or can you point me to where I can find them?

Thanks!

R-Wright-1 commented 1 year ago

Hi Rachel, Yes they are still under development, however, I did make a copy of them recently for use in the metagenomics tutorial. I think this should include everything that you need (as well as all of the other metagenome tutorial files), but let us know if there's anything that you still don't have after that: wget -O metagenome_tutorial.tar.gz https://www.dropbox.com/sh/cn06suaq77di9sf/AADpERJGxme7xfON-rLoOE2Oa/metagenome_tutorial.tar.gz?dl=1

rachelmugge commented 1 year ago

Perfect, thanks so much!

rachelmugge commented 1 year ago

Another question:

What is the best way to adjust parameters for the 'mmseqs search' command within a job file? I've created the job files and the first one seems to run okay (I chose the option of running one at a time), but if I open the job file and manually change parameters such as --threads, -a, -s, etc., the job file then won't execute. Are the parameters something I should edit within the 'run_TaxonomyFunctionSearchMegan.pl' script instead?

dhwanidesai commented 1 year ago

Hi Rachel, Modifying the jobfile manually to change parameters should work, if you specified the mmseqs parameters correctly, because basically the jobfile is just a shell script running those commands. Is there a specific error message you get when running a modified jobfile?

Could you send me the error message that you get?

regards, Dhwani


From: Rachel Mugge @.> Sent: Friday, July 22, 2022 2:28 PM To: LangilleLab/microbiome_helper @.> Cc: Subscribed @.***> Subject: Re: [LangilleLab/microbiome_helper] Scripts for Metagenome SOP v3 (Issue #56)

CAUTION: The Sender of this email is not from within Dalhousie.

Another question:

What is the best way to adjust parameters for the 'mmseqs search' command within a job file? I've created the job files and the first one seems to run okay (I chose the option of running one at a time), but if I open the job file and manually change parameters such as --threads, -a, -s, etc., the job file then won't execute. Are the parameters something I should edit within the 'run_TaxonomyFunctionSearchMegan.pl' script instead?

— Reply to this email directly, view it on GitHubhttps://github.com/LangilleLab/microbiome_helper/issues/56#issuecomment-1192790172, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABYZBDNG53XA5RDVYXCMR63VVLK2PANCNFSM53WO33RA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

rachelmugge commented 1 year ago

Hi Dr. Desai, Okay, that's what I thought- this is the error:

-bash: /Users/firefly-hl/mmseqs-B001-S3-2022-07-22-11-53-42-jobfile_edited.sh: Operation not permitted

I suspect it's a permissions error on my machine, not an issue with the script. I've tried changing the read and write permissions for the individual job file as well as giving the terminal application full disk access, both with no luck. I can still run the mmseqs steps individually so it's not a big issue, but creating and running job files, as in the tutorial, seems more efficient with multiple samples.

Thanks, Rachel

rachelmugge commented 1 year ago

To follow-up on this, I am able to run each edited job file individually by moving the job files from the hard drive to the SSD (not sure if that made a difference), and then dragging and dropping into the terminal instead of running ./mmseqs-*.sh