GithubHelp home page GithubHelp logo

Comments (3)

MariaNattestad avatar MariaNattestad commented on May 30, 2024

Hi,
I have had the same problem, and from what I can tell it stems from attempting to load too much data from the bam file. The bam library probably doesn't know that it will exceed the available memory, and I have tried to preview the bam file or somehow prevent it from loading everything at once, but I can't find any ways to do this.
From the cancer genome I usually look at, it occurs in regions with more than about 800 reads.
Maybe in your viral genome the coverage is also very high. It may be possible to use Ribbon if you down-sample the bam file, but you can test with samtools to see how many reads it is trying to load to confirm that this is the problem first.

from ribbon.

indapa avatar indapa commented on May 30, 2024

Thanks for your reply. I talked to @chmille4 about it too, since the iobio code is running under the hood for the BAM file loading. He said pretty much the same thing. I'll try downsampling the BAM because the genome is fairly small ( < 200kb) , but my coverage is ~3000x

from ribbon.

indapa avatar indapa commented on May 30, 2024

Hi Maria - Yes, I downsampled the BAM and the 'aw,snap' error goes away. Thanks for your help!

from ribbon.

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.