Comments (7)
Yes, you can try to limit the number of cpu cores, with the option -nb-cores.
from mindthegap.
Thanks, is the memory due to building the de-bruijn graph? Is there a better way to predict the memory usage of a sample?
from mindthegap.
Hi,
This is not the de bruijn graph itself nor its construction that uses such memory (we use the implementation given by the GATB library that is very light, and for this you can control the memory with the option -max-memory). The problem comes from an additional data structure that is used to mark the traversed nodes that is not well memory-optimized (a sort of hashtable for all the branching kmers of the graph, this is on the TODO list to change it to a lighter data structure...) and that must be duplicated for each thread.
Usually, even for large genomes or large number of reads, the number of branching kmers is not so high and this is not an issue. Note that high number of branching kmers can happen if the abundance-min parameter is not well set or with some atypical datasets (for instance, metagenomics).
I hope that reducing the number of threads made it possible for you to run MindTheGap.
Best,
Claire
from mindthegap.
Hi,
the implementation of the de bruijn graph has been modified in MindTheGap (uses now default options of implementation as in dbgh5). This should fix the memory issues.
from mindthegap.
Great! Looking forward to trying the newest version out.
from mindthegap.
This problem still persists with the newest install. Is there a reference I can look at to see how the memory allocation was fixed to understand why I am still getting 30-50GB of memory allocation per sample?
from mindthegap.
Hi,
We fixed a bug in the building of the de Bruijn graph. MindTheGap used previously non-default implementations for the data structures behind and for some datasets we observed that it could lead to a false graph with way too much branching nodes, which took later too much memory in the Fill module. MindTheGap now uses the default implementation of the dbg of gatb-core.
Did you run again MindTheGap starting from the reads (and not from the previously built h5 file) ?
from mindthegap.
Related Issues (13)
- ./MindTheGap 'fill' takes too long time for WGS data HOT 4
- result issue HOT 1
- EXCEPTION: Failure because of unhandled kmer size 128 HOT 4
- No license information for src/CircularBuffer.hpp HOT 4
- ERROR: Unknown parameter '-contig' HOT 2
- Extremely Large Run-Time in 'Contig-Fill' Mode HOT 5
- Exception: Hash16: max size for this hash is 2^32, but ask for 33 HOT 1
- Config Files HOT 4
- installation issue HOT 1
- recommended settings for nanopore reads HOT 2
- Readme issue HOT 2
- simple test fails on my machine HOT 7
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 mindthegap.