annotate gff_feature_colours.xml @ 0:f562c252b285 draft

planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
author portiahollyoak
date Thu, 26 May 2016 10:48:35 -0400
parents
children 4f0fb855276c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
1 <tool id="gff_feature_colours" name="Add Feature Colours to GFF" version="0.1.0">
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
2 <requirements>
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
3 </requirements>
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
4 <stdio>
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
5 <exit_code range="1:" />
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
6 </stdio>
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
7 <command><![CDATA[
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
8 python "$__tool_directory__"/add_colour.py
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
9 --input $input
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
10 --features
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
11 #for feature in $feat
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
12 "${feature.feature}"
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
13 #end for
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
14 --colours
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
15 #for feature in $feat
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
16 "${feature.feature_colour.value}"
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
17 #end for
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
18 --output $output
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
19 ]]></command>
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
20 <inputs>
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
21 <param name="input" type="data" format="gff,gtf" label="Dataset"/>
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
22 <repeat name="feat" title="Feature to assign a colour">
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
23 <param name="feature" type="select">
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
24 <options from_dataset="input">
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
25 <column name="name" index="2"/>
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
26 <column name="value" index="2"/>
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
27 <filter type="unique_value" ref="input" column="2" />
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
28 </options>
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
29 </param>
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
30 <param name="feature_colour" type="color" label="Feature Colour" value="#ff00ff"/>
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
31 </repeat>
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
32 </inputs>
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
33 <outputs>
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
34 <data format="input" name="output" label="Add feature colours to ${input.element_identifier}" />
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
35 </outputs>
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
36 <help><![CDATA[
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
37 Description
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
38 ------------
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
39
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
40 The Add Feature Colours tool allows the user to assign a colour to unique features found in the 3rd column of a GFF file for visualisation in a genome browser. It works by allowing the user to match unique features to a colour and then it will add the assigned colour of that feature to the 9th column of the feature line. This will then be interpreted by the genome browser, and the feature will appear in its assigned colour.
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
41
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
42 Example
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
43 ----------------
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
44 Input:
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
45
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
46 211000022278978 DHGP Bari1 515 2242 . + . ID=RR41606_transposable_element;
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
47
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
48
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
49 Output:
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
50
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
51 211000022278978 DHGP Bari1 515 2242 . + . ID=RR41606_transposable_element;Colour=#ff00ff;
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
52 ]]></help>
f562c252b285 planemo upload for repository https://github.com/portiahollyoak/Tools commit c31c1a7e9806718e30c9a9036a723e473e09a5eb
portiahollyoak
parents:
diff changeset
53 </tool>