Mercurial > repos > bigrna > gpsrna
comparison siRNA.xml @ 0:87fe81de0931 draft default tip
Uploaded
author | bigrna |
---|---|
date | Sun, 04 Jan 2015 02:47:25 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:87fe81de0931 |
---|---|
1 <tool id="plant_sirna_v1" name="siRNA" veision="1.0.0"> | |
2 <description>Program for plant siRNA analysis (siRNA only)</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> | |
12 <requirement type="package" version="1.4_001">Boost-Graph</requirement> | |
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 ## prepare bowtie index | |
22 #set index_path = '' | |
23 #if str($reference_genome.source) == "history": | |
24 #### bowtie-build "$reference_genome.own_file" genome; ln -s "$reference_genome.own_file" genome.fa; | |
25 #set index_path = $reference_genome.own_file | |
26 -g $index_path | |
27 | |
28 #else: | |
29 #set index_path = $reference_genome.index.fields.path | |
30 -g ${index_path}.fa -idx $index_path | |
31 #end if | |
32 | |
33 | |
34 ## Do or not annotate siRNAs by function | |
35 #if $params.function_anno == "yes": | |
36 | |
37 ## prepare bowtie index | |
38 #set nat_path = '' | |
39 #if str($params.nat_file.source) == "history": | |
40 #set nat_path = $params.nat_file.nat | |
41 | |
42 #else: | |
43 #set nat_path = $params.nat_file.index.fields.path | |
44 #end if | |
45 | |
46 ## prepare bowtie index | |
47 #set repeat_path = '' | |
48 #if str($params.repeat_file.source) == "history": | |
49 #set repeat_path = $params.repeat_file.repeat | |
50 | |
51 #else: | |
52 #set repeat_path = $params.repeat_file.index.fields.path | |
53 #end if | |
54 | |
55 | |
56 -nat $nat_path -repeat $repeat_path | |
57 #end if | |
58 | |
59 ## Do or not DEG | |
60 #if $degseq.degseq_analysis == "yes" : | |
61 -deg $degseq.deg | |
62 #end if | |
63 | |
64 -i $reads -config $config -n $mapnt -format $format -f $gff -mis $mis -d $d -p $p -l $l -cen $cen -span $span > run.log | |
65 | |
66 </command> | |
67 | |
68 <inputs> | |
69 | |
70 <param name="config" type="data" label="Raw data configs file" /> | |
71 <param name="reads" type="data" label="Input Fasta. file of candidate microRNA sequence" /> | |
72 | |
73 <param name="format" type="select" lable=" Data format" multiple="false"> | |
74 <option value="fastq">Input data is fastq. format</option> | |
75 <option value="fasta">Input data is fasta. format</option> | |
76 </param> | |
77 | |
78 | |
79 <conditional name="reference_genome"> | |
80 <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"> | |
81 <option value="indexed">Use a built-in index</option> | |
82 <option value="history">Use one from the history</option> | |
83 </param> | |
84 <when value="indexed"> | |
85 <param name="index" type="select" label="Select a reference genome" help="If your genome of interest is not listed, contact the Galaxy team"> | |
86 <options from_data_table="bowtie_indexes"> | |
87 <filter type="sort_by" column="2"/> | |
88 <validator type="no_options" message="No indexes are available for the selected input dataset"/> | |
89 </options> | |
90 </param> | |
91 </when> | |
92 <when value="history"> | |
93 <param name="own_file" type="data" format="fasta" metadata_name="dbkey" label="Select the reference genome" /> | |
94 </when> | |
95 </conditional> <!--param type="data" name="index" label="genome sequence bowtie index"/--> | |
96 | |
97 | |
98 <param name="gff" type="data" label="gff file" /> | |
99 <param name="mis" type="integer" value="0" label="Number of allowed mismatches when mapping reads to genome" /> | |
100 <param name="mapnt" type="integer" value="25" label="A read is allowed to map up to this number of positions in the genome" /> | |
101 <param name="d" type="integer" value="100" label="Distance of tag to merged a cluster" /> | |
102 | |
103 <param name="p" type="select" lable="siRNA cluster method" multiple="false"> | |
104 <option value="F">conventional</option> | |
105 <option value="T">NIBLES</option> | |
106 </param> | |
107 <param name="l" type="integer" value="1000" label="The length of the upstream and downstream,used in position annotate" /> | |
108 | |
109 | |
110 <conditional name="params"> | |
111 <param name="function_anno" type="select" label="Do or not annotate siRNAs by function"> | |
112 <option value="no" selected="true">no</option> | |
113 <option value="yes">yes</option> | |
114 </param> | |
115 <when value="yes"> | |
116 | |
117 | |
118 <conditional name="nat_file"> | |
119 <param name="source" type="select" label="Will you select a atural antisense transcripts file from your history ?" help="down load from ***"> | |
120 <option value="indexed">Use a built-in file</option> | |
121 <option value="history">Use one from the history</option> | |
122 </param> | |
123 <when value="indexed"> | |
124 <param name="index" type="select" label="Select a atural antisense transcripts file" help="If your species of interest is not listed, contact the Galaxy team"> | |
125 <options from_data_table="nat_annotate"> | |
126 <filter type="sort_by" column="2"/> | |
127 <validator type="no_options" message="No files are available for the selected input dataset"/> | |
128 </options> | |
129 </param> | |
130 </when> | |
131 <when value="history"> | |
132 <param name="nat" type="data" format="txt" label="atural antisense transcripts file" /> | |
133 </when> | |
134 </conditional> <!--param type="data" name="index" label="genome sequence bowtie index"/--> | |
135 | |
136 <conditional name="repeat_file"> | |
137 <param name="source" type="select" label="Will you select a repeat information file from your history ?" help="down load from ***"> | |
138 <option value="indexed">Use a built-in file</option> | |
139 <option value="history">Use one from the history</option> | |
140 </param> | |
141 <when value="indexed"> | |
142 <param name="index" type="select" label="Select a repeat information file" help="If your species of interest is not listed, contact the Galaxy team"> | |
143 <options from_data_table="repeat_annotate"> | |
144 <filter type="sort_by" column="2"/> | |
145 <validator type="no_options" message="No files are available for the selected input dataset"/> | |
146 </options> | |
147 </param> | |
148 </when> | |
149 <when value="history"> | |
150 <param name="repeat" type="data" label="repeat information file out of Repeatmasker" /> | |
151 </when> | |
152 </conditional> <!--param type="data" name="index" label="genome sequence bowtie index"/--> | |
153 </when> | |
154 </conditional> <!-- params --> | |
155 | |
156 <param name="cen" type="data" label="centromere file input" /> | |
157 <param name="span" type="integer" value="50000" label="plot span" /> | |
158 | |
159 <conditional name="degseq"> | |
160 <param name="degseq_analysis" type="select" label="Do or not identify Difference Expression Clusters"> | |
161 <option value="no" selected="true">no</option> | |
162 <option value="yes">yes</option> | |
163 </param> | |
164 <when value="yes"> | |
165 <param name="deg" type="data" label="file config of de sample" /> | |
166 </when> | |
167 </conditional> | |
168 | |
169 | |
170 </inputs> | |
171 | |
172 <outputs> | |
173 <data format="txt" name="siRNA cluster" from_work_dir="cluster_runs/total.result" label="${tool.name} on ${on_string}: siRNA cluster"/> | |
174 <data format="html" name="analysis result" from_work_dir="cluster_runs/result.html" label="${tool.name} on ${on_string}: analysis result"/> | |
175 | |
176 </outputs> | |
177 | |
178 <help> | |
179 | |
180 </help> | |
181 </tool> |