Difference between revisions of "Configuration options"

From GenomeView Manual
Jump to navigation Jump to search
(Created page with "http://genomeview.org/content/configuration")
 
Line 1: Line 1:
http://genomeview.org/content/configuration
+
These pages discuss how to configure a number of things using the configuration file.
 +
 
 +
There are three places from where GenomeView tries to load configuration information. It will look in the specified order.
 +
<ol>
 +
<li>Configuration supplied on the command line with the --config option</li>
 +
<li>Personal config file. This can be changed through the menu File -> Configuration.</li>
 +
<li>Default configuration present within the release package</li>
 +
</ol>
 +
 
 +
The default configuration file is <a href="http://sourceforge.net/p/genomeview/code/HEAD/tree/genomeview/trunk/resources/conf/default.conf">available from the code repository</a>. This file is somewhat documented and can provide you some clues as which configuration options are available.
 +
 
 +
<a name="trackorder"></a>
 +
<h2>Configuring track order</h2>
 +
To configure the order of tracks you can use the <code>track:weight:XXX</code> configuration option. This will give a weight to each track and heavier tracks will be placed lower on the screen.
 +
 
 +
For annotation features you have give the type as XXX. You cannot use the file name method below. For example:
 +
<code>
 +
track:weight:gene=1
 +
track:weight:mRNA=2
 +
track:weight:CDS=3
 +
</code>
 +
 
 +
 
 +
For any other data type, you have to specify the file file name or URL where the data resides. You cannot use the method described above.
 +
 
 +
Some examples for remote files:
 +
<code>
 +
track:weight:http://www.broadinstitute.org/software/genomeview/demo/idea_challenge/Directional_RNAseq/MCF7_dir100.bam=100
 +
track:weight:http://www.broadinstitute.org/software/genomeview/demo/idea_challenge/Directional_RNAseq/MCF10_dir75.bam=200
 +
</code>
 +
 
 +
This will also work with local files:
 +
<code>
 +
track:weight:W:\thomas\rnaseq.bam=400
 +
track:weight:W:\thomas\chipseq.bam=500
 +
</code>
 +
<a name="trackvisibility"></a>
 +
 
 +
Deciding which method to use depends on the type of data: annotation are by type, other data is by file name.
 +
 
 +
<h2>Configuring track visibility</h2>
 +
To configure the initial visibility of tracks you can use the <code>track:visible:XXX</code> configuration option. This will tell GenomeView whether the track is initially visible or hidden
 +
 
 +
For annotation features you give the type as XXX. For example:
 +
<code>
 +
track:visible:gene=true
 +
track:visible:mRNA=false
 +
track:visible:CDS=true
 +
</code>
 +
 
 +
For any other data type, you have to specify the file file name or URL where the data resides.
 +
 
 +
Some examples:
 +
<code>
 +
track:visible:http://www.broadinstitute.org/software/genomeview/demo/idea_challenge/Directional_RNAseq/MCF7_dir100.bam=true
 +
track:visible:http://www.broadinstitute.org/software/genomeview/demo/idea_challenge/Directional_RNAseq/MCF10_dir75.bam=false
 +
</code>
 +
<a name="trackalias"></a>
 +
<h2>Configuring track aliases</h2>
 +
To change the name that appears next to each track to something that is more informative than the fully qualified path name, you can use the <code>track:alias:XXX=ALIAS</code> configuration option. This will tell GenomeView which name it should display
 +
 
 +
For annotation features you give the type as XXX. For example:
 +
<code>
 +
track:alias:gene=All the genes
 +
track:alias:mRNA=MRNA track
 +
track:alias:CDS=Coding sequence features
 +
</code>
 +
 
 +
For any other data type, you have to specify the file file name or URL where the data resides.
 +
 
 +
Some examples:
 +
<code>
 +
track:alias:http://www.broadinstitute.org/software/genomeview/demo/idea_challenge/Directional_RNAseq/MCF7_dir100.bam=Directional RNA-seq MCF 7
 +
track:alias:http://www.broadinstitute.org/software/genomeview/demo/idea_challenge/Directional_RNAseq/MCF10_dir75.bam=Shorter (75) directional RNA-seq for MCF 10
 +
</code>

Revision as of 23:38, 15 November 2013

These pages discuss how to configure a number of things using the configuration file.

There are three places from where GenomeView tries to load configuration information. It will look in the specified order.

  1. Configuration supplied on the command line with the --config option
  2. Personal config file. This can be changed through the menu File -> Configuration.
  3. Default configuration present within the release package

The default configuration file is <a href="http://sourceforge.net/p/genomeview/code/HEAD/tree/genomeview/trunk/resources/conf/default.conf">available from the code repository</a>. This file is somewhat documented and can provide you some clues as which configuration options are available.

<a name="trackorder"></a>

Configuring track order

To configure the order of tracks you can use the track:weight:XXX configuration option. This will give a weight to each track and heavier tracks will be placed lower on the screen.

For annotation features you have give the type as XXX. You cannot use the file name method below. For example: track:weight:gene=1 track:weight:mRNA=2 track:weight:CDS=3


For any other data type, you have to specify the file file name or URL where the data resides. You cannot use the method described above.

Some examples for remote files: track:weight:http://www.broadinstitute.org/software/genomeview/demo/idea_challenge/Directional_RNAseq/MCF7_dir100.bam=100 track:weight:http://www.broadinstitute.org/software/genomeview/demo/idea_challenge/Directional_RNAseq/MCF10_dir75.bam=200

This will also work with local files: track:weight:W:\thomas\rnaseq.bam=400 track:weight:W:\thomas\chipseq.bam=500 <a name="trackvisibility"></a>

Deciding which method to use depends on the type of data: annotation are by type, other data is by file name.

Configuring track visibility

To configure the initial visibility of tracks you can use the track:visible:XXX configuration option. This will tell GenomeView whether the track is initially visible or hidden

For annotation features you give the type as XXX. For example: track:visible:gene=true track:visible:mRNA=false track:visible:CDS=true

For any other data type, you have to specify the file file name or URL where the data resides.

Some examples: track:visible:http://www.broadinstitute.org/software/genomeview/demo/idea_challenge/Directional_RNAseq/MCF7_dir100.bam=true track:visible:http://www.broadinstitute.org/software/genomeview/demo/idea_challenge/Directional_RNAseq/MCF10_dir75.bam=false <a name="trackalias"></a>

Configuring track aliases

To change the name that appears next to each track to something that is more informative than the fully qualified path name, you can use the track:alias:XXX=ALIAS configuration option. This will tell GenomeView which name it should display

For annotation features you give the type as XXX. For example: track:alias:gene=All the genes track:alias:mRNA=MRNA track track:alias:CDS=Coding sequence features

For any other data type, you have to specify the file file name or URL where the data resides.

Some examples: track:alias:http://www.broadinstitute.org/software/genomeview/demo/idea_challenge/Directional_RNAseq/MCF7_dir100.bam=Directional RNA-seq MCF 7 track:alias:http://www.broadinstitute.org/software/genomeview/demo/idea_challenge/Directional_RNAseq/MCF10_dir75.bam=Shorter (75) directional RNA-seq for MCF 10