Giter Club home page Giter Club logo

Comments (7)

brainstorm avatar brainstorm commented on August 23, 2024

I suspect that's partly being tackled by @jb-adams in ga4gh/htsget-refserver#8 ?

from bam-js.

cmdcolin avatar cmdcolin commented on August 23, 2024

Could be! On some level, I think this code should figure out how to be more like samtools and figure it out but I'll certainly check the pr especially if it is deployed somewhere

from bam-js.

cmdcolin avatar cmdcolin commented on August 23, 2024

For dnanexus's webserver, we request a bogus refname because otherwise it says the "header" involves a download of 10GB of data, and we don't try to "subselect" the range that it gives us

We could consider dropping support for dnanexus's htsget server so that ga4gh's htsget server works, or we find a fix that accomodates both, or just leave as is

from bam-js.

cmdcolin avatar cmdcolin commented on August 23, 2024

See the behavior of the dnanexus server here

#range is the entire file, e.g. 140gb, which our code doesn't currently try to subselect from resulting in bad behavior if used
http://htsnexus.rnd.dnanex.us/v1/reads/BroadHiSeqX_b37/NA12878?class=header

#reasonable size, all data encoded in a data uri even
http://htsnexus.rnd.dnanex.us/v1/reads/BroadHiSeqX_b37/NA12878?class=header&referenceName=DOES_NOT_EXIST

from bam-js.

brainstorm avatar brainstorm commented on August 23, 2024

IIRC the htsnexus htsget server might not as up to date as the GA4GH reference htsget server? Please refer to the official public GA4GH server endpoints mentioned in here:

igvteam/igv.js#1187 (comment)

So yes, I'd consider dropping support for previous spec versions, tbh.

/cc @mlin @ohofmann

from bam-js.

cmdcolin avatar cmdcolin commented on August 23, 2024

Ya that was the impetus for the comment. However, my workaround to work with the dnanexus server (to add a random referenceName to the class=header request) does not work with the ga4gh server. I kind of figured the hacky behavior to add the random refname wouldn't be great but I got to figure out what to do next

from bam-js.

brainstorm avatar brainstorm commented on August 23, 2024

That page is now gone along with the deprecated endpoints. I was about to suggest using the official GA4GH htsget endpoint, but it seems to be undergoing some issues for a couple of weeks now?:

Screen Shot 2022-01-19 at 3 19 01 pm

/cc @jb-adams can you tilt that one back up please?
/cc @victorskl @andrewpatto

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.