annotate sam-stats.xml @ 1:a51942c74761 draft

planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
author lparsons
date Mon, 13 Jul 2015 11:45:51 -0400
parents b9e7569a4438
children da985dad64c0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
1 <tool id="sam_stats" name="sam-stats" version="0.1">
0
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
2 <description> - Compute statistics from SAM or BAM files</description>
1
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
3
0
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
4 <requirements>
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
5 <requirement type="package" version="1.1.2-484">ea-utils</requirement>
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
6 </requirements>
1
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
7
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
8 <stdio>
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
9 <exit_code range="1:" level="fatal" description="Unknown error occurred" />
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
10 </stdio>
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
11
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
12 <command><![CDATA[
0
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
13 sam-stats
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
14 $trackMultAlign
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
15 $reportAllChr
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
16 #if $rnaSeqStats:
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
17 -R $rnaSeqStatsFile
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
18 #end if
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
19 #if $input.extension == "bam":
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
20 -B
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
21 #end if
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
22 -S $histBinSize
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
23 $input
1
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
24 > $samStats
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
25 ]]>
0
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
26 </command>
1
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
27
0
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
28 <inputs>
1
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
29 <param format="sam, bam" name="input" type="data" label="SAM/BAM File" />
0
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
30 <param name="trackMultAlign" type="boolean" value="False" truevalue="-D" falsevalue="" label="Keep track of multiple alignments (slower!)" />
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
31 <param name="reportAllChr" type="boolean" value="False" truevalue="-A" falsevalue="" label="Report all chr sigs, even if there are more than 1000" />
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
32 <!-- <param name="numReadsSubsample" type="integer" value="1000000" min="1" max="1000000" label="Number of reads to sample for per-base statistics (max 1,000,000)" /> -->
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
33 <param name="histBinSize" type="integer" value="30" min="1" label="Number of bins per chromosome for reads by chromosome &quot;histogram&quot;" />
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
34 <param name="rnaSeqStats" type="boolean" value="False" label="Output RNA-Seq statistics (coverage, 3 prime bias, etc.)" />
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
35 </inputs>
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
36
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
37 <outputs>
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
38 <data format="tabular" name="samStats" label="${tool.name} on ${on_string}"/>
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
39 <data format="tabular" name="rnaSeqStatsFile" label="${tool.name} on ${on_string} (RNA-Seq Stats)"> <filter>rnaSeqStats</filter>
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
40 </data>
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
41 </outputs>
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
42
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
43 <tests>
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
44 <test>
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
45 <param name="input" value="test.sam" />
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
46 <output name="samStats" file="testout.txt" />
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
47 </test>
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
48 </tests>
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
49
1
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
50 <help><![CDATA[
0
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
51 Overview
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
52 --------
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
53 sam-stats computes varius statics on SAM/BAM alignment files.
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
54
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
55 Complete Stats::
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
56
1
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
57 <STATS> : mean, max, stdev, median, Q1 (25 percentile), Q3
0
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
58 reads : # of entries in the sam file, might not be # reads
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
59 phred : phred scale used
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
60 bsize : # reads used for qual stats
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
61 mapped reads : number of aligned reads (unique probe id sequences)
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
62 mapped bases : total of the lengths of the aligned reads
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
63 forward : number of forward-aligned reads
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
64 reverse : number of reverse-aligned reads
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
65 snp rate : mismatched bases / total bases
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
66 ins rate : insert bases / total bases
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
67 del rate : deleted bases / total bases
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
68 pct mismatch : percent of reads that have mismatches
1
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
69 len <STATS> : read length stats, ignored if fixed-length
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
70 mapq <STATS> : stats for mapping qualities
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
71 insert <STATS> : stats for insert sizes
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
72 <CHR> : percentage of mapped bases per chr, followed by a signature
0
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
73
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
74 Subsampled stats (1M reads max)::
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
75
1
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
76 base qual <STATS> : stats for base qualities
0
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
77 A,T,C,G : base percentages
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
78
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
79 Meaning of the per-chromosome signature:
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
80
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
81 A ascii-histogram of mapped reads by chromosome position. It is only output if the original SAM/BAM has a header. The values are the log2 of the # of mapped reads at each position + ascii '0'.
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
82
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
83 See http://code.google.com/p/ea-utils/wiki/SamStatsDetails for more information on each stat, how it's calculated and what it means.
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
84
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
85 This tool uses the sam-stats program that is part of the ea-utils suite. See http://code.google.com/p/ea-utils/wiki/SamStats for details.
1
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
86 ]]>
0
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
87 </help>
1
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
88
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
89 <citations>
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
90 <citation type="bibtex">
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
91 @article{aronesty_comparison_2013,
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
92 title = {Comparison of {Sequencing} {Utility} {Programs}},
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
93 volume = {7},
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
94 issn = {18750362},
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
95 url = {http://benthamopen.com/ABSTRACT/TOBIOIJ-7-1},
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
96 doi = {10.2174/1875036201307010001},
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
97 language = {en},
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
98 number = {1},
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
99 urldate = {2015-07-10},
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
100 journal = {The Open Bioinformatics Journal},
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
101 author = {Aronesty, Erik},
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
102 month = jan,
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
103 year = {2013},
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
104 pages = {1--8}
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
105 }
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
106 </citation>
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
107 </citations>
a51942c74761 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/sam_stats commit 394834f8f34909961cfbf6252fefbdc63342d78d
lparsons
parents: 0
diff changeset
108
0
b9e7569a4438 Uploaded initial version with package dependency.
lparsons
parents:
diff changeset
109 </tool>