Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
fec01bf0
Commit
fec01bf0
authored
15 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
update with new keywords etc.
parent
f2702e1d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
web/user_doc/styles.shtml
+48
-21
48 additions, 21 deletions
web/user_doc/styles.shtml
with
48 additions
and
21 deletions
web/user_doc/styles.shtml
+
48
−
21
View file @
fec01bf0
...
@@ -13,7 +13,7 @@ pre{ width: 95%; background-color: #DDDDDD; border-style: solid; border-width: 1
...
@@ -13,7 +13,7 @@ pre{ width: 95%; background-color: #DDDDDD; border-style: solid; border-width: 1
<fieldset>
<fieldset>
<legend>Preface</legend>
<legend>Preface</legend>
<p>Configuration examples for Styles and other components of ZMap
will b
e given in
<p>Configuration examples for Styles and other components of ZMap
ar
e given in
GLib keyword value file format, if you are unfamiliar with this then read the
GLib keyword value file format, if you are unfamiliar with this then read the
<a href="#keyword_value_format">Keyword Value Format</a> section.</p>
<a href="#keyword_value_format">Keyword Value Format</a> section.</p>
...
@@ -65,8 +65,8 @@ Control the appearance and processing of features within ZMap.
...
@@ -65,8 +65,8 @@ Control the appearance and processing of features within ZMap.
They control aspects such as colour, width, style of feature display but also how
They control aspects such as colour, width, style of feature display but also how
those features are processed during user interaction, e.g. by clicking on them to
those features are processed during user interaction, e.g. by clicking on them to
display details or perhaps dumping them to files. These properties are specified
display details or perhaps dumping them to files. These properties are specified
can be specificed
in keyword value format in configuration files. The following example defines
in keyword value format in configuration files. The following example defines
a Style called "Allele" with a column width of 2 and colour red with a black border:</p>
a Style called "Allele" with a column width of 2 and colour
ed
red with a black border:</p>
<pre class="example">
<pre class="example">
...
@@ -115,8 +115,8 @@ the properties themselves.
...
@@ -115,8 +115,8 @@ the properties themselves.
much more than required by ZMap.</td>
much more than required by ZMap.</td>
</tr>
</tr>
<tr>
<tr>
<td>
special types
</td>
<td>
one-of
</td>
<td>
one of
</td>
<td>
< value | value | value >
</td>
<td>Several properties can take only one of several values, these are explained
<td>Several properties can take only one of several values, these are explained
in the property table that follows.
in the property table that follows.
</tr>
</tr>
...
@@ -143,7 +143,7 @@ the properties themselves.
...
@@ -143,7 +143,7 @@ the properties themselves.
<fieldset>
<fieldset>
<legend>Style Properties</legend>
<legend>Style Properties</legend>
<p>The following table gives a definitive list of Styles properties
with examples in keyword-value format
:
<p>The following table gives a definitive list of Styles properties:
</p>
</p>
<table class="zebra" id="properties" border="2" cellpadding="10">
<table class="zebra" id="properties" border="2" cellpadding="10">
...
@@ -157,7 +157,7 @@ the properties themselves.
...
@@ -157,7 +157,7 @@ the properties themselves.
</thead>
</thead>
<tbody>
<tbody>
<tr>
<tr>
<td>parent
-style
</td>
<td>parent</td>
<td>string</td>
<td>string</td>
<td>Name of a style from which to inherit properties.</td>
<td>Name of a style from which to inherit properties.</td>
</tr>
</tr>
...
@@ -392,6 +392,22 @@ the properties themselves.
...
@@ -392,6 +392,22 @@ the properties themselves.
<td>int</td>
<td>int</td>
<td>Specifies allowable alignment error in bases between separate alignments.</td>
<td>Specifies allowable alignment error in bases between separate alignments.</td>
</tr>
</tr>
<tr>
<td>alignment-allow-misalign</td>
<td>boolean</td>
<td>If true then match and reference do not have to be exactly the same length, reference
coords will be used for display.</td>
</tr>
<tr>
<td>alignment-blixem</td>
<td>< blixem-n | blixem-x ></td>
<td>If specified then the sequences of the features will be passed to blixem for:
<ul>
<li><b>blixem-n:</b> nucleotide alignment.
<li><b>blixem-x:</b> peptide alignment.
</ul>
</td>
</tr>
<tr>
<tr>
<td>alignment-pfetchable</td>
<td>alignment-pfetchable</td>
<td>boolean</td>
<td>boolean</td>
...
@@ -456,7 +472,7 @@ parent-style = < name of parent style >
...
@@ -456,7 +472,7 @@ parent-style = < name of parent style >
</pre>
</pre>
<p>Here's an example in
ac
e format showing a base parent for all box like features, a subparent
<p>Here's an example in
keyword-valu
e format showing a base parent for all box like features, a subparent
for all BLASTN data sets and then some styles for different BLASTN columns:
for all BLASTN data sets and then some styles for different BLASTN columns:
</p>
</p>
...
@@ -491,7 +507,7 @@ gff-source = blastn_est_elegans
...
@@ -491,7 +507,7 @@ gff-source = blastn_est_elegans
[blastn_tc1]
[blastn_tc1]
remark
= this method was used to map flanking sequences of tc1 insertions etc etc
description
= this method was used to map flanking sequences of tc1 insertions etc etc
style-parent = blastn_parent
style-parent = blastn_parent
gff-source = blastn_tc1
gff-source = blastn_tc1
</pre>
</pre>
...
@@ -647,7 +663,7 @@ overlap_mode_default = XXXXXX sets the mode that the column will be bumped wi
...
@@ -647,7 +663,7 @@ overlap_mode_default = XXXXXX sets the mode that the column will be bumped wi
</pre>
</pre>
<p>If you want the column to be initially "unbumped" but bumped with colinear lines etc when
<p>If you want the column to be initially "unbumped" but bumped with colinear lines etc when
it is bumped you just need to set
Bump
_default,
Bum
p_mode will be unbumped by default
:
</p>
it is bumped you just need to set
overlap_mode
_default,
overla
p_mode will be unbumped by default
, e.g.
</p>
<pre class="example">
<pre class="example">
overlap_mode_default = range_colinear
overlap_mode_default = range_colinear
...
@@ -659,7 +675,8 @@ overlap_mode_default = range_colinear
...
@@ -659,7 +675,8 @@ overlap_mode_default = range_colinear
<h4>Alignments</h4>
<h4>Alignments</h4>
<p>All alignments, e.g. EST_human, should be given the mode "Alignment", not "Basic" and also need
<p>All alignments, e.g. EST_human, should be given the mode "Alignment", not "Basic" and also need
the "Internal" and "External" tags setting if internal and external (between HSP) gaps should be
the "Internal" and "External" tags setting if internal and external (between HSP) gaps for all matches
for a given sequence should be
joined up with lines:</p>
joined up with lines:</p>
...
@@ -750,7 +767,8 @@ the predefined styles:
...
@@ -750,7 +767,8 @@ the predefined styles:
<p>The rules for using these predefined styles are:
<p>The rules for using these predefined styles are:
<ul>
<ul>
<li>The features for the predefined style must be fetchable from the database.
<li>The features for the predefined style must be fetchable from the database,
e.g. no "dna" means no dna display.
<li>To display the data for a predefined style the <b>style name</b> must be specified
<li>To display the data for a predefined style the <b>style name</b> must be specified
in the "feature_sets" list in the "source" stanza of the config file. For predefined
in the "feature_sets" list in the "source" stanza of the config file. For predefined
styles the feature set name, method name and style name are all the same.
styles the feature set name, method name and style name are all the same.
...
@@ -799,13 +817,13 @@ to styles.
...
@@ -799,13 +817,13 @@ to styles.
the name of the set <b>is</b> the Method object name.
the name of the set <b>is</b> the Method object name.
<p>The ?Method object name will be the column name for that feature set when displayed unless
<p>The ?Method object name will be the column name for that feature set when displayed unless
the ?Method object contains a Column_parent tag (see below).</p>
the ?Method object contains a Column_parent tag (see below).</p>
<li>A ?Method object can optionally contain a Column_parent tag pointing to a valid
?Method object, the feature set will then be displayed as part of the Column_parent column
along with any other feature sets referencing that Column_parent.
<li><p>Each ?Method object <b>must</b> contain a Style tag pointing to a valid ?ZMap_Style
<li><p>Each ?Method object <b>must</b> contain a Style tag pointing to a valid ?ZMap_Style
object. The style object contains all the display/processing options for that feature set.
object unless it is a Column_parent method object in which case no style should be specified..
The style object contains all the display/processing options for that feature set.
A single style can be referenced from multiple method objects.</p>
A single style can be referenced from multiple method objects.</p>
<li>Each ?Method object can optionally contain a Column_parent tag pointing to a valid
?Method object, the feature set will then be displayed as part of the Column_parent column
along with any other feature sets referencing that Column_parent. Note that the Column_parent
column must also reference a valid ?ZMap_Style.
</ul>
</ul>
<p> Using ?ZMap_style objects means that all feature display is completely controlled by the
<p> Using ?ZMap_style objects means that all feature display is completely controlled by the
...
@@ -837,7 +855,9 @@ be copied and pasted direct into a models.wrm file.
...
@@ -837,7 +855,9 @@ be copied and pasted direct into a models.wrm file.
//
//
// The new classes all begin with "ZMap_" to separate them from any likely existing
// The new classes all begin with "ZMap_" to separate them from any likely existing
// classes. Acedb tags have scope within classes so we can call our tags what we want.
// classes. Acedb tags have scope within classes so we can call our tags what we want.
// All classes have a "Remark" field to allow documentation.
//
// All classes have a "Remark" field to allow database documentation, this tag is not used by
// ZMap, ZMap uses the "Description" tag in the ?Zmap_style class.
//
//
...
@@ -897,11 +917,16 @@ be copied and pasted direct into a models.wrm file.
...
@@ -897,11 +917,16 @@ be copied and pasted direct into a models.wrm file.
// Internal triggers drawing of separate internal blocks/gaps,
// Internal triggers drawing of separate internal blocks/gaps,
// External triggers joining of individual alignments.
// External triggers joining of individual alignments.
// Int gives allowed align errors for a "perfect" match, 0 is default.
// Int gives allowed align errors for a "perfect" match, 0 is default.
Allow_misalign // Homol reference/match coords do not have to align exactly, ref coords override.
// Colours for bars joining up intra and inter alignment gaps.
// Colours for bars joining up intra and inter alignment gaps.
Match_colours Perfect UNIQUE #ZMap_feature_colour
Match_colours Perfect UNIQUE #ZMap_feature_colour
Colinear UNIQUE #ZMap_feature_colour
Colinear UNIQUE #ZMap_feature_colour
Non_colinear UNIQUE #ZMap_feature_colour
Non_colinear UNIQUE #ZMap_feature_colour
Pfetchable // If present it means these alignments have pfetch entries.
Pfetchable // If present it means these alignments have pfetch entries.
Blixem UNIQUE Blixem_N // Allow blixem to be run on dna sequences for features in this set.
Blixem_X // Allow blixem to be run on peptide sequences for features in this set.
// Specifies properties unique to a sequence feature.
// Specifies properties unique to a sequence feature.
//
//
...
@@ -956,6 +981,8 @@ be copied and pasted direct into a models.wrm file.
...
@@ -956,6 +981,8 @@ be copied and pasted direct into a models.wrm file.
//
//
?ZMap_Style Remark Text
?ZMap_Style Remark Text
// Text displayed in zmap to describe features.
Description UNIQUE Text
//
//
// Parent points to a parent style from which attributes can be inherited,
// Parent points to a parent style from which attributes can be inherited,
// there can be an arbitrary depth of parents/children but they must form
// there can be an arbitrary depth of parents/children but they must form
...
@@ -1122,7 +1149,7 @@ when using ?ZMap_style objects it's usage changes. ZMap only uses the tags outli
...
@@ -1122,7 +1149,7 @@ when using ?ZMap_style objects it's usage changes. ZMap only uses the tags outli
//
//
Feature_set Style UNIQUE ?ZMap_style
Feature_set Style UNIQUE ?ZMap_style
Group UNIQUE Column_child ?Method XREF Column_parent
Group UNIQUE Column_child ?Method XREF Column_parent
Column_parent UNIQUE ?Method XREF Column_child
Float
Column_parent UNIQUE ?Method XREF Column_child
//
//
// All other method tags are as before and will be ignored by ZMap.
// All other method tags are as before and will be ignored by ZMap.
//
//
...
@@ -1177,7 +1204,7 @@ The entry in the "featuresets" stanza in the ZMap config file would be:
...
@@ -1177,7 +1204,7 @@ The entry in the "featuresets" stanza in the ZMap config file would be:
<pre class="example">
<pre class="example">
[source]
[source]
featuresets =
"\"
Eds_alignments
\" \"
Parent column
\""
featuresets = Eds_alignments
;
Parent column
</pre>
</pre>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment