annotate galaxy-conf/DNAPropertyCalculator.xml @ 9:9266d807ca85

Uploaded
author timpalpant
date Tue, 06 Mar 2012 21:55:46 -0500
parents
children 81d5b81fb3c2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
1 <tool id="DNAPropertyCalculator" name="Calculate sequence-specific DNA properties" version="1.0.0">
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
2 <description>for a genome</description>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
3 <command interpreter="sh">galaxyToolRunner.sh dna.DNAPropertyCalculator -i
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
4 #if $refGenomeSource.genomeSource == "history":
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
5 $refGenomeSource.ownFile
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
6 #else
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
7 ${refGenomeSource.index.fields.path}
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
8 #end if
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
9 $N -p $property -o $output
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
10 </command>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
11 <inputs>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
12 <conditional name="refGenomeSource">
9266d807ca85 Uploaded
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">
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
14 <option value="indexed">Use a built-in index</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
15 <option value="history">Use one from the history</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
16 </param>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
17 <when value="indexed">
9266d807ca85 Uploaded
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">
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
19 <options from_data_table="sam_fa_indexes">
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
20 <filter type="sort_by" column="1" />
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
21 <validator type="no_options" message="No indexes are available" />
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
22 </options>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
23 </param>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
24 </when>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
25 <when value="history">
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
26 <param name="ownFile" type="data" format="fasta" metadata_name="dbkey" label="Select the reference genome" />
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
27 </when> <!-- history -->
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
28 </conditional> <!-- refGenomeSource -->
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
29
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
30 <param name="property" type="select" label="Property to calculate">
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
31 <option value="ATG-density">ATG</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
32 <option value="G-content">G</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
33 <option value="C-content">C</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
34 <option value="T-content">T</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
35 <option value="A-content">A</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
36 <option value="GC-content">GC</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
37 <option value="AT-content">AT</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
38 <option value="Pyrimidine-content">Pyrimidine</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
39 <option value="Purine-content">Purine</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
40 <option value="Bendability">Bendability</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
41 <option value="zDNA">zDNA</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
42 <option value="DuplexStabilityFreeEnergy">Duplex Stability Free Energy</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
43 <option value="DuplexStabilityDisruptEnergy">Duplex Stability Disrupt Energy</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
44 <option value="DNADenaturation">DNA Denaturation</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
45 <option value="PropellorTwist">Propellor Twist</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
46 <option value="BaseStacking">Base Stacking</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
47 <option value="ProteinDeformation">Protein Deformation</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
48 <option value="BendingStiffness">Bending Stiffness</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
49 <option value="ProteinDNATwist">Protein DNA Twist</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
50 <option value="bDNATwist">bDNA Twist</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
51 <option value="APhilicity">APhilicity</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
52 <option value="NucleosomePosition">Nucleosome Position (trinucleotide model)</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
53 <option value="Twist">Twist</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
54 <option value="Tilt">Tilt</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
55 <option value="Roll">Roll</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
56 <option value="Slide">Slide</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
57 <option value="Rise">Rise</option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
58 </param>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
59
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
60 <param name="N" type="boolean" checked="true" truevalue="-n" falsevalue="" label="Output normalized values" />
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
61 </inputs>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
62 <outputs>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
63 <data format="wig" name="output" label="Calculate ${property.value_label}">
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
64 <actions>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
65 <conditional name="refGenomeSource.genomeSource">
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
66 <when value="indexed">
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
67 <action type="metadata" name="dbkey">
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
68 <option type="from_data_table" name="sam_fa_indexes" column="1" offset="0">
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
69 <filter type="param_value" column="0" value="#" compare="startswith" keep="False"/>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
70 <filter type="param_value" ref="refGenomeSource.index" column="0"/>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
71 </option>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
72 </action>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
73 </when>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
74 <when value="history">
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
75 <action type="metadata" name="dbkey">
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
76 <option type="from_param" name="refGenomeSource.ownFile" param_attribute="dbkey" />
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
77 </action>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
78 </when>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
79 </conditional>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
80 </actions>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
81 </data>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
82 </outputs>
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
83 </tool>