UNPKG

@gmod/jbrowse

Version:

JBrowse - client-side genome browser

27 lines (26 loc) 1.29 kB
{ "formatVersion" : 1, "tracks" : [ { "compress" : 1, "hooks" : { "modify" : "function(track, feat, elem) {\n var fType = feat.get(\"Type\");\n if (fType) {\n elem.className = \"basic\";\n switch (fType) {\n case \"CDS\":\n case \"thick\":\n elem.style.height = \"10px\";\n elem.style.marginTop = \"-3px\";\n break;\n case \"UTR\":\n case \"thin\":\n elem.style.height = \"6px\";\n elem.style.marginTop = \"-1px\";\n break;\n }\n elem.style.backgroundColor = \"#0c0c78\";\n }\n}\n" }, "key" : "knownGene", "label" : "knownGene", "storeClass" : "JBrowse/Store/SeqFeature/NCList", "style" : { "arrowheadClass" : "transcript-arrowhead", "className" : "generic_parent", "featureCss" : "background-color: #0c0c78; height: 6px;", "histCss" : "background-color: #0c0c78;", "subfeatureClasses" : { "CDS" : "transcript-CDS", "UTR" : "transcript-UTR" } }, "type" : "FeatureTrack", "urlTemplate" : "tracks/knownGene/{refseq}/trackData.jsonz" } ] }