Git Product home page Git Product logo

Comments (5)

cpcouturier avatar cpcouturier commented on September 16, 2024 1

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.

Lioscro avatar Lioscro commented on September 16, 2024

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.

cpcouturier avatar cpcouturier commented on September 16, 2024

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?

Screen Shot 2021-05-20 at 10 59 47 AM
Screen Shot 2021-05-20 at 11 01 06 AM

from dynast-release.

Lioscro avatar Lioscro commented on September 16, 2024

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.

github-actions avatar github-actions commented on September 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.