comparison rseqc/bam2wig.xml @ 27:5dbd20d3d623

Uploaded
author nilesh
date Thu, 11 Jul 2013 12:28:04 -0400
parents
children
comparison
equal deleted inserted replaced
26:9a33e347a3de 27:5dbd20d3d623
1 <tool id="bam2wig" name="BAM to Wiggle">
2 <description>
3 converts all types of RNA-seq data from .bam to .wig
4 </description>
5 <command interpreter="python">
6 samtoolshelper.py /home/nilesh/RSeQC-2.3.3/scripts/bam2wig.py -i $input -s $chromsize -o outfile
7
8 #if str($strand_type.strand_specific) == "pair"
9 -d
10 #if str($strand_type.pair_type) == "sd"
11 '1++,1--,2+-,2-+'
12 #else
13 '1+-,1-+,2++,2--'
14 #end if
15 #end if
16
17 #if str($strand_type.strand_specific) == "single"
18 -d
19 #if str($strand_type.single_type) == "s"
20 '++,--'
21 #else
22 '+-,-+'
23 #end if
24 #end if
25
26 #if $wigsum.wigsum_type
27 -t $wigsum.totalwig
28 #end if
29
30 #if $skipmultihits
31 -u
32 #end if
33 </command>
34 <inputs>
35 <param name="input" type="data" label="Input .bam File" format="bam" />
36 <param name="chromsize" type="data" label="Chromosome size file (tab or space separated)" format="txt,tabular" />
37 <param name="skipmultihits" type="boolean" label="Skip Multiple Hit Reads/Only Use Uniquely Mapped Reads" value="false" />
38 <conditional name="wigsum">
39 <param name="wigsum_type" type="boolean" label="Specify wigsum?" value="false">
40 </param>
41 <when value="true">
42 <param name="totalwig" value="0" type="integer" label="specified wigsum" />
43 </when>
44 <when value="false"></when>
45 </conditional>
46 <conditional name="strand_type">
47 <param name="strand_specific" type="select" label="Strand-specific?" value="None">
48 <option value="none">None</option>
49 <option value="pair">Pair-End RNA-seq</option>
50 <option value="single">Single-End RNA-seq</option>
51 </param>
52 <when value="pair">
53 <param name="pair_type" type="select" display="radio" label="Pair-End Read Type (format: mapped --> parent)" value="sd">
54 <option value="sd"> read1 (positive --> positive; negative --> negative), read2 (positive --> negative; negative --> positive)</option>
55 <option value="ds">read1 (positive --> negative; negative --> positive), read2 (positive --> positive; negative --> negative)</option>
56 </param>
57 </when>
58 <when value="single">
59 <param name="single_type" type="select" display="radio" label="Single-End Read Type (format: mapped --> parent)" value="s">
60 <option value="s">positive --> positive; negative --> negative</option>
61 <option value="d">positive --> negative; negative --> positive</option>
62 </param>
63 </when>
64 <when value="none"></when>
65 </conditional>
66 </inputs>
67 <outputs>
68 <data format="wig" name="output" from_work_dir="outfile.wig">
69 <filter>strand_type['strand_specific'] == 'none'</filter>
70 </data>
71 <data format="wig" name="outputfwd" from_work_dir="outfile_Forward.wig">
72 <filter>strand_type['strand_specific'] != 'none'</filter>
73 </data>
74 <data format="wig" name="outputrv" from_work_dir="outfile_Reverse.wig">
75 <filter>strand_type['strand_specific'] != 'none'</filter>
76 </data>
77 </outputs>
78 <help>
79 .. image:: https://code.google.com/p/rseqc/logo?cct=1336721062
80
81 -----
82
83 About RSeQC
84 +++++++++++
85
86 The RSeQC package provides a number of useful modules that can comprehensively evaluate high throughput sequence data especially RNA-seq data. “Basic modules” quickly inspect sequence quality, nucleotide composition bias, PCR bias and GC bias, while “RNA-seq specific modules” investigate sequencing saturation status of both splicing junction detection and expression estimation, mapped reads clipping profile, mapped reads distribution, coverage uniformity over gene body, reproducibility, strand specificity and splice junction annotation.
87
88 The RSeQC package is licensed under the GNU GPL v3 license.
89
90 Inputs
91 ++++++++++++++
92
93 Input BAM file
94 Alignment file in BAM format (SAM is not supported). BAM file will be sorted and indexed using samTools.
95
96 Chromosome size file
97 Tab or space separated text file with 2 columns: first column is chromosome name, second column is size of the chromosome. Chromosome names (such as "chr1") should be consistent between this file and BAM file.
98
99 Specified wigsum (default=none)
100 Specified wigsum. Wigsum of 100000000 equals to coverage achieved by 1 million 100nt reads. Ignore this option to disable normalization.
101
102 Skip multiple Hit reads
103 skips multiple hit reads or only use uniquely mapped reads
104
105 Strand-specific (default=none)
106 How read(s) were stranded during sequencing. If you are not sure about the strand rule, run infer_experiment.py
107
108 Outputs
109 ++++++++++++++
110
111 If RNA-seq is not strand specific, one wig file will be generated, if RNA-seq
112 is strand specific, two wig files corresponding to Forward and Reverse will be generated.
113
114
115 </help>
116 </tool>