Difference between revisions of "Genome Browser json"

From BioUML platform
Jump to: navigation, search
(Created page with "The BioUML Genome Browser iframe and be adjusted with settings in json format. Here is the json with comments, describing all fields available for setup. { //Path to gen...")
 
 
(11 intermediate revisions by one user not shown)
Line 1: Line 1:
The BioUML [[Genome Browser iframe]] and be adjusted with settings in json format.
+
The BioUML [[Genome Browser iframe]] can be adjusted with settings in json format.
 +
<br>
 +
All fields available for setup are described by comments below. Note, that to use this json obect as an example, all comments should be romoved.<br>
  
Here is the json with comments, describing all fields available for setup.
+
{<br>
{
+
&nbsp;&nbsp;<span style="color:#4a736f">//Path to genome in BioUML server repository</span><br>
//Path to genome in BioUML server repository
+
&nbsp;&nbsp;"sequencePath":"databases/EnsemblHuman100/Sequences/chromosomes GRCh38",<br>
"sequencePath":"databases/EnsemblHuman100/Sequences/chromosomes GRCh38",
+
&nbsp;&nbsp;<span style="color:#4a736f">//[optional] Track with chromosome to be displayed on top, set "" to hide this track</span><br>
//[optional] Track with chromosome to be displayed on top, set "" to hide this track
+
&nbsp;&nbsp;"chromosomeTrack": "databases/EnsemblHuman100/Tracks/Karyotype",<br>
"chromosomeTrack": "databases/EnsemblHuman100/Tracks/Karyotype",
+
&nbsp;&nbsp;<span style="color:#4a736f">//[optional] Chromosome to be opened first</span><br>
//[optional] Chromosome to be opened first
+
&nbsp;&nbsp;"chromosome":"1",<br>
"chromosome":"1",
+
&nbsp;&nbsp;<span style="color:#4a736f">//[optional] Start position</span><br>
//[optional] Start position
+
&nbsp;&nbsp;"from":1234,<br>
"from":1234,
+
&nbsp;&nbsp;<span style="color:#4a736f">//[optional] End position</span><br>
//[optional] End position
+
&nbsp;&nbsp;"to": 5678,<br>
"to": 5678,
+
&nbsp;&nbsp;<span style="color:#4a736f">// Tracks available for display,</span><br>
// Tracks available for display,  
+
&nbsp;&nbsp;<span style="color:#4a736f">// Each track is set as "Label":"Path to track in BioUML server repository"</span><br>
// Each track is set as "Label":"Path to track in BioUML server repository"
+
&nbsp;&nbsp;<span style="color:#4a736f">// BigBed tracks can be shown by http/https links</span><br>
// BigBed tracks can be shown by http/https links
+
&nbsp;&nbsp;"tracks":{<br>
"tracks":{
+
&nbsp;&nbsp;&nbsp;&nbsp;"GC content":"databases/EnsemblHuman100/Tracks/GC content",<br>
"GC content":"databases/EnsemblHuman100/Tracks/GC content",
+
&nbsp;&nbsp;&nbsp;&nbsp;"Genes":"databases/EnsemblHuman100/Tracks/Genes",<br>
"Genes":"databases/EnsemblHuman100/Tracks/Genes",
+
&nbsp;&nbsp;&nbsp;&nbsp;"Extended genes":"databases/EnsemblHuman100/Tracks/ExtendedGeneTrack",<br>
"Extended genes":"databases/EnsemblHuman100/Tracks/ExtendedGeneTrack",
+
&nbsp;&nbsp;&nbsp;&nbsp;"Transcripts":"databases/EnsemblHuman100/Tracks/Transcripts"<br>
"Transcripts":"databases/EnsemblHuman100/Tracks/Transcripts"
+
&nbsp;&nbsp;},<br>
},
+
&nbsp;&nbsp;<span style="color:#4a736f">//Some specific track properties, set {} if no specific properties required</span><br>
//Some specific track properties, set {} if no specific properties required
+
&nbsp;&nbsp;"trackProperties":{<br>
"trackProperties":{
+
&nbsp;&nbsp;&nbsp;&nbsp;"BBTrack_1":{"chr_name_mapping":"hg38_ucsc_to_ensembl"}<br>
"BBTrack_1":{"chr_name_mapping":"hg38_ucsc_to_ensembl"}
+
&nbsp;&nbsp;},<br>
},
+
&nbsp;&nbsp;<span style="color:#4a736f">//[optional] Tracks visible when browser is opened, by labels in 'tracks' field</span><br>
//[optional] Tracks visible when browser is opened, by labels in 'tracks' field
+
&nbsp;&nbsp;<span style="color:#4a736f">//if not set, first two tracks will be shown</span><br>
//if not set, first two tracks will be shown
+
&nbsp;&nbsp;"initialTracks": ["Genes", "Transcripts"]<br>
"initialTracks": ["Genes", "Transcripts"]
+
 
}
 
}

Latest revision as of 09:05, 4 February 2022

The BioUML Genome Browser iframe can be adjusted with settings in json format.
All fields available for setup are described by comments below. Note, that to use this json obect as an example, all comments should be romoved.

{
  //Path to genome in BioUML server repository
  "sequencePath":"databases/EnsemblHuman100/Sequences/chromosomes GRCh38",
  //[optional] Track with chromosome to be displayed on top, set "" to hide this track
  "chromosomeTrack": "databases/EnsemblHuman100/Tracks/Karyotype",
  //[optional] Chromosome to be opened first
  "chromosome":"1",
  //[optional] Start position
  "from":1234,
  //[optional] End position
  "to": 5678,
  // Tracks available for display,
  // Each track is set as "Label":"Path to track in BioUML server repository"
  // BigBed tracks can be shown by http/https links
  "tracks":{
    "GC content":"databases/EnsemblHuman100/Tracks/GC content",
    "Genes":"databases/EnsemblHuman100/Tracks/Genes",
    "Extended genes":"databases/EnsemblHuman100/Tracks/ExtendedGeneTrack",
    "Transcripts":"databases/EnsemblHuman100/Tracks/Transcripts"
  },
  //Some specific track properties, set {} if no specific properties required
  "trackProperties":{
    "BBTrack_1":{"chr_name_mapping":"hg38_ucsc_to_ensembl"}
  },
  //[optional] Tracks visible when browser is opened, by labels in 'tracks' field
  //if not set, first two tracks will be shown
  "initialTracks": ["Genes", "Transcripts"]
}

Personal tools
Namespaces

Variants
Actions
BioUML platform
Community
Modelling
Analysis & Workflows
Collaborative research
Development
Virtual biology
Wiki
Toolbox