comparison predict/predict_RNAs.xml @ 117:75e3711e23c4 draft

Uploaded
author tyty
date Tue, 14 Apr 2015 14:17:27 -0400
parents
children
comparison
equal deleted inserted replaced
116:62e8f7adf1ab 117:75e3711e23c4
1 <tool id="predict_pipeline" name="RNA Structure Prediction" version="1.0">
2 <description>predict RNA structures with or without experimental constraints from the Reactivity Calculation module</description>
3 <command interpreter="python">
4 #if $program.wh == "rs"
5 #if $program.rs_reactivity.type == "restraint"
6 predict_RNAs.py $rna_list $reference_file $program.rs_reactivity.type $temperature $program.wh $output $output.files_path $program.rs_reactivity.reactivity_file $program.rs_reactivity.slope $program.rs_reactivity.intercept
7 #else
8 predict_RNAs.py $rna_list $reference_file $program.rs_reactivity.type $temperature $program.wh $output $output.files_path
9 #end if
10 #else
11 #if $program.vp_reactivity.type == "restraint"
12 predict_RNAs.py $rna_list $reference_file $program.vp_reactivity.type $temperature $program.wh $output $output.files_path $program.vp_reactivity.reactivity_file $program.vp_reactivity.threshold_high $program.vp_reactivity.threshold_low $program.gqs
13 #else
14 predict_RNAs.py $rna_list $reference_file $program.vp_reactivity.type $temperature $program.wh $output $output.files_path $program.gqs
15 #end if
16 #end if
17 </command>
18 <stdio>
19 <exit_code range="1:" />
20 <exit_code range=":-1" />
21 <regex match="Error:" />
22 <regex match="Exception:" />
23 </stdio>
24 <requirements>
25 <requirement type="package" version="5.7">rnastructure</requirement>
26 <requirement type="package" version="1.61">biopython</requirement>
27 <requirement type="package" version="1.7.1">numpy</requirement>
28 <requirement type="package" version="1.1.7">imaging</requirement>
29 <requirement type="package" version="1.2.1">matplotlib</requirement>
30 <requirement type="package" version="2.1">vienna_rna</requirement>
31 </requirements>
32 <inputs>
33 <param name="rna_list" type="data" format="txt" label="List of RNA ids to predict"/>
34 <param name="reference_file" type="data" format="fasta" label="Reference genome/transcriptome"/>
35 <param name="temperature" type="float" value="310.15" label="Temperature (K)"/>
36 <conditional name="program">
37 <param name="wh" type="select" label="Program for RNA structure prediction">
38 <option value="rs">RNAstructure</option>
39 <option value="vp">ViennaRNA Package</option>
40 </param>
41 <when value="rs">
42 <conditional name="rs_reactivity">
43 <param name="type" type="select" label="RNA structure prediction type">
44 <option value="silico">In silico</option>
45 <option value="restraint">With experimental restraints</option>
46 </param>
47 <when value="silico"/>
48 <when value="restraint">
49 <param name="reactivity_file" type="data" label="Reactivity file"/>
50 <param name="slope" type="float" value="1.8" label="Slope used with structural restraints"/>
51 <param name="intercept" type="float" value="-0.6" label="Intercept used with structural restraints"/>
52 </when>
53 </conditional>
54 </when>
55 <when value="vp">
56 <conditional name="vp_reactivity">
57 <param name="type" type="select" label="RNA structure prediction type">
58 <option value="silico">In silico</option>
59 <option value="restraint">With experimental restraints</option>
60 </param>
61 <when value="silico"/>
62 <when value="restraint">
63 <param name="reactivity_file" type="data" label="Reactivity file"/>
64 <param name="threshold_high" type="float" value="0.6" label="Threshold for high reactivities"/>
65 <param name="threshold_low" type="float" value="0.3" label="Threshold for low reactivities"/>
66 </when>
67 </conditional>
68 <param name="gqs" type="boolean" checked="false" truevalue = "1" falsevalue = "0" label="Incoorporate G-Quadruplex prediction if checked"/>
69 </when>
70 </conditional>
71
72
73 </inputs>
74 <outputs>
75 <data name="output" format="html" />
76 </outputs>
77
78 <help>
79
80
81 **Function**
82
83 RNA Structure Prediction uses the RNAstructure program (V5.6) and ViennaRNA package (V2.1.9) to predict RNA structures without restraints (in silico) or with restraints from structural reactivities, as provided by the Reactivity Calculation module. Users can designate the temperature under which to predict the RNA structures.
84
85 -----
86
87 **Input**:
88
89 * 1. A file with transcript Ids (Max num. 100), (each ID one line)
90 * 2. Reference file (fasta) used to map the reads to
91 * 3. Temperature for RNA structure prediction
92 * [Optional]:
93 * 1. A reactivity file with structural reactivity for each nucleotide on the sequence provided
94 * /RNAstructure prediction mode/
95 * 2. Slope used with structural restraints (default 1.8)
96 * 3. Intercept used with structural restraints (default -0.6)
97 * /ViennaRNA package prediction mode/
98 * 2. Flag that determines whether to incoorporate G-Quadruplex prediction
99 * 3. High reactivity threshold (Any nucleotide with structural reactivity that is higher than it will be constrainted as single stranded) (default 0.6)
100 * 4. Low reactivity threshold (Any nucleotide with structural reactivity that is lower than it will be constrainted as double stranded) (default 0.3)
101
102 -----
103
104 **Output**:
105
106 * 1. Dot bracket files with predicted RNA structures [transciptID.dbn]
107 * 2. .ps files which depict the predicted RNA structures [transciptID.ps]
108 * [Optional]
109 * 3. .tif files that shows the distribution of the reactivity of each nucleotide on the transcripts of interest. [transciptID.tif]
110
111 -----
112
113 **Attention**
114
115 Make sure that none of the transcript Ids contains a "|" or a space!
116
117 -----
118
119 **Backend program**:
120
121 * 1. This module uses RNAstructure (http://rna.urmc.rochester.edu/RNAstructure.html) or ViennaRNA package (http://www.tbi.univie.ac.at/RNA/) as the backend programs to predict RNA structures.
122 * 2. Default parameters are used for RNAstructure and ViennaRNA package except -T (Temperature), -sm (slope used with SHAPE restraints [RNAstructure prediction mode]), -si (intercept used with SHAPE restraints [RNAstructure prediction mode]) and thresholds for high and low reactivity [ViennaRNA package prediciton mode], for which users can specify the value
123
124
125
126 </help>
127 </tool>