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