From: Colin <col...@gm...> - 2020-11-27 18:39:52
|
This documentation page could help https://jbrowse.org/docs/mouse_configs.html#customizing-left-click-behavior-1 Could also use "onClick" : { "label": "search at NCBI", "action": "newWindow", "url": "http://www.ncbi.nlm.nih.gov/gquery/?term={name}" } Which should open it up in a new window -Colin On Fri, Nov 27, 2020 at 12:01 AM Michał T. Lorenc <m.t...@gm...> wrote: > Hi, > How Is it possible to allow the user a left-click on a gene which will > trigger to open for example this URL *https://www.ncbi.nlm.nih.gov/protein/ > <https://www.ncbi.nlm.nih.gov/protein/>XP_019258550.1/*? If not what > other alternatives exist? > > > The data is stored in this GFF3: > > > > > > > > > > > > > > > *##gff-version 3##sequence-region chr01_pilon_pilon 1 > 141847987chr01_pilon_pilon transdecoder gene 410672 411597 . > + . ID=gene.5.0;chr01_pilon_pilon transdecoder > mRNA 410672 411597 . + . > ID=gene.5.0.0.p1;Name=XP_019258550.1;Note=uncharacterized protein > LOC109236786 isoform X2;Parent=gene.5.0chr01_pilon_pilon transdecoder > exon 410672 410798 . + . > ID=gene.5.0.0.p1.exon1;Parent=gene.5.0.0.p1chr01_pilon_pilon > transdecoder exon 410939 411205 . + . > ID=gene.5.0.0.p1.exon2;Parent=gene.5.0.0.p1chr01_pilon_pilon > transdecoder exon 411326 411597 . + . > ID=gene.5.0.0.p1.exon3;Parent=gene.5.0.0.p1chr01_pilon_pilon > transdecoder CDS 411087 411205 . + 0 > ID=cds.gene.5.0.0.p1;Parent=gene.5.0.0.p1chr01_pilon_pilon > transdecoder CDS 411326 411596 . + 1 > ID=cds.gene.5.0.0.p1;Parent=gene.5.0.0.p1chr01_pilon_pilon > transdecoder five_prime_UTR 410672 410798 . + . > ID=gene.5.0.0.p1.utr5p1;Parent=gene.5.0.0.p1chr01_pilon_pilon > transdecoder five_prime_UTR 410939 411086 . + . > ID=gene.5.0.0.p1.utr5p2;Parent=gene.5.0.0.p1chr01_pilon_pilon > transdecoder three_prime_UTR 411597 411597 . + . > ID=nbis_NEW-three_prime_utr-1647;Parent=gene.5.0.0.p1chr01_pilon_pilon > AUGUSTUS gene 548726 549814 0.05 - . > ID=chr01.g50chr01_pilon_pilon AUGUSTUS mRNA 548726 549814 > 0.05 - . ID=chr01.g50.t1;Name=*XP_009763891.1;*Note=probable > peroxygenase 4%2C partial;Parent=chr01.g50* > > > > > > > > > > > > > > > *chr01_pilon_pilon AUGUSTUS TSS 549814 549814 . - > . ID=tss-50;Parent=chr01.g50.t1chr01_pilon_pilon AUGUSTUS > exon 548726 549025 0.75 - . > ID=nbis_NEW-exon-508444;Parent=chr01.g50.t1chr01_pilon_pilon AUGUSTUS > exon 549117 549231 0.75 - . > ID=nbis_NEW-exon-508445;Parent=chr01.g50.t1chr01_pilon_pilon AUGUSTUS > exon 549446 549814 0.75 - . > ID=nbis_NEW-exon-508446;Parent=chr01.g50.t1chr01_pilon_pilon AUGUSTUS > CDS 548872 549025 0.75 - 1 > ID=chr01.g50.t1.cds;Parent=chr01.g50.t1chr01_pilon_pilon AUGUSTUS > CDS 549117 549231 0.87 - 2 > ID=IDmodified-cds-835457;Parent=chr01.g50.t1chr01_pilon_pilon > AUGUSTUS CDS 549446 549491 0.87 - 0 > ID=IDmodified-cds-835458;Parent=chr01.g50.t1chr01_pilon_pilon > AUGUSTUS five_prime_utr 549492 549814 0.37 - . > ID=five_prime_utr-58;Parent=chr01.g50.t1chr01_pilon_pilon AUGUSTUS > intron 549026 549116 0.88 - . > ID=intron-212;Parent=chr01.g50.t1chr01_pilon_pilon AUGUSTUS > intron 549232 549445 0.87 - . > ID=intron-213;Parent=chr01.g50.t1chr01_pilon_pilon AUGUSTUS > start_codon 549489 549491 . - 0 > ID=start_codon-50;Parent=chr01.g50.t1chr01_pilon_pilon AUGUSTUS > stop_codon 548872 548874 . - 0 > ID=stop_codon-50;Parent=chr01.g50.t1chr01_pilon_pilon AUGUSTUS > three_prime_utr 548726 548871 0.17 - . > ID=three_prime_utr-52;Parent=chr01.g50.t1chr01_pilon_pilon AUGUSTUS > transcription_end_site 548726 548726 . - . > ID=transcription_end_site-50;Parent=chr01.g50.t1* > ... > > Thank you in advance, > > Mic > _______________________________________________ > Gmod-ajax mailing list > Gmo...@li... > https://lists.sourceforge.net/lists/listinfo/gmod-ajax > |