Genomic-Interactive-Visualization-Engine icon indicating copy to clipboard operation
Genomic-Interactive-Visualization-Engine copied to clipboard

Opening GIVE at a specific position via a link

Open ifantasy opened this issue 6 years ago • 2 comments

Hi! I want to create a link to direct users to a specific position in GIVE. I was wondering if GIVE has such a function. I know one method like constructing a URL and share it to others.

ifantasy avatar Oct 30 '18 02:10 ifantasy

If you use GIVE HUG to create your HTML code, you may use the "Default coordinates" field to specify the genomic position. You may look up gene name if the reference supports.

If you create the HTML code from scratch, you may use attribute coordinates='["chrX:XXXXX-XXXXX"]' (Single window) or coordinates='["chrX:XXXXX-XXXXX", "chrY:YYYYY-YYYYY"]' (Dual window). Please note the use of quotation marks (we recommend using single quotes outside and double quotes inside).

caoxiaoyi03 avatar Oct 30 '18 03:10 caoxiaoyi03

This function has been added in commit https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/commit/ffe886b47b78206388549306132e8f4ffdf8826f. Will work on documentation in the next major update.

caoxiaoyi03 avatar Apr 15 '19 08:04 caoxiaoyi03