annotate siRNA.xml @ 39:2a5b751228a6 draft

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