Comments (2)
Hi Francisco,
Thanks a lot for the rapid response. Actually, I am running metaGEM with --local
flag so I only made changes in the config.yaml file. But maybe I will give it a try by running it in parallel and also have a look the new tool.
Thanks a lot.
Kunal
from metagem.
Hi Kunal,
There are sections of code in the crossmap rule that probably do not make full use of parallelisation, e.g. when combining multiple sorted bam files with jgi_summarize_bam_contig_depths
or concoct_coverage_table.py
, although there is not much I can do about this. I would suggest that you monitor your job with htop
to see if at least the bwa-mem commands are getting multiples cores. Also, it is possible that you may have properly assigned your cores in the config.yaml file (used for workflow parameters) but NOT in the cluster_config.json file, which is the one that actually requests resources from your cluster. Please double check these files.
Also how large is your dataset? For e.g. more than 250 samples it becomes difficult to obtain cross mapping results in a reasonable amount of time. By default metaGEM runs crossmapping in series (i.e. one job per focal sample, then each job maps short read samples to the focal sample assembly one at a time), have you considered the cross mapping in parallel? However, again for large datasets this will spawn a huge number of jobs that could take a while to finish on the cluster. If I were you, I would use the default crossmapping in series approach, but instead of bwa-mem I would use this new fairy tool that just came out that is apparently ~250x faster. Seems easy to use and is compatible with binning tools, here is the preprint and github repo if you are interested. I will definitely replace bwa-mem with this tool in the metaGEM workflow once I have some time in the future, but in the meantime please have a look.
Best,
Francisco
from metagem.
Related Issues (20)
- Job submission with qsub HOT 2
- [Bug]: 'BiGG_gene' is both an index level and a column label, which is ambiguous. HOT 4
- [Usage]: running workflow on workstation with local flag HOT 17
- Questions about media, gapfilling, and predicting interactions HOT 11
- Getting the following error while running the bash metaGEM.sh -t check
- Getting the following error while running the bash metaGEM.sh -t check HOT 8
- refined_bins output remains empty after successful binRefine step HOT 2
- [Question]: How to define and construct a custom culture medium component that can be recognized by CarveMe? HOT 2
- [Question]:Why, when I use CarveMe for gap-filling, does it show that my custom medium does not exist in the database? HOT 1
- [Question]: I meet some errors when I use CarveMe for gap-filling? HOT 3
- [Question]: How to use the GEM output of CarveMe to generate these two files? HOT 1
- [Bug]: Metawrap Installation failure HOT 5
- ERROR when using GTDBTK HOT 2
- maintenance: check bonus tool implementation in Snakefile and wrapper
- Implementation of EukRep in the Snakemake pipeline HOT 4
- How to set media to interpret and compare the metabolic interactions at different habitats? HOT 5
- abundance | samtools view: failed to add PG line to the header HOT 2
- dir_util.py AttributeError: 'dict' object has no attribute 'add' HOT 3
- [Question]: Feature name data type issues and workflow failures when processing "crossMapSeries" output files in the "binRefine" workflow HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metagem.