Question about generating "depth.txt" for metabat2 #40
-
Hi Francisco, Thanks a lot! Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hi Hongzhong, There are a few ways to do this, and the most optimal way depends on what you are trying to do.
You can look at the tutorial/demo to get an idea of how to use the
Note that by default this will run the Snakefile rule I should mention as a note of caution that this approach works well for small-to-medium-sized datasets (~ <= 150 medium sized samples), but may become impractical for large datasets, both in terms of runtime and computational load. This is because the job needs to generate N sorted bam files to create the concoct coverage table, where N = number of samples. You can imagine if you had a dataset of 300 samples, and each bam file is ~10GB, you would need around 3TB of temporary storage per job, and up to ~900TB if you run all jobs in parallel. In the metaGEM manuscript we processed the TARA oceans dataset which was quite large (~246 samples). For these larger datasets we recommend to run a slightly modified workflow where each individual mapping operation is submitted as an individual job and mapped using kallisto. I am now working on adding support for this alternative branch of the workflow to the Please let me know if you have further questions. |
Beta Was this translation helpful? Give feedback.
-
Hi Francisco, Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hi Hongzhong, In that case I recommend looking at the
and then comment out the output to the main metabat rule
You need to do this so that Snakemake knows exactly which rule to execute to generate your desired files.
I have also recently expanded the metaGEM wiki, so please check it out if you want to learn more about usage and implementation of Also, just so you know, from personal experience I found that CONCOCT tends to outperform maxbin2 and metabat2 in most cases. As a reference you can look at Supplementary Figure 2 of the metaGEM paper: Hope this helps and let me know if you have any other questions. |
Beta Was this translation helpful? Give feedback.
-
Hi Francisco, Best regards, |
Beta Was this translation helpful? Give feedback.
-
Closing this due to inactivity but please reopen/comment if you have further questions. |
Beta Was this translation helpful? Give feedback.
Hi Hongzhong,
In that case I recommend looking at the
metabat
rule in line 512 of the Snakefile.Note that the output is commented out currently, since this is a "backup"/alternative version of running metabat2.
You will need to uncomment out the output to the
metabat
rule in line 518 to look like this:and then comment out the output to the main metabat rule
metabatCross
on line 581 to look like this:You need to do this so that Snakemake knows exactly which rule to execute to generate your d…