comparison bam_stat.xml @ 3:71ed55a3515a draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
author iuc
date Tue, 14 Mar 2017 10:22:57 -0400
parents f92b87abef3d
children d7f6b3653d84
comparison
equal deleted inserted replaced
2:ebadf9ee2d08 3:71ed55a3515a
1 <tool id="bam_stat" name="BAM/SAM Mapping Stats"> 1 <tool id="rseqc_bam_stat" name="BAM/SAM Mapping Stats" version="@WRAPPER_VERSION@">
2 <description> 2 <description>
3 reads mapping statistics for a provided BAM or SAM file. 3 reads mapping statistics for a provided BAM or SAM file.
4 </description> 4 </description>
5 <requirements>
6 <requirement type="package" version="2.3.7">rseqc</requirement>
7 </requirements>s
8 <command interpreter="python">
9 bam_stat.py -i $input -q $mapqual &amp;> $output
10 </command>
11 <inputs>
12 <param name="input" type="data" label="Input .bam/.sam File" format="bam,sam" />
13 <param label="Minimum mapping quality (default=30" type="integer" value="30" name="mapqual" />
14 </inputs>
15 <outputs>
16 <data format="txt" name="output" />
17 </outputs>
18 <tests>
19 <test>
20 <param name="input" value="Pairend_nonStrandSpecific_36mer_Human_hg19.bam" />
21 <output name="bamstatout.txt"
22 </test>
23 </tests>
24 <help>
25 .. image:: https://code.google.com/p/rseqc/logo?cct=1336721062
26 5
27 ----- 6 <macros>
7 <import>rseqc_macros.xml</import>
8 </macros>
28 9
29 About RSeQC 10 <expand macro="requirements" />
11
12 <expand macro="stdio" />
13
14 <version_command><![CDATA[bam_stat.py --version]]></version_command>
15
16 <command><![CDATA[
17 bam_stat.py -i '${input}' -q ${mapq} > '${output}'
18 ]]>
19 </command>
20
21 <inputs>
22 <expand macro="bam_param" />
23 <expand macro="mapq_param" />
24 </inputs>
25
26 <outputs>
27 <data format="txt" name="output" />
28 </outputs>
29
30 <tests>
31 <test>
32 <param name="input" value="pairend_strandspecific_51mer_hg19_chr1_1-100000.bam" />
33 <output name="output" file="output.bamstats.txt" />
34 </test>
35 </tests>
36
37 <help><![CDATA[
38 bam_stat.py
30 +++++++++++ 39 +++++++++++
31 40
32 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. 41 This program is used to calculate reads mapping statistics from provided BAM
33 42 file. This script determines "uniquely mapped reads" from `mapping quality
34 The RSeQC package is licensed under the GNU GPL v3 license. 43 <http://genome.sph.umich.edu/wiki/Mapping_Quality_Scores>`_,
44 which quality the probability that a read is misplaced (Do NOT confused with
45 sequence quality, sequence quality measures the probability that a base-calling
46 was wrong) .
35 47
36 Inputs 48 Inputs
37 ++++++++++++++ 49 ++++++++++++++
38 50
39 Input BAM/SAM file 51 Input BAM/SAM file
40 Alignment file in BAM/SAM format. 52 Alignment file in BAM/SAM format.
41 53
42 Minimum mapping quality 54 Minimum mapping quality
43 Minimum mapping quality for an alignment to be called “uniquely mapped” (default=30) 55 Minimum mapping quality for an alignment to be called "uniquely mapped" (default=30)
44 56
45 Output 57 Output
46 ++++++++++++++ 58 ++++++++++++++
47 59
48 - Total Reads (Total records) = {Multiple mapped reads} + {Uniquely mapped} 60 - Total Reads (Total records) = {Multiple mapped reads} + {Uniquely mapped}
49 - Uniquely mapped Reads = {read-1} + {read-2} (if paired end) 61 - Uniquely mapped Reads = {read-1} + {read-2} (if paired end)
50 - Uniquely mapped Reads = {Reads map to '+'} + {Reads map to '-'} 62 - Uniquely mapped Reads = {Reads map to '+'} + {Reads map to '-'}
51 - Uniquely mapped Reads = {Splice reads} + {Non-splice reads} 63 - Uniquely mapped Reads = {Splice reads} + {Non-splice reads}
52 64
65 @ABOUT@
53 66
54 </help> 67 ]]>
68 </help>
69
70 <expand macro="citations" />
55 </tool> 71 </tool>