Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

State Explanation #125

Open
sa501428 opened this issue Jun 7, 2017 · 2 comments
Open

State Explanation #125

sa501428 opened this issue Jun 7, 2017 · 2 comments
Assignees
Labels

Comments

@sa501428
Copy link

sa501428 commented Jun 7, 2017

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
Copy link
Contributor

jrobinso commented Jun 7, 2017 via email

@jrobinso jrobinso self-assigned this Nov 27, 2017
@jrobinso
Copy link
Contributor

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"
    
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants