annotate miRPlant.xml @ 50:7b5a48b972e9 draft

Uploaded
author big-tiandm
date Fri, 05 Dec 2014 00:11:02 -0500
parents f008ab2cadc6
children 8b8c356e6db5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
49
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
1 <tool id="plant_microRNA_v1" name="miRPlant" veision="1.0.0">
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
2 <description>tool for plant microRNA analisis</description>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
3
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
4 <requirements>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
5 <requirement type="package" version="0.0.13">fastx_toolkit </requirement>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
6 <requirement type="package" version="0.12.7">bowtie</requirement>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
7 <requirement type="set_environment">SCRIPT_PATH</requirement>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
8 <!--requirement type="package" version="3.0.1">R</requirement!-->
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
9 <requirement type="package" version="2.59">SVG</requirement>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
10 <requirement type="package" version="2.1.8">ViennaRNA</requirement>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
11 </requirements>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
12
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
13 <!--command interpreter="perl">miPlant.pl -i $input -format $format -gfa $gfa -idx $index -pre $pre -mat $mat -rfam $rfam -idx2 $idx2 -D $D -a $a -M $M -min $min -max $max -mis $mis -e $e -f $f -v $v -r $r -dis $dis -flank $flank -mfe $mfe -t $t -o $output</command-->
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
14
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
15 <command interpreter="perl">miRPlant.pl
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
16 ## Change this to accommodate the number of threads you have available.
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
17 -t \${GALAXY_SLOTS:-4}
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
18 -path \$SCRIPT_PATH
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
19
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
20 #for $j, $s in enumerate( $series )
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
21 ##rank_of_series=$j
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
22 -i ${s.input}
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
23 -tag ${s.tag}
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
24 #end for
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
25
50
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
26 ## prepare bowtie index
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
27 #set index_path = ''
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
28 #if str($reference_genome.source) == "history":
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
29 bowtie-build "$reference_genome.own_file" genome; ln -s "$reference_genome.own_file" genome.fa;
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
30 #set index_path = 'genome'
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
31 #else:
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
32 #set index_path = $reference_genome.index.fields.path
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
33 #end if
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
34
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
35
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
36 ## Do or not annotate rfam non-miRNA RNAs
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
37 #if $params.annotate_rfam == "yes":
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
38
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
39 ## prepare Rfam bowtie index
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
40 #set rfam_index_path = ''
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
41 #if str($params.annotate_rfam.reference_rfam.source) == "history":
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
42 bowtie-build "$params.annotate_rfam.reference_rfam.own_file" rfam; ln -s "$params.annotate_rfam.reference_rfam.own_file" rfam.fa;
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
43 #set rfam_index_path = 'rfam'
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
44 #else:
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
45 #set rfam_index_path = $params.annotate_rfam.reference_rfam.index.fields.path
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
46 #end if
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
47
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
48 -rfam ${rfam_index_path}.fa -idx2 $rfam_index_path -v $v
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
49 ## Do or not delet rfam mapped tags
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
50 #if $params.annotate_rfam.rfamresult.delet_rfam == "yes":
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
51 -D
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
52 #end if
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
53 #end if
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
54
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
55
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
56 ## Do or not annotate known microRNAs
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
57 #if $params.known_microRNA == "yes":
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
58 -pre $pre -mat $mat
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
59 #end if
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
60
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
61
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
62 -format $format -gfa ${index_path}.fa -idx $index_path -phred $phred -a $a -M $mapnt -min $min -max $max -mis $mismatch -e $e -f $f -r $r -dis $dis -flank $flank -mfe $mfe > run.log
49
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
63 </command>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
64
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
65 <inputs>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
66
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
67 <repeat name="series" title="Series">
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
68 <param name="input" type="data" label="Raw data"/>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
69 <param name="tag" type="text" data_ref="input" label="Sample name of raw data"/>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
70 </repeat>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
71
50
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
72 <conditional name="reference_genome">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
73 <param name="source" 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">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
74 <option value="indexed">Use a built-in index</option>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
75 <option value="history">Use one from the history</option>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
76 </param>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
77 <when value="indexed">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
78 <param name="index" type="select" label="Select a reference genome" help="If your genome of interest is not listed, contact the Galaxy team">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
79 <options from_data_table="bowtie_indexes">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
80 <filter type="sort_by" column="2"/>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
81 <validator type="no_options" message="No indexes are available for the selected input dataset"/>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
82 </options>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
83 </param>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
84 </when>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
85 <when value="history">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
86 <param name="own_file" type="data" format="fasta" metadata_name="dbkey" label="Select the reference genome" />
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
87 </when>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
88 </conditional>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
89
49
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
90 <conditional name="params">
50
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
91 <param name="annotate_rfam" type="select" label="annotate rfam nocoding RNAs(excluding miRNA)">
49
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
92 <option value="yes" selected="true">yes</option>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
93 <option value="no">no</option>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
94 </param>
50
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
95 <when value="yes">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
96 <!--param name="rfam" type="data" label="rfam sequence file" /-->
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
97 <conditional name="reference_rfam">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
98 <param name="source" 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">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
99 <option value="indexed">Use a built-in index</option>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
100 <option value="history">Use one from the history</option>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
101 </param>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
102 <when value="indexed">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
103 <param name="index" type="select" label="Select a reference" help="If your reference of interest is not listed, contact the Galaxy team">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
104 <options from_data_table="rfam_bowtie_indexes">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
105 <filter type="sort_by" column="2"/>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
106 <validator type="no_options" message="No indexes are available for the selected input dataset"/>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
107 </options>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
108 </param>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
109 </when>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
110 <when value="history">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
111 <param name="own_file" type="data" format="fasta" metadata_name="dbkey" label="Select the reference" />
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
112 </when>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
113 </conditional>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
114
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
115 <param name="v" type="integer" value="0" label="report end-to-end hits less than v mismatches for rfam mapping"/>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
116
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
117 <conditional name="rfamresult">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
118 <param name="delet_rfam" type="select" label="delet rfam mapped reads">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
119 <option value="yes" selected="true">yes</option>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
120 <option value="no">no</option>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
121 </param>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
122 </conditional> <!-- params -->
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
123
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
124
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
125 </when>
49
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
126 </conditional> <!-- params -->
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
127
50
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
128
49
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
129 <!--param name="input" format="tabular" type="data" label="input config file" /-->
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
130
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
131 <param name="format" type="select" lable="raw data format" multiple="false">
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
132 <option value="fastq">Raw data is fastq. format</option>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
133 <option value="fasta">Raw data is fasta. format</option>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
134 </param>
50
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
135
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
136 <param name="phred" type="select" lable="input quals are Phred+64 or Phred+33" multiple="false">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
137 <option value="64">Phred+64</option>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
138 <option value="33" selected="true">Phred+33</option>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
139 </param>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
140
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
141 <conditional name="reference_genome">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
142 <param name="source" 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">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
143 <option value="indexed">Use a built-in index</option>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
144 <option value="history">Use one from the history</option>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
145 </param>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
146 <when value="indexed">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
147 <param name="index" type="select" label="Select a reference genome" help="If your genome of interest is not listed, contact the Galaxy team">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
148 <options from_data_table="bowtie_indexes">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
149 <filter type="sort_by" column="2"/>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
150 <validator type="no_options" message="No indexes are available for the selected input dataset"/>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
151 </options>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
152 </param>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
153 </when>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
154 <when value="history">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
155 <param name="own_file" type="data" format="fasta" metadata_name="dbkey" label="Select the reference genome" />
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
156 </when>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
157 </conditional>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
158
49
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
159 <!--param type="data" name="index" label="genome sequence bowtie index"/-->
50
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
160 <conditional name="params">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
161 <param name="known_microRNA" type="select" label="Analysis known microRNAs(eg. from mirbase)">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
162 <option value="yes" selected="true">yes</option>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
163 <option value="no">no</option>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
164 </param>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
165 <when value="yes">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
166 <param name="mat" type="data" label="mature microRNA sequence file" />
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
167 <param name="pre" type="data" label="precursor microRNA sequence fie" />
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
168 </when>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
169 </conditional> <!-- params -->
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
170
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
171 <conditional name="params">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
172 <param name="annotate_rfam" type="select" label="annotate rfam nocoding RNAs(excluding miRNA)">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
173 <option value="yes" selected="true">yes</option>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
174 <option value="no">no</option>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
175 </param>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
176 <when value="yes">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
177 <!--param name="rfam" type="data" label="rfam sequence file" /-->
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
178 <when value="yes">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
179 <!--param name="rfam" type="data" label="rfam sequence file" /-->
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
180 <conditional name="reference_rfam">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
181 <param name="source" 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">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
182 <option value="indexed">Use a built-in index</option>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
183 <option value="history">Use one from the history</option>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
184 </param>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
185 <when value="indexed">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
186 <param name="index" type="select" label="Select a reference" help="If your reference of interest is not listed, contact the Galaxy team">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
187 <options from_data_table="rfam_bowtie_indexes">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
188 <filter type="sort_by" column="2"/>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
189 <validator type="no_options" message="No indexes are available for the selected input dataset"/>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
190 </options>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
191 </param>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
192 </when>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
193 <when value="history">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
194 <param name="own_file" type="data" format="fasta" metadata_name="dbkey" label="Select the reference" />
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
195 </when>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
196 </conditional>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
197
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
198 <param name="v" type="integer" value="0" label="report end-to-end hits less than v mismatches for rfam mapping"/>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
199 </when>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
200 </conditional> <!-- params -->
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
201
49
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
202 <!--param type="data" name="idx2" label="rfam sequence bowtie index " -->
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
203 <param name="a" type="text" value="ATCTCGTATG" label="3' adapter sequence" />
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
204 <param name="mapnt" type="integer" value="8" label="minimum adapter map nts" />
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
205 <param name="min" type="integer" value="19" label="minimum microRNA length" />
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
206 <param name="max" type="integer" value="28" label="maximum microRNA length" />
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
207 <param name="mismatch" type="integer" value="0" label="number of allowed mismatches when mapping reads to precursors" />
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
208 <param name="e" type="integer" value="2" label="number of nucleotides upstream of the mature sequence to consider" />
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
209 <param name="f" type="integer" value="5" label="number of nucleotides downstream of the mature sequence to consider" />
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
210 <param name="r" type="integer" value="25" label="a read is allowed to map up to this number of positions in the genome" />
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
211 <param name="dis" type="integer" value="200" label="Maximal space between miRNA and miRNA*" />
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
212 <param name="flank" type="integer" value="10" label="Flank sequence length of miRNA precursor" />
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
213 <param name="mfe" type="float" value="-30" label="Maximal free energy allowed for a miRNA precursor" />
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
214 </inputs>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
215
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
216 <outputs>
50
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
217 <data format="txt" name="known microRNA express list" from_work_dir="miRPlant_out/known_microRNA_express.txt" label="${tool.name} on ${on_string}: known microRNA express list">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
218 <filter>(params['known_microRNA'] == 'Yes')</filter>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
219 </data>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
220 <data format="txt" name="known microRNA express alignment" from_work_dir="miRPlant_out/known_microRNA_express.aln" label="${tool.name} on ${on_string}: known microRNA express alignment">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
221 <filter>(params['known_microRNA'] == 'Yes')</filter>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
222 </data>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
223 <data format="txt" name="known microRNA moRs result" from_work_dir="miRPlant_out/known_microRNA_express.moRs" label="${tool.name} on ${on_string}: known microRNA moRs result">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
224 <filter>(params['known_microRNA'] == 'Yes')</filter>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
225 </data>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
226 <data format="txt" name="known microRNA precursor file" from_work_dir="miRPlant_out/known_microRNA_precursor.fa" label="${tool.name} on ${on_string}: known microRNA precursor file">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
227 <filter>(params['known_microRNA'] == 'Yes')</filter>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
228 </data>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
229 <data format="txt" name="known microRNA mature file" from_work_dir="miRPlant_out/known_microRNA_mature.fa" label="${tool.name} on ${on_string}: known microRNA mature file">
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
230 <filter>(params['known_microRNA'] == 'Yes')</filter>
7b5a48b972e9 Uploaded
big-tiandm
parents: 49
diff changeset
231 </data>
49
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
232 <data format="txt" name="novel microRNA express list" from_work_dir="miRPlant_out/novel_microRNA_express.txt" label="${tool.name} on ${on_string}: novel microRNA express list"/>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
233 <data format="txt" name="novel microRNA precursor file" from_work_dir="miRPlant_out/novel_microRNA_precursor.fa" label="${tool.name} on ${on_string}: novel microRNA precursor file"/>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
234 <data format="txt" name="novel microRNA mature sequence file" from_work_dir="miRPlant_out/novel_microRNA_mature.fa" label="${tool.name} on ${on_string}: novel microRNA mature sequence file"/>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
235 <data format="html" name="analysis result" from_work_dir="miRPlant_out/result.html" label="${tool.name} on ${on_string}: analysis result"/>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
236 </outputs>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
237
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
238 <help>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
239
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
240 </help>
f008ab2cadc6 Uploaded
big-tiandm
parents:
diff changeset
241 </tool>