annotate microRNA.xml @ 0:87fe81de0931 draft default tip

Uploaded
author bigrna
date Sun, 04 Jan 2015 02:47:25 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
1 <tool id="micrornas_v1" name="microRNA" veision="1.0.0">
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
2 <description>Program for plant microRNA analysis(miRNA only) </description>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
3
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
4 <requirements>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
5 <requirement type="package" version="0.0.13">fastx_toolkit </requirement>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
6 <requirement type="package" version="0.12.7">bowtie</requirement>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
7 <requirement type="set_environment">SCRIPT_PATH</requirement>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
8 <!--requirement type="package" version="3.0.1">R</requirement!-->
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
9 <requirement type="package" version="2.59">SVG</requirement>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
10 <requirement type="package" version="2.1.8">ViennaRNA</requirement>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
11 </requirements>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
12
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
13 <!--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-->
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
14
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
15 <command interpreter="perl">microRNA.pl
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
16 ## Change this to accommodate the number of threads you have available.
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
17 -t \${GALAXY_SLOTS:-4}
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
18 -path \$SCRIPT_PATH
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
19
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
20
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
21 ## Do or not annotate known microRNAs
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
22 #if $mirbase.known_microRNA == "yes":
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
23 -pre $mirbase.pre -mat $mirbase.mat
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
24 #end if
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
25
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
26 ## prepare bowtie index
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
27 #set index_path = ''
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
28 #if str($reference_genome.source) == "history":
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
29 ### bowtie-build "$reference_genome.own_file" genome; ln -s "$reference_genome.own_file" genome.fa;
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
30 #set index_path = $reference_genome.own_file
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
31 -gfa $index_path
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
32 #else:
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
33 #set index_path = $reference_genome.index.fields.path
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
34 -gfa ${index_path}.fa -idx $index_path
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
35 #end if
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
36
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
37
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
38 -mis $mismatch -i $config -fa $reads -e $e -f $f -r $r -dis $dis -flank $flank -mfe $mfe > run.log
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
39 </command>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
40
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
41 <inputs>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
42 <param name="config" type="data" label="Raw data configs file" />
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
43 <param name="reads" type="data" label="Input Fasta. file of candidate microRNA sequence" />
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
44
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
45 <!-- reference genome -->
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
46 <conditional name="reference_genome">
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
47 <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">
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
48 <option value="indexed">Use a built-in index</option>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
49 <option value="history">Use one from the history</option>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
50 </param>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
51 <when value="indexed">
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
52 <param name="index" type="select" label="Select a reference genome" help="If your genome of interest is not listed, contact the Galaxy team">
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
53 <options from_data_table="bowtie_indexes">
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
54 <filter type="sort_by" column="2"/>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
55 <validator type="no_options" message="No indexes are available for the selected input dataset"/>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
56 </options>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
57 </param>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
58 </when>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
59 <when value="history">
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
60 <param name="own_file" type="data" format="fasta" metadata_name="dbkey" label="Select the reference genome" />
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
61 </when>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
62 </conditional>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
63
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
64 <conditional name="mirbase">
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
65 <param name="known_microRNA" type="select" label="Analysis known microRNAs(eg. from mirbase)">
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
66 <option value="yes" selected="true">yes</option>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
67 <option value="no">no</option>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
68 </param>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
69 <when value="yes">
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
70 <param name="mat" type="data" label="mature microRNA sequence file" />
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
71 <param name="pre" type="data" label="precursor microRNA sequence fie" />
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
72 </when>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
73 </conditional> <!-- params -->
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
74
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
75
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
76
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
77 <param name="mismatch" type="integer" value="0" label="number of allowed mismatches when mapping reads to genome" />
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
78 <param name="e" type="integer" value="2" label="number of nucleotides upstream of the mature sequence to consider" />
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
79 <param name="f" type="integer" value="5" label="number of nucleotides downstream of the mature sequence to consider" />
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
80 <param name="r" type="integer" value="25" label="a read is allowed to map up to this number of positions in the genome" />
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
81 <param name="dis" type="integer" value="200" label="Maximal space between miRNA and miRNA*" />
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
82 <param name="flank" type="integer" value="10" label="Flank sequence length of miRNA precursor" />
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
83 <param name="mfe" type="float" value="-30" label="Maximal free energy allowed for a miRNA precursor" />
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
84
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
85 </inputs>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
86
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
87 <outputs>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
88 <data format="txt" name="known microRNA express list" from_work_dir="miRNA_out/known_microRNA_express.txt" label="${tool.name} on ${on_string}: known microRNA express list">
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
89 <filter>(mirbase['known_microRNA'] == 'yes')</filter>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
90 </data>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
91 <data format="txt" name="known microRNA express alignment" from_work_dir="miRNA_out/known_microRNA_express.aln" label="${tool.name} on ${on_string}: known microRNA express alignment">
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
92 <filter>(mirbase['known_microRNA'] == 'yes')</filter>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
93 </data>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
94 <data format="txt" name="known microRNA moRs result" from_work_dir="miRNA_out/known_microRNA_express.moRs" label="${tool.name} on ${on_string}: known microRNA moRs result">
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
95 <filter>(mirbase['known_microRNA'] == 'yes')</filter>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
96 </data>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
97 <data format="fasta" name="known microRNA precursor file" from_work_dir="miRNA_out/known_microRNA_precursor.fa" label="${tool.name} on ${on_string}: known microRNA precursor file">
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
98 <filter>(mirbase['known_microRNA'] == 'yes')</filter>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
99 </data>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
100 <data format="fasta" name="known microRNA mature file" from_work_dir="miRNA_out/known_microRNA_mature.fa" label="${tool.name} on ${on_string}: known microRNA mature file">
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
101 <filter>(mirbase['known_microRNA'] == 'yes')</filter>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
102 </data>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
103 <data format="txt" name="novel microRNA express list" from_work_dir="miRNA_out/novel_microRNA_express.txt" label="${tool.name} on ${on_string}: novel microRNA express list"/>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
104 <data format="fasta" name="novel microRNA precursor file" from_work_dir="miRNA_out/novel_microRNA_precursor.fa" label="${tool.name} on ${on_string}: novel microRNA precursor file"/>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
105 <data format="fasta" name="novel microRNA mature sequence file" from_work_dir="miRNA_out/novel_microRNA_mature.fa" label="${tool.name} on ${on_string}: novel microRNA mature sequence file"/>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
106 <data format="fasta" name="non-microRNA sequence FASTA file" from_work_dir="miRNA_out/non_microRNA_sequence.fa" label="${tool.name} on ${on_string}: Sequence FASTA file of non-microRNA tags"/>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
107
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
108 </outputs>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
109
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
110 <help>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
111
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
112 </help>
87fe81de0931 Uploaded
bigrna
parents:
diff changeset
113 </tool>