Next changeset 1:a3dd61e7bec1 (2014-03-27) |
Commit message:
Uploaded tool tarball. |
added:
samtools_flagstat.xml test-data/3unsorted.bam test-data/samtools_flagstat_out1.txt tool_dependencies.xml |
b |
diff -r 000000000000 -r 13c4ad597626 samtools_flagstat.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/samtools_flagstat.xml Mon Aug 26 14:22:51 2013 -0400 |
b |
@@ -0,0 +1,37 @@ +<tool id="samtools_flagstat" name="flagstat" version="1.0.0"> + <requirements> + <requirement type="package" version="0.1.18">samtools</requirement> + </requirements> + <description>provides simple stats on BAM files</description> + <command>samtools flagstat "$input1" > "$output1" + </command> + <inputs> + <param name="input1" type="data" format="bam" label="BAM File to Convert" /> + </inputs> + <outputs> + <data name="output1" format="txt" /> + </outputs> + <tests> + <test> + <param name="input1" value="3unsorted.bam" ftype="bam" /> + <output name="output1" file="samtools_flagstat_out1.txt" /> + </test> + </tests> + <help> + +**What it does** + +This tool uses the SAMTools_ toolkit to produce simple stats on a BAM file. + +.. _SAMTools: http://samtools.sourceforge.net/samtools.shtml + +------ + +**Citation** + +For the underlying tool, please cite `Li H, Handsaker B, Wysoker A, Fennell T, Ruan J, Homer N, Marth G, Abecasis G, Durbin R; 1000 Genome Project Data Processing Subgroup. The Sequence Alignment/Map format and SAMtools. Bioinformatics. 2009 Aug 15;25(16):2078-9. <http://www.ncbi.nlm.nih.gov/pubmed/19505943>`_ + +If you use this tool in Galaxy, please cite Blankenberg D, et al. *In preparation.* + + </help> +</tool> |
b |
diff -r 000000000000 -r 13c4ad597626 test-data/3unsorted.bam |
b |
Binary file test-data/3unsorted.bam has changed |
b |
diff -r 000000000000 -r 13c4ad597626 test-data/samtools_flagstat_out1.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/samtools_flagstat_out1.txt Mon Aug 26 14:22:51 2013 -0400 |
b |
@@ -0,0 +1,11 @@ +10 + 0 in total (QC-passed reads + QC-failed reads) +0 + 0 duplicates +10 + 0 mapped (100.00%:nan%) +0 + 0 paired in sequencing +0 + 0 read1 +0 + 0 read2 +0 + 0 properly paired (nan%:nan%) +0 + 0 with itself and mate mapped +0 + 0 singletons (nan%:nan%) +0 + 0 with mate mapped to a different chr +0 + 0 with mate mapped to a different chr (mapQ>=5) |
b |
diff -r 000000000000 -r 13c4ad597626 tool_dependencies.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Mon Aug 26 14:22:51 2013 -0400 |
b |
@@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<tool_dependency> + <package name="samtools" version="0.1.18"> + <repository changeset_revision="a7936f4ea405" name="package_samtools_0_1_18" owner="devteam" toolshed="http://toolshed.g2.bx.psu.edu" /> + </package> +</tool_dependency> |