Closed danvk closed 9 years ago
I got the ga4gh server to run on hammerlab-dev2 and serve alignments out of our BAM files on HDFS.
The steps:
/reads/search
call for arbitrary files, i.e. the one we care about.frontend.py
to use the data source from my config file. (See https://github.com/ga4gh/server/pull/485)This seems to work well in practice—I can run fetches on the pathological BAMs quickly.
(Summarizing a conversation with @hammer yesterday)
One way to address #730 (make loading pileups faster) is to serve alignments via Cycledash. The GA4GH project has designed a REST API for querying alignments which we should adhere to.
The API endpoint is
/reads/search
. Requests & responses are defined by two Avro files:readmethods.avdl
andreads.avdl
. The latter defines a type,ReadAlignment
, which is equivalent to a line in a SAM file. Going down this road would require adding support for this Avro schema to pileup.js as well. This is probably a good idea.Sample session: