From: Mitch S. <mit...@be...> - 2009-08-18 18:01:37
|
On 08/18/2009 10:24 AM, Ian Holmes wrote: >> I was hoping for something like >> http://www.jbrowse.org/ucsc/hg19/?coordinates=chr1:119777910-120173410&track=RefSeqGenes&track=CpGIslands&track=ORFeomeClones. >> Possible? >> > Currently the way to do this is via the Javascript API. > No, this is currently implemented in index.html (take a look at index.html to see how it works). Andrew's "coordinates" is implemented as "loc", which can be anything that you can put in the location box (e.g., chrom:start..end, or a specific feature name/id if the feature name/id is in a track that has "autocomplete" set). And there's also a "tracks" query parameter, which gets a comma-separated list of track identifiers. e.g., http://jbrowse.org/ucsc/hg19/?loc=chr1:100417735..100505485&tracks=refseq_genes,human_mrnas Implementing a nice way for users to generate those URLs is still a to-do, though. Actually, it's a bit harder since we made this the responsibility of the embedder. But I have an idea for how to do it. Mitch |