Comments (5)
Awesome! Thank you @Lioscro! I reduced BinsN and increased sortRAM in separate runs - both worked.
Worth saying that locally (MacBook Pro), ulimit -Hn was set to unlimited (which came up to max 96bit) by default. It was trying to run it with hundreds of millions of bins which made it crash with a memory error. Adjusting ulimit -Hn to something reasonable (20 000 or so) had worked since I believe this value is used as input to decide the number of bins in your code.
from dynast-release.
Hi, @cpcouturier,
I don't think this is related to ulimit
because dynast temporarily increases the maximum number of open file descriptors to the maximum allowed by the OS. The interplay between ulimit, limitBAMsortRAM, and the amount of required memory is a bit confusing, but here is an issue in the STAR github repo that sheds some light: alexdobin/STAR#457 (comment)
Some key points are that higher outBAMsortingBinsN reduces memory requirements because the BAM sorting is done per bin and merged. The value automatically calculated (by dynast, in your case it seems it is 131062) should be pretty close to the maximum that your system can support. You can always override any STAR argument using the --STAR-overrides
argument. For instance, you may want to provide --limitBAMsortRAM
to the value that STAR is suggesting like so.
dynast align ... --STAR-overrides="--limitBAMsortRAM 101537264536 --otherArgument otherParameter"
Note that the overrides should be in quotes so that it doesn't get interpreted as dynast arguments. The same can be done for --outBAMsortingBinsN
if you wish.
from dynast-release.
Thanks @Lioscro!
I tried --STAR-overrides with the sortRAM and BinsN. It seems both have no impact on the outcome. In the case of BinsN, both the modified and native arguments appear. Is the override having the intended effect here?
from dynast-release.
The shell you are running dynast on is interpreting the double quotes as part of the argument. I've just pushed an update to strip quotes from the string, so I think it should work after you install the newest version.
from dynast-release.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
from dynast-release.
Related Issues (13)
- Exception on dynast estimate - cell barcode names HOT 4
- Motivation for using consensus HOT 3
- Consensus.bam lost gene-tag after completion HOT 2
- Recruiting Python Programmers to Develop Predictive Single Cell Spatiotemporal Analysis Toolkit HOT 1
- dynast count error:forward_strand = df_counts['GX'].map(lambda gx: gene_infos[gx]['strand']) == '-' KeyError: '-'
- dynast --list option not suitable HOT 1
- dynast estimate: behavior for genes for which estimation is skipped and --reads argument HOT 3
- dynast count --conversion
- dynast count very slow - may not be parallelized?
- Dynast count BamError: Some paired reads do not have mates HOT 3
- Dynast count error: HOT 7
- Bug in 'estimate' when p_e is taken from control HOT 4
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 dynast-release.