Giter Club home page Giter Club logo

Comments (9)

sanchit-misra avatar sanchit-misra commented on May 24, 2024 1

We will look into this and get back to you.

from bwa-mem2.

sanchit-misra avatar sanchit-misra commented on May 24, 2024 1

@fei0810 Fixed the code to work with wheat genome. Now, it needs 28N space = 28*17 = 476 GB to build wheat genome.
Also, fixed the rest of the code so that wheat genome (and other larger genomes) can be mapped to correctly.

from bwa-mem2.

fei0810 avatar fei0810 commented on May 24, 2024

We will look into this and get back to you.

Hi, is there any progress on this issue?

from bwa-mem2.

sanchit-misra avatar sanchit-misra commented on May 24, 2024

We are working on it. We have reproduced the bug. Trying to fix it now.

from bwa-mem2.

sanchit-misra avatar sanchit-misra commented on May 24, 2024

Most likely, you are running out of memory. Creating the index using the current code needs maximum memory of 34N Bytes, where N is the size of the reference sequence. With the wheat genome, it would be 34*17 = 578 GB. We are trying to reduce the maximum memory required.

from bwa-mem2.

Dagsbio avatar Dagsbio commented on May 24, 2024

Hi, I'm getting same error when indexing hg19.fa with 32GB RAM:

bwa-mem2 index hg19.fa
[bwa_index] Pack FASTA... 7.61 sec
init ticks = 257657731164
ref seq len = 6274322528
binary seq ticks = 133066087488
Segmentation fault (core dumped)

from bwa-mem2.

sanchit-misra avatar sanchit-misra commented on May 24, 2024

Hi, that is because the indexing of human genome requires nearly 40 GB of memory.

from bwa-mem2.

Dagsbio avatar Dagsbio commented on May 24, 2024

Right, just tried in a 64GB machine and worked, thanks!

from bwa-mem2.

fei0810 avatar fei0810 commented on May 24, 2024

@fei0810 Fixed the code to work with wheat genome. Now, it needs 28N space = 28*17 = 476 GB to build wheat genome.
Also, fixed the rest of the code so that wheat genome (and other larger genomes) can be mapped to correctly.

Coooool!
Thank you so much.

from bwa-mem2.

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.