State Explanation
Opened this issue · 2 comments
sa501428 commented
Is there a sample for how state should be encoded in js?
e.g. this does not seem to work:
browser.loadHicFile({
url: "https://hicfiles.s3.amazonaws.com/hiseq/rpe1/DarrowHuntley-2015/del-Xa-combined.hic", // url string or File object
name: "HIC001", // display name for the map. Optional, defaults to url
state: "2,2,2,5,5,3,KR"
});
jrobinso commented
That's not supported. I'll treat this as a request to support it. The
only parameters supported are url and name, see
https://github.com/igvteam/juicebox.js/wiki/Getting-Started
…On Wed, Jun 7, 2017 at 1:24 PM, Muhammad Saad Shamim < ***@***.***> wrote:
Is there a sample for how state should be encoded in js?
e.g. this does not seem to work:
browser.loadHicFile({
url: "https://hicfiles.s3.amazonaws.com/hiseq/rpe1/
DarrowHuntley-2015/del-Xa-combined.hic", // url string or File object
name: "HIC001", // display name for the map. Optional, defaults to url
state: "2,2,2,5,5,3,KR"
});
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#125>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA49HAKZqmv_19sIzIvaUxn31XbGh1vjks5sBwcWgaJpZM4NzO_5>
.
jrobinso commented
In the upcoming release (1.5) you will be able to do this. You can also export these objects, this one was actually exported not made by hand.
{
"url": "http://adam.3dg.io/suhas_juicebox/libs/GM12878_ultra/GM12878_ultra_42B_1k.hic",
"name": "GM12878_ultra_42B_1k.hic",
"state": "4,4,5,1211.8375403776047,1187.7888464388025,1.1887980764627957,VC_SQRT",
"colorScale": "1354.50735154054,255,0,0",
"nvi": "73375209496,20754"
}