annotate galaxy-conf/DNAPropertyCalculator.xml @ 21:51b28ce6ef7e draft

Improve file type autodetection
author timpalpant
date Mon, 18 Jun 2012 14:50:31 -0400
parents 9d56b5b85740
children b43c420a6135
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
1 <tool id="DNAPropertyCalculator" name="Calculate sequence-specific DNA properties" version="2.0.0">
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
2 <description>for a genome</description>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
3 <command interpreter="sh">galaxyToolRunner.sh dna.DNAPropertyCalculator -i
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
4 #if $refGenomeSource.genomeSource == "history":
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
5 $refGenomeSource.ownFile
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
6 #else
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
7 ${refGenomeSource.index.fields.path}
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
8 #end if
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
9 $N -p $property -o $output
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
10 </command>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
11 <inputs>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
12 <conditional name="refGenomeSource">
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
13 <param name="genomeSource" type="select" label="Will you select a reference genome from your history or use a built-in index?" help="Built-ins were indexed using default options">
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
14 <option value="indexed">Use a built-in index</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
15 <option value="history">Use one from the history</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
16 </param>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
17 <when value="indexed">
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
18 <param name="index" type="select" label="Select a reference genome" help="if your genome of interest is not listed - contact Galaxy team">
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
19 <options from_data_table="sam_fa_indexes">
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
20 <filter type="sort_by" column="1" />
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
21 <validator type="no_options" message="No indexes are available" />
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
22 </options>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
23 </param>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
24 </when>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
25 <when value="history">
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
26 <param name="ownFile" type="data" format="fasta" metadata_name="dbkey" label="Select the reference genome" />
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
27 </when> <!-- history -->
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
28 </conditional> <!-- refGenomeSource -->
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
29
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
30 <param name="property" type="select" label="Property to calculate">
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
31 <option value="ATG-density">ATG</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
32 <option value="G-content">G</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
33 <option value="C-content">C</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
34 <option value="T-content">T</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
35 <option value="A-content">A</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
36 <option value="GC-content">GC</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
37 <option value="AT-content">AT</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
38 <option value="Pyrimidine-content">Pyrimidine</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
39 <option value="Purine-content">Purine</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
40 <option value="Bendability">Bendability</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
41 <option value="zDNA">zDNA</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
42 <option value="DuplexStabilityFreeEnergy">Duplex Stability Free Energy</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
43 <option value="DuplexStabilityDisruptEnergy">Duplex Stability Disrupt Energy</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
44 <option value="DNADenaturation">DNA Denaturation</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
45 <option value="PropellorTwist">Propellor Twist</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
46 <option value="BaseStacking">Base Stacking</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
47 <option value="ProteinDeformation">Protein Deformation</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
48 <option value="BendingStiffness">Bending Stiffness</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
49 <option value="ProteinDNATwist">Protein DNA Twist</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
50 <option value="bDNATwist">bDNA Twist</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
51 <option value="APhilicity">APhilicity</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
52 <option value="NucleosomePosition">Nucleosome Position (trinucleotide model)</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
53 <option value="Twist">Twist</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
54 <option value="Tilt">Tilt</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
55 <option value="Roll">Roll</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
56 <option value="Slide">Slide</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
57 <option value="Rise">Rise</option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
58 </param>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
59
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
60 <param name="N" type="boolean" checked="true" truevalue="-n" falsevalue="" label="Output normalized values" />
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
61 </inputs>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
62 <outputs>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
63 <data format="wig" name="output" label="Calculate ${property.value_label}">
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
64 <actions>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
65 <conditional name="refGenomeSource.genomeSource">
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
66 <when value="indexed">
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
67 <action type="metadata" name="dbkey">
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
68 <option type="from_data_table" name="sam_fa_indexes" column="1" offset="0">
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
69 <filter type="param_value" column="0" value="#" compare="startswith" keep="False"/>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
70 <filter type="param_value" ref="refGenomeSource.index" column="0"/>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
71 </option>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
72 </action>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
73 </when>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
74 <when value="history">
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
75 <action type="metadata" name="dbkey">
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
76 <option type="from_param" name="refGenomeSource.ownFile" param_attribute="dbkey" />
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
77 </action>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
78 </when>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
79 </conditional>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
80 </actions>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
81 </data>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
82 </outputs>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
83
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
84 <tests>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
85 <test>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
86 <param name="genomeSource" value="history"/>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
87 <param name="ownFile" value="test.fasta"/>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
88 <param name="property" value="Twist"/>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
89 <param name="N" value="false"/>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
90 <output name="output" file="twist.wig"/>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
91 </test>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
92 <test>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
93 <param name="genomeSource" value="history"/>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
94 <param name="ownFile" value="test.fasta"/>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
95 <param name="property" value="Twist"/>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
96 <param name="N" value="true"/>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
97 <output name="output" file="twist.normalized.wig"/>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
98 </test>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
99 </tests>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
100
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
101 <help>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
102
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
103 This tool will create a new Wig file with genome-wide calculations of sequence-specific DNA properties determined from local n-nucleotide sequences. DNA properties are calculated using AJT_.
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
104
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
105 .. _AJT: http://www.abeel.be/ajt
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
106
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
107 -----
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
108
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
109 **Example**
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
110
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
111 To calculate GC-content, choose your genome assembly and select "GC" as the property. This will create a new Wig file in which G and C nucleotides are represented by 1, while A and T nucleotides are represented by -1. If you would like to compute GC-content in 10-bp windows, use the WigMath -> Moving average tool to compute a moving average with 10bp windows.
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
112
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
113 </help>
9d56b5b85740 Reuploaded to see if tools get loaded correctly this time.
timpalpant
parents:
diff changeset
114 </tool>