annotate reactivity_cal/reactivity_calculation.xml @ 119:7bb98e9296e9 draft default tip

Uploaded
author tyty
date Tue, 14 Apr 2015 14:18:40 -0400
parents 5a9183ec344f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
87
5a9183ec344f Uploaded
tyty
parents:
diff changeset
1 <tool id="react_cal_pipeline" name="Reactivity Calculation" version="1.0">
5a9183ec344f Uploaded
tyty
parents:
diff changeset
2 <description>calculates structural reactivity on each nucleotide based on RT stop counts from the Get RT Stop Counts module</description>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
3 <command interpreter="python">react_cal.py $dist_file1 $dist_file2 $seq_file $nt_spec $flag_in $threshold $output </command>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
4 <requirements>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
5 <requirement type="package" version="1.61">biopython</requirement>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
6 <requirement type="package" version="1.7.1">numpy</requirement>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
7 </requirements>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
8 <inputs>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
9 <param name="dist_file1" type="data" format="txt" label="RTSC file for (+) library"/>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
10 <param name="dist_file2" type="data" format="txt" label="RTSC file for (-) library"/>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
11 <param name="seq_file" type="data" format="fasta" label="Reference genome/transcriptome"/>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
12 <param name="nt_spec" type="select" label="Nucleotide specificity">
5a9183ec344f Uploaded
tyty
parents:
diff changeset
13 <option value="AC">AC</option>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
14 <option value="ATCG">AUCG</option>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
15 </param>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
16 <param name="flag_in" type="boolean" checked="true" truevalue = "1" falsevalue = "0" label="Normalization is performed if checked"/>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
17 <param name="threshold" type="float" value = "7" optional = "true" label="Threshold to cap the reactivities"/>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
18 </inputs>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
19 <outputs>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
20 <data name="output" format="txt"/>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
21 </outputs>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
22 <tests>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
23 <test>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
24 <param name="dist_file1" value="dis_f_N1Ap_rrna.txt" />
5a9183ec344f Uploaded
tyty
parents:
diff changeset
25 <param name="dist_file2" value="dis_f_N1Am_rrna.txt" />
5a9183ec344f Uploaded
tyty
parents:
diff changeset
26 <param name="seq_file" value="rRNA.txt" />
5a9183ec344f Uploaded
tyty
parents:
diff changeset
27 <param name="nt_spec" value="AC" />
5a9183ec344f Uploaded
tyty
parents:
diff changeset
28 <param name="flag_in" value="1" />
5a9183ec344f Uploaded
tyty
parents:
diff changeset
29 <param name="threshold" value="7" />
5a9183ec344f Uploaded
tyty
parents:
diff changeset
30 <output name="output" file="DMS_reactivities.out" />
5a9183ec344f Uploaded
tyty
parents:
diff changeset
31
5a9183ec344f Uploaded
tyty
parents:
diff changeset
32 </test>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
33 </tests>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
34
5a9183ec344f Uploaded
tyty
parents:
diff changeset
35 <help>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
36
5a9183ec344f Uploaded
tyty
parents:
diff changeset
37
5a9183ec344f Uploaded
tyty
parents:
diff changeset
38 **Function**
5a9183ec344f Uploaded
tyty
parents:
diff changeset
39
5a9183ec344f Uploaded
tyty
parents:
diff changeset
40 * Reactivity Calculation calculates the structural reactivity on each nucleotide based on an RT stop count file containing the RT stop count on each nucleotide, typically the output from the Get RT Stop Counts module.
5a9183ec344f Uploaded
tyty
parents:
diff changeset
41
5a9183ec344f Uploaded
tyty
parents:
diff changeset
42 -----
5a9183ec344f Uploaded
tyty
parents:
diff changeset
43
5a9183ec344f Uploaded
tyty
parents:
diff changeset
44 **Input**:
5a9183ec344f Uploaded
tyty
parents:
diff changeset
45
5a9183ec344f Uploaded
tyty
parents:
diff changeset
46 * 1. RTSC files (Output of Get RT Stop Counts) for (+) and (-) library
5a9183ec344f Uploaded
tyty
parents:
diff changeset
47 * 2. Reference file (fasta) used to map the reads to
5a9183ec344f Uploaded
tyty
parents:
diff changeset
48 * 3. Nucleotide Specificity (Type of nucleotides to have reactivity, e.g. AC for DMS and ACTG for SHAPE)
5a9183ec344f Uploaded
tyty
parents:
diff changeset
49 * [Optional]:
5a9183ec344f Uploaded
tyty
parents:
diff changeset
50 * 1. A threshold to cap the structural reactivities. {Default: 7}
5a9183ec344f Uploaded
tyty
parents:
diff changeset
51 * 2. Flag that determines whether to perform 2%-8% normalization {Default: Yes}
5a9183ec344f Uploaded
tyty
parents:
diff changeset
52
5a9183ec344f Uploaded
tyty
parents:
diff changeset
53 -----
5a9183ec344f Uploaded
tyty
parents:
diff changeset
54
5a9183ec344f Uploaded
tyty
parents:
diff changeset
55 **Output**:
5a9183ec344f Uploaded
tyty
parents:
diff changeset
56
5a9183ec344f Uploaded
tyty
parents:
diff changeset
57 A text file with structural reactivity for each nucleotide (Reactivity file)
5a9183ec344f Uploaded
tyty
parents:
diff changeset
58
5a9183ec344f Uploaded
tyty
parents:
diff changeset
59
5a9183ec344f Uploaded
tyty
parents:
diff changeset
60
5a9183ec344f Uploaded
tyty
parents:
diff changeset
61 </help>
5a9183ec344f Uploaded
tyty
parents:
diff changeset
62 </tool>