annotate Iterative_mapping/iterative_map.xml @ 112:87ec0ecdc2af draft

Uploaded
author tyty
date Sun, 12 Apr 2015 14:28:30 -0400
parents c3092769835e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
84
c3092769835e Uploaded
tyty
parents:
diff changeset
1 <tool id="iterative_map_pipeline" name="Iterative Mapping" version="1.0">
c3092769835e Uploaded
tyty
parents:
diff changeset
2 <description>iteratively maps the raw reads of RNA structural data to the reference transcriptome</description>
c3092769835e Uploaded
tyty
parents:
diff changeset
3 <command interpreter="python">
c3092769835e Uploaded
tyty
parents:
diff changeset
4 #if $mapping_file.type == "user"
c3092769835e Uploaded
tyty
parents:
diff changeset
5 iterative_map.py $file_format.type $file_format.seq_file $reference_file $shift $length $t_end $mapping_file.type $output $mapping_file.param_v $mapping_file.param_five $mapping_file.param_three $mapping_file.param_k $mapping_file.param_a $mapping_file.param_m $mapping_file.param_best
c3092769835e Uploaded
tyty
parents:
diff changeset
6 #else
c3092769835e Uploaded
tyty
parents:
diff changeset
7 iterative_map.py $file_format.type $file_format.seq_file $reference_file $shift $length $t_end $mapping_file.type $output
c3092769835e Uploaded
tyty
parents:
diff changeset
8 #end if
c3092769835e Uploaded
tyty
parents:
diff changeset
9 </command>
c3092769835e Uploaded
tyty
parents:
diff changeset
10 <requirements>
c3092769835e Uploaded
tyty
parents:
diff changeset
11 <requirement type="package" version="1.61">biopython</requirement>
c3092769835e Uploaded
tyty
parents:
diff changeset
12 <requirement type="package" version="1.7.1">numpy</requirement>
c3092769835e Uploaded
tyty
parents:
diff changeset
13 <requirement type="package" version="0.1.18">samtools</requirement>
c3092769835e Uploaded
tyty
parents:
diff changeset
14 <requirement type="package" version="0.12.7">bowtie</requirement>
c3092769835e Uploaded
tyty
parents:
diff changeset
15 </requirements>
c3092769835e Uploaded
tyty
parents:
diff changeset
16 <inputs>
c3092769835e Uploaded
tyty
parents:
diff changeset
17 <conditional name="file_format">
c3092769835e Uploaded
tyty
parents:
diff changeset
18 <param name="type" type="select" label="File format of the reads (Default FASTQ)">
c3092769835e Uploaded
tyty
parents:
diff changeset
19 <option value="fastq">FASTQ</option>
c3092769835e Uploaded
tyty
parents:
diff changeset
20 <option value="fasta">FASTA</option>
c3092769835e Uploaded
tyty
parents:
diff changeset
21 </param>
c3092769835e Uploaded
tyty
parents:
diff changeset
22 <when value="fastq">
c3092769835e Uploaded
tyty
parents:
diff changeset
23 <param name="seq_file" type="data" format="fastq" label="Fastq file"/>
c3092769835e Uploaded
tyty
parents:
diff changeset
24 </when>
c3092769835e Uploaded
tyty
parents:
diff changeset
25 <when value="fasta">
c3092769835e Uploaded
tyty
parents:
diff changeset
26 <param name="seq_file" type="data" format="fasta" label="Fasta file"/>
c3092769835e Uploaded
tyty
parents:
diff changeset
27 </when>
c3092769835e Uploaded
tyty
parents:
diff changeset
28 </conditional>
c3092769835e Uploaded
tyty
parents:
diff changeset
29 <param name="reference_file" type="data" format="fasta" label="Reference genome/transcriptome"/>
c3092769835e Uploaded
tyty
parents:
diff changeset
30 <param name="shift" type="integer" value="1" label="Number of nucleotides trimmed each round"/>
c3092769835e Uploaded
tyty
parents:
diff changeset
31 <param name="length" type="integer" value="21" label="Minimum requirement of read length for mapping"/>
c3092769835e Uploaded
tyty
parents:
diff changeset
32 <param name="t_end" type="select" label="Trimming end">
c3092769835e Uploaded
tyty
parents:
diff changeset
33 <option value="five_end">5' end</option>
c3092769835e Uploaded
tyty
parents:
diff changeset
34 <option value="three_end">3' end</option>
c3092769835e Uploaded
tyty
parents:
diff changeset
35 </param>
c3092769835e Uploaded
tyty
parents:
diff changeset
36
c3092769835e Uploaded
tyty
parents:
diff changeset
37 <conditional name="mapping_file">
c3092769835e Uploaded
tyty
parents:
diff changeset
38 <param name="type" type="select" label="Bowtie mapping flags (Default -v 0 -a --best --strata)">
c3092769835e Uploaded
tyty
parents:
diff changeset
39 <option value="default">Default</option>
c3092769835e Uploaded
tyty
parents:
diff changeset
40 <option value="user">User specified</option>
c3092769835e Uploaded
tyty
parents:
diff changeset
41 </param>
c3092769835e Uploaded
tyty
parents:
diff changeset
42 <when value="default"/>
c3092769835e Uploaded
tyty
parents:
diff changeset
43 <when value="user">
c3092769835e Uploaded
tyty
parents:
diff changeset
44 <param name="param_v" type="integer" value="0" label="Number of mismatches for SOAP-like alignment policy (-v)"/>
c3092769835e Uploaded
tyty
parents:
diff changeset
45 <param name="param_five" type="integer" value="0" label="Trim n bases from high-quality (left) end of each read before alignment (-5)"/>
c3092769835e Uploaded
tyty
parents:
diff changeset
46 <param name="param_three" type="integer" value="0" label="Trim n bases from high-quality (right) end of each read before alignment (-3)"/>
c3092769835e Uploaded
tyty
parents:
diff changeset
47 <param name="param_k" type="integer" value="1" label="Report up to n valid alignments per read (-k)"/>
c3092769835e Uploaded
tyty
parents:
diff changeset
48 <param name="param_a" type="boolean" checked="False" truevalue = "1" falsevalue = "0" label="Whether or not to report all valid alignments per read (-a)"/>
c3092769835e Uploaded
tyty
parents:
diff changeset
49 <param name="param_m" type="integer" value="-1" label="Suppress all alignments for a read if more than n reportable alignments exist (-m), -1 for unlimited"/>
c3092769835e Uploaded
tyty
parents:
diff changeset
50 <param name="param_best" type="boolean" checked="False" truevalue = "1" falsevalue = "0" label="Whether or not to make Bowtie guarantee that reported singleton alignments are 'best' in terms of stratum and in terms of the quality values at the mismatched positions (--best --strata)"/>
c3092769835e Uploaded
tyty
parents:
diff changeset
51 </when>
c3092769835e Uploaded
tyty
parents:
diff changeset
52 </conditional>
c3092769835e Uploaded
tyty
parents:
diff changeset
53
c3092769835e Uploaded
tyty
parents:
diff changeset
54 </inputs>
c3092769835e Uploaded
tyty
parents:
diff changeset
55 <outputs>
c3092769835e Uploaded
tyty
parents:
diff changeset
56 <data name="output" type="data" format="bam"/>
c3092769835e Uploaded
tyty
parents:
diff changeset
57 </outputs>
c3092769835e Uploaded
tyty
parents:
diff changeset
58 <tests>
c3092769835e Uploaded
tyty
parents:
diff changeset
59 <test>
c3092769835e Uploaded
tyty
parents:
diff changeset
60 <param name="file_format.type" value="fasta" />
c3092769835e Uploaded
tyty
parents:
diff changeset
61 <param name="file_format.seq_file" value="sample.fasta" />
c3092769835e Uploaded
tyty
parents:
diff changeset
62 <param name="reference_file" value="rRNA.txt" />
c3092769835e Uploaded
tyty
parents:
diff changeset
63 <param name="shift" value="1" />
c3092769835e Uploaded
tyty
parents:
diff changeset
64 <param name="length" value="21" />
c3092769835e Uploaded
tyty
parents:
diff changeset
65 <param name="mapping_file.type" value="default" />
c3092769835e Uploaded
tyty
parents:
diff changeset
66 <output name="output" file="mapped.out" />
c3092769835e Uploaded
tyty
parents:
diff changeset
67 </test>
c3092769835e Uploaded
tyty
parents:
diff changeset
68 </tests>
c3092769835e Uploaded
tyty
parents:
diff changeset
69
c3092769835e Uploaded
tyty
parents:
diff changeset
70 <help>
c3092769835e Uploaded
tyty
parents:
diff changeset
71
c3092769835e Uploaded
tyty
parents:
diff changeset
72
c3092769835e Uploaded
tyty
parents:
diff changeset
73 **Overview of StructureFold**
c3092769835e Uploaded
tyty
parents:
diff changeset
74
c3092769835e Uploaded
tyty
parents:
diff changeset
75 * StructureFold is a series of software packages that automates the process of predicting RNA secondary structure for a transcript or an entire transcriptome, with or without the inclusion of constraints on the structure(s) provided by wet bench experimentation. The process consists of mapping the raw reads of RNA structural data on every transcript in the dataset to the transcriptome, getting RT stop counts on each nucleotide, calculating structural reactivities on the nucleotides, and predicting the RNA structures. Please cite: Tang, Y, Bouvier, E, Kwok CK, Ding Y, Nekrutenko, A, Bevilacqua PC, Assmann SM, StructureFold: Genome-wide RNA secondary structure mapping and reconstruction in vivo, submitted. RNA structure is predicted using the RNAstructure algorithm (http://rna.urmc.rochester.edu/RNAstructure.html).
c3092769835e Uploaded
tyty
parents:
diff changeset
76
c3092769835e Uploaded
tyty
parents:
diff changeset
77 -----
c3092769835e Uploaded
tyty
parents:
diff changeset
78
c3092769835e Uploaded
tyty
parents:
diff changeset
79 **Function**
c3092769835e Uploaded
tyty
parents:
diff changeset
80
c3092769835e Uploaded
tyty
parents:
diff changeset
81 * Iterative Mapping maps the raw reads of RNA structural data to the reference transcriptome using Bowtie (v0.12.8). It allows users to trim each read from either end to iteratively map the read to the reference transcriptome.
c3092769835e Uploaded
tyty
parents:
diff changeset
82
c3092769835e Uploaded
tyty
parents:
diff changeset
83 -----
c3092769835e Uploaded
tyty
parents:
diff changeset
84
c3092769835e Uploaded
tyty
parents:
diff changeset
85 **Input**:
c3092769835e Uploaded
tyty
parents:
diff changeset
86
c3092769835e Uploaded
tyty
parents:
diff changeset
87 * 1. Sequence file type (FASTA/FASTQ)
c3092769835e Uploaded
tyty
parents:
diff changeset
88 * 2. Sequence file (fasta/fastq format)
c3092769835e Uploaded
tyty
parents:
diff changeset
89 * 3. Reference file (fasta) used to map the reads to
c3092769835e Uploaded
tyty
parents:
diff changeset
90 * 4. “Shift” (The length of the sequence that will be trimmed at the 3’end of the reads before each round of mapping)
c3092769835e Uploaded
tyty
parents:
diff changeset
91 * 5. “Length” (The minimum length of the reads for mapping after trimming)
c3092769835e Uploaded
tyty
parents:
diff changeset
92 * [Optional]
c3092769835e Uploaded
tyty
parents:
diff changeset
93 * 1. Bowtie mapping flags (options) [Default: -v 0 -a --best --strata] (-v flag indicates the number of allowed mismatches. Use -5/-3 flag to trim the nucleotides from 5'/3' end of the reads)
c3092769835e Uploaded
tyty
parents:
diff changeset
94
c3092769835e Uploaded
tyty
parents:
diff changeset
95 -----
c3092769835e Uploaded
tyty
parents:
diff changeset
96
c3092769835e Uploaded
tyty
parents:
diff changeset
97 **Output**:
c3092769835e Uploaded
tyty
parents:
diff changeset
98
c3092769835e Uploaded
tyty
parents:
diff changeset
99 A sorted .bam file with all of the reads that are mapped
c3092769835e Uploaded
tyty
parents:
diff changeset
100
c3092769835e Uploaded
tyty
parents:
diff changeset
101
c3092769835e Uploaded
tyty
parents:
diff changeset
102
c3092769835e Uploaded
tyty
parents:
diff changeset
103 </help>
c3092769835e Uploaded
tyty
parents:
diff changeset
104 </tool>