Skip to content

Latest commit

 

History

History
66 lines (57 loc) · 1.53 KB

File metadata and controls

66 lines (57 loc) · 1.53 KB
title
Arc

Description

These code block examples can be used to generate an allelic-imblance figure as seen in VisCom.

Use: View pair-wise chromatin interactions at a locus ProteinPaint Google Docs

URL Key Example

Be sure to update lines 8, 9, 14 and 15

runproteinpaint({
    host: "https://proteinpaint.stjude.org",
    holder: document.getElementById('a'),
    parseurl: true,
    block: true,
    nobox: 1,
    noheader: 1,
    genome: "hg19",
    position: "chr11:7839893-9165172",
    nativetracks: "RefGene",
    tracks: [
        {
            type: "hicstraw",
            url: "enter link here",
            name: "name of track",
            percentile_max: 99,
            mode_arc: true,
            mode_hm: false
        }
    ]
})

File Key Example

Be sure to update lines 8, 9, 14 and 15

runproteinpaint({
    host: "https://proteinpaint.stjude.org",
    holder: document.getElementById('a'),
    parseurl: true,
    block: true,
    nobox: 1,
    noheader: 1,
    genome: "hg19",
    position: "chr11:7839893-9165172",
    nativetracks: "RefGene",
    tracks: [
        {
            type: "hicstraw",
            bedfile: "name/path_to_file.hic",
            name: "name of track",
            percentile_max: 99,
            mode_arc: true,
            mode_hm: false
        }
    ]
})