18
|
1 <tool id="plant_sirna_v1" name="siRNA" veision="1.0.0">
|
|
2 <description>tool for plant siRNA analisis</description>
|
|
3
|
|
4 <requirements>
|
|
5 <requirement type="set_environment">SCRIPT_PATH</requirement>
|
|
6 <requirement type="package" version="0.12.7">bowtie</requirement>
|
|
7 <requirement type="package" version="3.0.1">R</requirement>
|
|
8 <requirement type="package" version="0.0.13">fastx_toolkit </requirement>
|
|
9 <requirement type="package" version="1.96">threads</requirement>
|
|
10 <requirement type="package" version="1.06">Parallel-ForkManager</requirement>
|
|
11 <requirement type="package" version="2.59">SVG</requirement>
|
29
|
12 <requirement type="package" version="1.4_001">Boost-Graph</requirement>
|
18
|
13 </requirements>
|
|
14
|
|
15 <command interpreter="perl">siRNA.pl
|
|
16 ## Change this to accommodate the number of threads you have available.
|
|
17 -t \${GALAXY_SLOTS:-4}
|
|
18
|
|
19 -path \$SCRIPT_PATH
|
|
20
|
|
21 #for $j, $s in enumerate( $series )
|
|
22 ##rank_of_series=$j
|
|
23 -i ${s.input}
|
|
24 -tag ${s.tag}
|
|
25 #end for
|
|
26
|
|
27 ## Do or not annotate siRNAs by function
|
|
28 #if $params.function_anno == "yes":
|
|
29 -nat $params.nat -repeat $params.repeat
|
|
30 #end if
|
|
31
|
|
32 ## Do or not DEG
|
|
33 #if $degseq.degseq_analysis == "yes" :
|
|
34 -deg $degseq.deg
|
|
35 #end if
|
|
36
|
|
37 -format $format -g $genome -f $gff -mis $mis -rfam $rfam -v $v -a $a -n $mapnt -d $d -p $p -l $l -cen $cen -span $span > run.log
|
|
38
|
|
39 </command>
|
|
40
|
|
41 <inputs>
|
|
42
|
|
43 <repeat name="series" title="Series">
|
|
44 <param name="input" type="data" label="Raw data file"/>
|
|
45 <param name="tag" type="text" data_ref="input" label="Sample name of raw data"/>
|
|
46 </repeat>
|
|
47
|
|
48 <param name="format" type="select" lable="raw data format" multiple="false">
|
|
49 <option value="fastq">Raw data is fastq. format</option>
|
|
50 <option value="fasta">Raw data is fasta. format</option>
|
|
51 </param>
|
|
52
|
|
53 <param name="genome" type="data" label="genome sequence fasta file"/>
|
|
54 <!--param type="data" name="index" label="genome sequence bowtie index"/-->
|
|
55 <param name="gff" type="data" label="gff file" />
|
|
56 <param name="mis" type="integer" value="0" label="number of allowed mismatches when mapping reads to genome" />
|
|
57 <param name="rfam" type="data" label="rfam sequence file" />
|
|
58 <param name="v" type="integer" value="0" label="report end-to-end hits less than v mismatches"/>
|
|
59 <param name="a" type="text" value="ATCTCGTATG" label="3' adapter sequence" />
|
|
60 <param name="mapnt" type="integer" value="25" label="a read is allowed to map up to this number of positions in the genome" />
|
|
61 <param name="d" type="integer" value="100" label="distance of tag to merged a cluster" />
|
|
62
|
|
63 <param name="p" type="select" lable="cluster method" multiple="false">
|
|
64 <option value="F">conventional</option>
|
|
65 <option value="T">NIBLES</option>
|
|
66 </param>
|
|
67 <param name="l" type="integer" value="1000" label="the length of the upstream and downstream,used in position annotate" />
|
|
68
|
|
69
|
|
70 <conditional name="params">
|
|
71 <param name="function_anno" type="select" label="Do or not annotate siRNAs by function">
|
|
72 <option value="no" selected="true">no</option>
|
|
73 <option value="yes">yes</option>
|
|
74 </param>
|
|
75 <when value="yes">
|
|
76 <param name="nat" type="data" label="atural antisense transcripts file" />
|
|
77 <param name="repeat" type="data" label="repeat information file out of Repeatmasker" />
|
|
78 </when>
|
|
79 </conditional> <!-- params -->
|
|
80
|
|
81 <param name="cen" type="data" label="centromere file input" />
|
|
82 <param name="span" type="integer" value="50000" label="plot span" />
|
|
83
|
|
84 <conditional name="degseq">
|
|
85 <param name="degseq_analysis" type="select" label="Do or not identify Difference Expression Clusters">
|
|
86 <option value="no" selected="true">no</option>
|
|
87 <option value="yes">yes</option>
|
|
88 </param>
|
|
89 <when value="yes">
|
|
90 <param name="deg" type="data" label="file config of de sample" />
|
|
91 </when>
|
|
92 </conditional>
|
|
93
|
|
94 </inputs>
|
|
95
|
|
96 <outputs>
|
|
97 <data format="txt" name="siRNA cluster" from_work_dir="cluster_runs/total.result" label="${tool.name} on ${on_string}: siRNA cluster"/>
|
|
98 <data format="html" name="analysis result" from_work_dir="cluster_runs/result.html" label="${tool.name} on ${on_string}: analysis result"/>
|
|
99
|
|
100 </outputs>
|
|
101
|
|
102 <help>
|
|
103
|
|
104 </help>
|
|
105 </tool>
|