annotate reactivity_cal/reactivity_calculation.xml @ 39:c5f80e82efb7 draft

Uploaded
author tyty
date Mon, 20 Oct 2014 14:57:26 -0400
parents 8bf6c855353b
children 28664b289a69
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26
8bf6c855353b Uploaded
tyty
parents:
diff changeset
1 <tool id="react_cal_pipeline" name="Reactivity calculation" version="1.0">
8bf6c855353b Uploaded
tyty
parents:
diff changeset
2 <description></description>
8bf6c855353b 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>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
4 <requirements>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
5 <requirement type="package" version="1.61">biopython</requirement>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
6 <requirement type="package" version="1.7">numpy</requirement>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
7 </requirements>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
8 <inputs>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
9 <param name="dist_file1" type="data" format="txt" label="RTSC file for (+) library"/>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
10 <param name="dist_file2" type="data" format="txt" label="RTSC file for (-) library"/>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
11 <param name="seq_file" type="data" format="fasta" label="Reference library"/>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
12 <param name="nt_spec" type="select" label="Nucleotide specificity">
8bf6c855353b Uploaded
tyty
parents:
diff changeset
13 <option value="AC">AC</option>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
14 <option value="ATCG">AUCG</option>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
15 </param>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
16 <param name="flag_in" type="boolean" checked="true" truevalue = "1" falsevalue = "0" label="Normalization is performed if checked"/>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
17 <param name="threshold" type="float" value = "7" optional = "true" label="Value to cap the reactivities"/>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
18 </inputs>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
19 <outputs>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
20 <data name="output" format="txt"/>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
21 </outputs>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
22 <tests>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
23 <test>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
24 <param name="dist_file1" value="dis_f_N1Ap_rrna.txt" />
8bf6c855353b Uploaded
tyty
parents:
diff changeset
25 <param name="dist_file2" value="dis_f_N1Am_rrna.txt" />
8bf6c855353b Uploaded
tyty
parents:
diff changeset
26 <param name="seq_file" value="rRNA.txt" />
8bf6c855353b Uploaded
tyty
parents:
diff changeset
27 <param name="nt_spec" value="AC" />
8bf6c855353b Uploaded
tyty
parents:
diff changeset
28 <param name="flag_in" value="1" />
8bf6c855353b Uploaded
tyty
parents:
diff changeset
29 <param name="threshold" value="7" />
8bf6c855353b Uploaded
tyty
parents:
diff changeset
30 <output name="output" file="DMS_reactivities.out" />
8bf6c855353b Uploaded
tyty
parents:
diff changeset
31
8bf6c855353b Uploaded
tyty
parents:
diff changeset
32 </test>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
33 </tests>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
34
8bf6c855353b Uploaded
tyty
parents:
diff changeset
35 <help>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
36
8bf6c855353b Uploaded
tyty
parents:
diff changeset
37
8bf6c855353b Uploaded
tyty
parents:
diff changeset
38 **TIPS**:
8bf6c855353b Uploaded
tyty
parents:
diff changeset
39
8bf6c855353b Uploaded
tyty
parents:
diff changeset
40 -----
8bf6c855353b Uploaded
tyty
parents:
diff changeset
41
8bf6c855353b Uploaded
tyty
parents:
diff changeset
42 **Input**:
8bf6c855353b Uploaded
tyty
parents:
diff changeset
43
8bf6c855353b Uploaded
tyty
parents:
diff changeset
44 * 1. RTSC files (Output of II) for (+) and (-) library
8bf6c855353b Uploaded
tyty
parents:
diff changeset
45 * 2. Reference file (fasta) used to map the reads
8bf6c855353b Uploaded
tyty
parents:
diff changeset
46 * 3. Nucleotide Specificity (Type of nucleotide to have reactivity, e.g. AC for DMS and ACTG for SHAPE)
8bf6c855353b Uploaded
tyty
parents:
diff changeset
47 * [Optional]:
8bf6c855353b Uploaded
tyty
parents:
diff changeset
48 * 1. A threshold to cap the structural reactivities. {Default: 7}
8bf6c855353b Uploaded
tyty
parents:
diff changeset
49 * 2. Flag that determines whether to perform 2%-8% normalization {Default: yes}
8bf6c855353b Uploaded
tyty
parents:
diff changeset
50
8bf6c855353b Uploaded
tyty
parents:
diff changeset
51 -----
8bf6c855353b Uploaded
tyty
parents:
diff changeset
52
8bf6c855353b Uploaded
tyty
parents:
diff changeset
53 **Output**:
8bf6c855353b Uploaded
tyty
parents:
diff changeset
54
8bf6c855353b Uploaded
tyty
parents:
diff changeset
55 A text file with structural reactivity for each nucleotide (Reactivity file)
8bf6c855353b Uploaded
tyty
parents:
diff changeset
56
8bf6c855353b Uploaded
tyty
parents:
diff changeset
57
8bf6c855353b Uploaded
tyty
parents:
diff changeset
58
8bf6c855353b Uploaded
tyty
parents:
diff changeset
59 </help>
8bf6c855353b Uploaded
tyty
parents:
diff changeset
60 </tool>