Code Monkey home page Code Monkey logo

Comments (2)

cmdcolin avatar cmdcolin commented on August 15, 2024 1

hmm...hard to say. there may be something weird going on or it could be the particular dataset. if you have the file I could check it out

the way viewAsPairs works is

  • you request a particular region chr:start-end from a BAM file, and then if the features in that region are paired with another region in the file (RNEXT:PNEXT) then it literally goes and tries to fetch those regions also e.g. RNEXT:PNEXT-PNEXT+1
    that can in some cases lead to a lot of data being fetched especially if you hit a repeat that happens to be paired aberrantly to many places on the genome

note that the viewAsPairs option was developed for jbrowse 1 because we wanted to synthesize a "paired feature" up front when we encounter a pair. there are probably other methods that don't require the viewAsPairs code

from bam-js.

cmdcolin avatar cmdcolin commented on August 15, 2024

also to be clear, you can override the fetchSizeLimit in the constructor if you want to ignore this! maybe can close for now

from bam-js.

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.