# HG changeset patch # User iuc # Date 1567766126 14400 # Node ID 83b8e36e9cbe7a6316f9fc95df8b6615be33c251 # Parent 046cbf29795a984871a227a7cc5c35176edbd3f1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 91b28adf44f425970469cc52fc5c13e75409ed27" diff -r 046cbf29795a -r 83b8e36e9cbe samtools_markdup.xml --- a/samtools_markdup.xml Fri Sep 28 04:29:07 2018 -0400 +++ b/samtools_markdup.xml Fri Sep 06 06:35:26 2019 -0400 @@ -1,4 +1,4 @@ - + marks duplicate alignments macros.xml @@ -11,7 +11,7 @@ ## coordinate sort input #if not $bamfile.is_of_type('bam'): samtools sort - -@ \$addthreads -m \${GALAXY_MEMORY_MB:-768}M -T sorttemp + -@ \$addthreads -m \${GALAXY_MEMORY_MB:-768}M -T "\${TMPDIR:-.}" -O sam -o coordsort.sam '$bamfile' && @@ -30,51 +30,66 @@ $supp coordsort.sam '$output' +#if $stats + 2> '$stats_output' +#end if ]]> - - + + - - + + + + stats + - + + - - + + - - + + - + + + + + + + Mark duplicate alignments from a coordinate sorted file that has been run through fixmate with the -m option. This program relies on the MC and ms tags that fixmate provides. Note: The Galaxy tool sorts the data automatically if the input is SAM or query name sorted. The output is BAM (which is query name sorted again if the input is). - + +The optional basic statistics output of samtools markdup can be visualized with MultiQC. + + diff -r 046cbf29795a -r 83b8e36e9cbe test-data/stats.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/stats.txt Fri Sep 06 06:35:26 2019 -0400 @@ -0,0 +1,5 @@ +READ 16 WRITTEN 16 +EXCLUDED 3 EXAMINED 13 +PAIRED 10 SINGLE 3 +DULPICATE PAIR 4 DUPLICATE SINGLE 2 +DUPLICATE TOTAL 6