annotate miRPlant.xml @ 16:6a878837c24a draft

Uploaded
author big-tiandm
date Fri, 25 Jul 2014 05:21:49 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
1 <tool id="plant_microRNA_v1" name="miRPlant" veision="1.0.0">
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
2 <description>tool for plant microRNA analisis</description>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
3
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
4 <requirements>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
5 <requirement type="set_environment">SCRIPT_PATH</requirement>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
6 <requirement type="package" version="0.12.7">bowtie</requirement>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
7 <requirement type="package" version="2.11.0">R</requirement>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
8 <requirement type="package" version="0.0.13">fastx_toolkit </requirement>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
9 <requirement type="package" version="1.5">ViennaRNA</requirement>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
10 </requirements>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
11
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
12 <!--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-->
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
13
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
14 <command interpreter="perl">miRPlant.pl
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
15 ## Change this to accommodate the number of threads you have available.
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
16 -t \${GALAXY_SLOTS:-4}
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
17 ## Do or not delet rfam mapped tags
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
18 #if $params.delet_rfam == "yes":
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
19 -D
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
20 #end if
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
21 -path \$SCRIPT_PATH
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
22
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
23 #for $j, $s in enumerate( $series )
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
24 ##rank_of_series=$j
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
25 -i ${s.input}
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
26 -tag ${s.tag}
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
27 #end for
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
28
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
29 -format $format -gfa $gfa -pre $pre -mat $mat -rfam $rfam -a $a -M $mapnt -min $min -max $max -mis $mismatch -e $e -f $f -v $v -r $r -dis $dis -flank $flank -mfe $mfe
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
30 </command>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
31
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
32 <inputs>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
33
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
34 <repeat name="series" title="Series">
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
35 <param name="input" type="data" label="Raw data"/>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
36 <param name="tag" type="text" data_ref="input" label="Sample name of raw data"/>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
37 </repeat>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
38
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
39 <conditional name="params">
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
40 <param name="delet_rfam" type="select" label="delet rfam mapped reads">
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
41 <option value="yes" selected="true">yes</option>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
42 <option value="no">no</option>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
43 </param>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
44 </conditional> <!-- params -->
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
45
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
46 <!--param name="input" format="tabular" type="data" label="input config file" /-->
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
47
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
48 <param name="format" type="select" lable="raw data format" multiple="false">
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
49 <option value="fastq">Raw data is fastq. format</option>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
50 <option value="fasta">Raw data is fasta. format</option>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
51 </param>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
52
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
53 <param name="gfa" type="data" label="genome sequence fasta file"/>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
54 <!--param type="data" name="index" label="genome sequence bowtie index"/-->
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
55 <param name="mat" type="data" label="mature microRNA sequence file" />
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
56 <param name="pre" type="data" label="precursor microRNA sequence fie" />
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
57 <param name="rfam" type="data" label="rfam sequence file" />
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
58 <!--param type="data" name="idx2" label="rfam sequence bowtie index " -->
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
59 <param name="a" type="text" value="ATCTCGTATG" label="3' adapter sequence" />
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
60 <param name="mapnt" type="integer" value="8" label="minimum adapter map nts" />
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
61 <param name="min" type="integer" value="19" label="minimum microRNA length" />
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
62 <param name="max" type="integer" value="28" label="maximum microRNA length" />
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
63 <param name="mismatch" type="integer" value="0" label="number of allowed mismatches when mapping reads to precursors" />
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
64 <param name="e" type="integer" value="2" label="number of nucleotides upstream of the mature sequence to consider" />
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
65 <param name="f" type="integer" value="5" label="number of nucleotides downstream of the mature sequence to consider" />
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
66 <param name="v" type="integer" value="0" label="report end-to-end hits less than v mismatches"/>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
67 <param name="r" type="integer" value="25" label="a read is allowed to map up to this number of positions in the genome" />
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
68 <param name="dis" type="integer" value="200" label="Maximal space between miRNA and miRNA*" />
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
69 <param name="flank" type="integer" value="10" label="Flank sequence length of miRNA precursor" />
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
70 <param name="mfe" type="float" value="-30" label="Maximal free energy allowed for a miRNA precursor" />
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
71 <param name="thread" type="integer" value="1" label="number of threads" />
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
72 </inputs>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
73
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
74 <outputs>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
75 <data format="txt" name="known microRNA express list" from_work_dir="miRPlant_out/known_microRNA_express.txt"/>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
76 <data format="txt" name="known microRNA express alignment" from_work_dir="miRPlant_out/known_microRNA_express.aln"/>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
77 <data format="txt" name="known microRNA moRs result" from_work_dir="miRPlant_out/known_microRNA_express.moRs"/>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
78 <data format="txt" name="known microRNA precursor file" from_work_dir="miRPlant_out/known_microRNA_precursor.fa"/>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
79 <data format="txt" name="known microRNA mature file" from_work_dir="miRPlant_out/known_microRNA_mature.fa"/>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
80 <data format="txt" name="novel microRNA prediction file" from_work_dir="miRPlant_out/known_microRNA_mature.fa"/>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
81 <data format="txt" name="novel microRNA express list" from_work_dir="miRPlant_out/novel_microRNA_express.txt"/>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
82 <data format="txt" name="novel microRNA precursor file" from_work_dir="miRPlant_out/novel_microRNA_precursor.fa"/>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
83 <data format="txt" name="novel microRNA mature sequence file" from_work_dir="miRPlant_out/novel_microRNA_mature.fa"/>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
84 <data format="txt" name="analysis result" from_work_dir="miRPlant_out/result.html"/>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
85 </outputs>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
86
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
87 <help>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
88
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
89 </help>
6a878837c24a Uploaded
big-tiandm
parents:
diff changeset
90 </tool>