annotate galaxy-conf/DNAPropertyCalculator.xml @ 13:eb53be9a09f4 draft

Uploaded
author timpalpant
date Sat, 19 May 2012 10:36:45 -0400
parents 81d5b81fb3c2
children 3e477c7e0e73
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>
12
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents: 9
diff changeset
83
13
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
84 <tests>
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
85 <test>
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
86 <param name="genomeSource" value="history"/>
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
87 <param name="ownFile" value="test.fasta"/>
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
88 <param name="N" value="false"/>
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
89 <output name="output" file="twist.wig"/>
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
90 </test>
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
91 <test>
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
92 <param name="genomeSource" value="history"/>
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
93 <param name="ownFile" value="test.fasta"/>
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
94 <param name="N" value="true"/>
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
95 <output name="output" file="twist.normalized.wig"/>
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
96 </test>
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
97 </tests>
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
98
12
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents: 9
diff changeset
99 <help>
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents: 9
diff changeset
100
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents: 9
diff changeset
101 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_.
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents: 9
diff changeset
102
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents: 9
diff changeset
103 .. _AJT: http://www.abeel.be/ajt
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents: 9
diff changeset
104
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents: 9
diff changeset
105 -----
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents: 9
diff changeset
106
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents: 9
diff changeset
107 **Example**
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents: 9
diff changeset
108
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents: 9
diff changeset
109 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.
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents: 9
diff changeset
110
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents: 9
diff changeset
111 </help>
9
9266d807ca85 Uploaded
timpalpant
parents:
diff changeset
112 </tool>