-
Notifications
You must be signed in to change notification settings - Fork 44
Home
Jim Robinson edited this page Sep 4, 2018
·
5 revisions
{
genomes: string or array,
igvConfig: object
clientId: string
urlShortener: function or object
}
Array of igv reference objects, or URL to a json file containing such an array.
Examples:
genomes: "https://s3.amazonaws.com/igv.org.genomes/genomes.json"
genomes: [
{
id: "hg38",
name: "Human (GRCh38/hg38)",
fastaURL: "https://s3.amazonaws.com/igv.broadinstitute.org/genomes/seq/hg38/hg38.fa",
indexURL: "https://s3.amazonaws.com/igv.broadinstitute.org/genomes/seq/hg38/hg38.fa.fai",
cytobandURL: "https://s3.amazonaws.com/igv.org.genomes/hg38/annotations/cytoBandIdeo.txt.gz",
tracks: [
{
name: "Refseq Genes",
format: "refgene",
url: "https://s3.amazonaws.com/igv.org.genomes/hg38/refGene.sorted.txt.gz",
indexURL: "https://s3.amazonaws.com/igv.org.genomes/hg38/refGene.sorted.txt.gz.tbi",
visibilityWindow: -1,
order: 1000000
}
]
}
]
an igv.js configuration object (see https://github.com/igvteam/igv.js/wiki/Browser-Configuration-2.0)
Example:
igvConfig: {
queryParametersSupported: true,
showChromosomeWidget: true,
genome: "hg38",
apiKey: "YOUR GOOGLE API KEY"
}
Optional. A Google client_id. If present a Google file picker will be added to the genomes and tracks menus.
Function taking 1 argument, a URL. Returns a shortened URL used by the "Share" features (email, twitter).
Optional.