annotate predict/predict_RNAs.xml @ 103:51fa1298f55e draft

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