Skip to content

Instantly share code, notes, and snippets.

@rbuels
Created February 13, 2012 21:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rbuels/1820831 to your computer and use it in GitHub Desktop.
Save rbuels/1820831 to your computer and use it in GitHub Desktop.
differences in track info files
trackInfo =
[
{
"url" : "seq/{refseq}/",
"args" : {
"chunkSize" : 20000
},
"label" : "DNA",
"type" : "SequenceTrack",
"key" : "DNA"
},
{
"url" : "tracks/{refseq}/knownGene/trackData.json",
"type" : "FeatureTrack",
"label" : "knownGene",
"key" : "UCSC Genes"
}
]
{
"tracks" : [
{
"label" : "DNA",
"type" : "SequenceTrack",
"config" : {
"chunkSize" : 20000,
"urlTemplate" : "seq/{refseq}/"
},
"key" : "DNA"
},
{
"config" : {
"urlTemplate" : "tracks/knownGene/{refseq}/trackData.json",
"style" : {
"className" : "generic_parent",
"subfeatureClasses" : {
"CDS" : "transcript-CDS",
"UTR" : "transcript-UTR"
},
"arrowheadClass" : "transcript-arrowhead",
"featureCss" : "background-color: #0c0c78; height: 8px;",
"histCss" : "background-color: #0c0c78;"
},
"compress" : 0,
},
"type" : "FeatureTrack",
"label" : "knownGene",
"key" : "knownGene"
}
],
"formatVersion" : 1
}
trackInfo =
[
{
"url" : "seq/{refseq}/",
"args" : {
"chunkSize" : 20000
},
"label" : "DNA",
"type" : "SequenceTrack",
"key" : "DNA"
},
{
"url" : "tracks/{refseq}/knownGene/trackData.json",
"type" : "FeatureTrack",
"label" : "knownGene",
"key" : "UCSC Genes"
}
]
{
"tracks" : [
{
"label" : "DNA",
"type" : "SequenceTrack",
"config" : {
"chunkSize" : 20000,
"urlTemplate" : "seq/{refseq}/"
},
"key" : "DNA"
},
{
"config" : {
"urlTemplate" : "tracks/knownGene/{refseq}/trackData.json",
"style" : {
"className" : "generic_parent",
"subfeatureClasses" : {
"CDS" : "transcript-CDS",
"UTR" : "transcript-UTR"
},
"arrowheadClass" : "transcript-arrowhead",
"featureCss" : "background-color: #0c0c78; height: 8px;",
"histCss" : "background-color: #0c0c78;"
},
"compress" : 0,
},
"type" : "FeatureTrack",
"label" : "knownGene",
"key" : "knownGene"
}
],
"formatVersion" : 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment