annotate siRNA.xml @ 0:07745c0958dd draft

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