Giter VIP home page Giter VIP logo

Comments (4)

dancooke avatar dancooke commented on August 30, 2024

Thanks for the bug report. The problem is that the operating system maximum open file limit is being exceeded (i.e. ulimit -n). When calling with multiple threads, Octopus creates a temporary BCF file for each unique contig in the calling region set. Since you're not explicitly specifying any input regions in your command, the default behaviour is it to call all contigs in the reference genome. That's all 3366 contigs in GRCh38_full_analysis_set_plus_decoy_hla.fa, even though reads are only mapped to chr1.

A robust solution to this is not going to be simple. However, it's fairly easy for you to avoid this problem by either:

  • Increasing the maximum open file limit (e.g. set ulimit -n 10000).
  • Manually specify input regions (e.g. add -T chr1 to your command).

from octopus.

dancooke avatar dancooke commented on August 30, 2024

For my own information, some ideas to help - but not solve - this problem:

  • Only open temporary contig BCFs when the first calls from the contig are in.
  • Close temporary contig BCFs once all calls for the contig are written.
  • Improve exception handling/reporting when file opening fails.

from octopus.

cinquin avatar cinquin commented on August 30, 2024

Thanks; adding -T chr1 does work around the problem.

from octopus.

dancooke avatar dancooke commented on August 30, 2024

From 42fa364, Octopus will open and close temporary BCFs as needed, which should reduce the occurrence of this type of error. There is also better error reporting. You should now be able to run your command without the -T chr1 (although I'd still recommend including it if you're only calling chromosome 1).

from octopus.

Related Issues (20)

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.