annotate samtools_markdup.xml @ 3:d0a568e1904b draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
author iuc
date Tue, 28 Sep 2021 16:14:29 +0000
parents a312a0fdaf31
children 8c440c3002bc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
1 <tool id="samtools_markdup" name="Samtools markdup" version="@TOOL_VERSION@" profile="@PROFILE@" >
0
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
2 <description>marks duplicate alignments</description>
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
3 <macros>
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
4 <import>macros.xml</import>
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
5 </macros>
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
7 <expand macro="stdio"/>
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
8 <expand macro="version_command"/>
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
9 <command><![CDATA[
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
10 @ADDTHREADS@
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
11 ## coordinate sort input
0
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
12 #if not $bamfile.is_of_type('bam'):
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
13 samtools sort
1
83b8e36e9cbe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 91b28adf44f425970469cc52fc5c13e75409ed27"
iuc
parents: 0
diff changeset
14 -@ \$addthreads -m \${GALAXY_MEMORY_MB:-768}M -T "\${TMPDIR:-.}"
0
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
15 -O sam
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
16 -o coordsort.sam
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
17 '$bamfile' &&
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
18 #else:
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
19 ln -s '$bamfile' coordsort.sam &&
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
20 #end if
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
21
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
22 samtools markdup
0
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
23
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
24 -@ \$addthreads
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
25 #if str($maxlen) != '':
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
26 -l $maxlen
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
27 #end if
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
28 $remove
0
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
29 $supp
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
30 #if $odist:
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
31 -d $odist
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
32 #end if
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
33 $existing_tags
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
34 -m $mode
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
35 $include_fails
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
36 #if $output_options.stats == 'yes'
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
37 -s
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
38 -f '$stats_output'
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
39 #end if
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
40 -O $output_options.output_format.select_oformat
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
41 #if $output_options.output_format.select_oformat == "CRAM"
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
42 --reference '$output_options.output_format.ref_file'
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
43 #end if
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
44 coordsort.sam
0
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
45 '$output'
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
46 ]]></command>
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
47 <inputs>
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
48 <param name="bamfile" type="data" format="sam,bam,cram" optional="false" label="Alignment" />
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
49 <param name="remove" type="boolean" argument="-r" truevalue="-r" falsevalue="" label="Remove duplicate reads" />
1
83b8e36e9cbe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 91b28adf44f425970469cc52fc5c13e75409ed27"
iuc
parents: 0
diff changeset
50 <param name="supp" type="boolean" argument="-S" truevalue="-S" falsevalue="" label="Mark supplementary reads of duplicates as duplicates" />
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
51 <param name="existing_tags" type="boolean" argument="-c" truevalue="-c" falsevalue="" label="Clear previous duplicate settings and tags." />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
52 <param name="maxlen" type="integer" optional="true" argument="-l" min="0" label="Expected maximum read length of INT bases. (default 300, min=0)"/>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
53 <param name="odist" type="integer" optional="true" argument="-d" min="1" label="Optical distance (if set, marks with dt tag, min=1)"/>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
54 <param argument="--mode" type="select" label="Duplicate decision method for paired reads.">
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
55 <option selected="true" value="t">(t) measure positions based on template start/end.</option>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
56 <option value="s">(s) measure positions based on sequence start. </option>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
57 </param>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
58 <param argument="--include-fails" type="boolean" truevalue="--include-fails" falsevalue="" label="Include quality check failed reads." />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
59 <section name="output_options" title="Output Options" expanded="true">
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
60 <param name="stats" type="select" argument="-s" label="Print basic statistics">
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
61 <option value="yes">Yes</option>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
62 <option value="no" selected="True">No</option>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
63 </param>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
64 <conditional name="output_format">
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
65 <param name="select_oformat" type="select" label="Output format" help="Specify output format">
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
66 <option value="SAM">SAM</option>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
67 <option value="BAM" selected="True">BAM</option>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
68 <option value="CRAM">CRAM</option>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
69 </param>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
70 <when value="SAM" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
71 <when value="BAM" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
72 <when value="CRAM">
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
73 <param name="ref_file" type="data" format="fasta" label="Reference FASTA file" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
74 </when>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
75 </conditional>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
76 </section>
0
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
77 </inputs>
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
78 <outputs>
1
83b8e36e9cbe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 91b28adf44f425970469cc52fc5c13e75409ed27"
iuc
parents: 0
diff changeset
79 <!-- output bam, if input was name sorted then restore this sorting order -->
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
80 <data name="output" format="bam" from_work_dir="outfile" label="${tool.name} on ${on_string}">
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
81 <change_format>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
82 <when input="output_format.select_oformat" value="SAM" format="sam" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
83 <when input="output_format.select_oformat" value="BAM" format="bam" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
84 <when input="output_format.select_oformat" value="CRAM" format="cram" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
85 </change_format>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
86 </data>
2
a312a0fdaf31 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit e33502c1fc025859ccbcd2a273f837fac9d322e0"
iuc
parents: 1
diff changeset
87 <data name="stats_output" format="txt" label="${tool.name} on ${on_string}: statistics">
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
88 <filter>(output_options['stats'] == 'yes')</filter>
1
83b8e36e9cbe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 91b28adf44f425970469cc52fc5c13e75409ed27"
iuc
parents: 0
diff changeset
89 </data>
0
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
90 </outputs>
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
91 <tests>
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
92 <!-- 1) -->
1
83b8e36e9cbe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 91b28adf44f425970469cc52fc5c13e75409ed27"
iuc
parents: 0
diff changeset
93 <test expect_num_outputs="1">
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
94 <param name="bamfile" value="1_markdup.sam" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
95 <output name="output" file="1_markdup.expected.bam" ftype="bam" lines_diff="4" />
0
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
96 </test>
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
97 <!-- 2) -->
1
83b8e36e9cbe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 91b28adf44f425970469cc52fc5c13e75409ed27"
iuc
parents: 0
diff changeset
98 <test expect_num_outputs="1">
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
99 <param name="bamfile" value="2_remove_dups.sam" />
0
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
100 <param name="remove" value="-r" />
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
101 <output name="output" file="2_remove_dups.expected.bam" ftype="bam" lines_diff="4" />
0
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
102 </test>
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
103 <!-- 3) -->
1
83b8e36e9cbe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 91b28adf44f425970469cc52fc5c13e75409ed27"
iuc
parents: 0
diff changeset
104 <test expect_num_outputs="1">
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
105 <param name="bamfile" value="3_mark_supp_dup.bam" />
0
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
106 <param name="supp" value="-S" />
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
107 <output name="output" file="3_mark_supp_dup.expected.bam" ftype="bam" lines_diff="4" />
0
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
108 </test>
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
109 <!-- 4) test stats output -->
1
83b8e36e9cbe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 91b28adf44f425970469cc52fc5c13e75409ed27"
iuc
parents: 0
diff changeset
110 <test expect_num_outputs="2">
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
111 <param name="bamfile" value="1_markdup.sam" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
112 <param name="stats" value="yes" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
113 <output name="output" file="1_markdup.expected.bam" ftype="bam" lines_diff="4" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
114 <output name="stats_output" file="stats.txt" lines_diff="2" />
1
83b8e36e9cbe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 91b28adf44f425970469cc52fc5c13e75409ed27"
iuc
parents: 0
diff changeset
115 </test>
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
116 <!-- 5) check that stderr is not swallowed w test data from fixmate -->
2
a312a0fdaf31 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit e33502c1fc025859ccbcd2a273f837fac9d322e0"
iuc
parents: 1
diff changeset
117 <test expect_num_outputs="2" expect_exit_code="1" expect_failure="true">
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
118 <param name="bamfile" value="3_two_read_mapped.sam" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
119 <param name="stats" value="yes"/>
2
a312a0fdaf31 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit e33502c1fc025859ccbcd2a273f837fac9d322e0"
iuc
parents: 1
diff changeset
120 <!-- for some reason this is not possible at the moment
a312a0fdaf31 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit e33502c1fc025859ccbcd2a273f837fac9d322e0"
iuc
parents: 1
diff changeset
121 <output name="stats_output">
a312a0fdaf31 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit e33502c1fc025859ccbcd2a273f837fac9d322e0"
iuc
parents: 1
diff changeset
122 <assert_contents>
a312a0fdaf31 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit e33502c1fc025859ccbcd2a273f837fac9d322e0"
iuc
parents: 1
diff changeset
123 <has_line line="[markdup] error: no MC tag. Please run samtools fixmate on file first."/>
a312a0fdaf31 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit e33502c1fc025859ccbcd2a273f837fac9d322e0"
iuc
parents: 1
diff changeset
124 </assert_contents>
a312a0fdaf31 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit e33502c1fc025859ccbcd2a273f837fac9d322e0"
iuc
parents: 1
diff changeset
125 </output> -->
a312a0fdaf31 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit e33502c1fc025859ccbcd2a273f837fac9d322e0"
iuc
parents: 1
diff changeset
126 <assert_stderr>
a312a0fdaf31 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit e33502c1fc025859ccbcd2a273f837fac9d322e0"
iuc
parents: 1
diff changeset
127 <has_line line="[markdup] error: no MC tag. Please run samtools fixmate on file first."/>
a312a0fdaf31 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit e33502c1fc025859ccbcd2a273f837fac9d322e0"
iuc
parents: 1
diff changeset
128 </assert_stderr>
a312a0fdaf31 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit e33502c1fc025859ccbcd2a273f837fac9d322e0"
iuc
parents: 1
diff changeset
129 </test>
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
130 <!-- 6) check optical distance and check -c option -->
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
131 <test expect_num_outputs="1">
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
132 <param name="bamfile" value="1_markdup.sam" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
133 <param name="odist" value="10" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
134 <param name="existing_tags" value="-c" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
135 <output name="output" file="6_markdup.expected.bam" ftype="bam" lines_diff="4" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
136 </test>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
137 <!-- 7) check new mode s -->
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
138 <test expect_num_outputs="1">
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
139 <param name="bamfile" value="1_markdup.sam" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
140 <param name="mode_selector" value="s" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
141 <output name="output" file="7_markdup.expected.bam" ftype="bam" lines_diff="4" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
142 </test>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
143 <!-- 8) check include-fails -->
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
144 <test expect_num_outputs="1">
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
145 <param name="bamfile" value="1_markdup.sam" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
146 <param name="fails" value="- -include-fails" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
147 <output name="output" file="8_markdup.expected.bam" ftype="bam" lines_diff="4" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
148 </test>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
149 <!-- 9) test sam format -->
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
150 <test expect_num_outputs="1">
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
151 <param name="bamfile" value="1_markdup.sam" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
152 <param name="select_oformat" value="SAM" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
153 <output name="output" file="9_markdup.expected.sam" lines_diff="4" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
154 </test>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
155 <!-- 10) test cram format -->
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
156 <test expect_num_outputs="1">
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
157 <param name="bamfile" value="10_markdup.sam" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
158 <param name="select_oformat" value="CRAM" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
159 <param name="ref_file" value="test.fa" />
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
160 <output name="output" file="10_markdup.expected.cram" compare="sim_size" delta="250"/>
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
161 </test>
0
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
162 </tests>
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
163 <help>
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
164 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.
0
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
165
3
d0a568e1904b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 2
diff changeset
166 Note: The Galaxy tool sorts the data automatically if the input is SAM or query name sorted.
0
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
167 The output is BAM (which is query name sorted again if the input is).
1
83b8e36e9cbe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 91b28adf44f425970469cc52fc5c13e75409ed27"
iuc
parents: 0
diff changeset
168
83b8e36e9cbe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 91b28adf44f425970469cc52fc5c13e75409ed27"
iuc
parents: 0
diff changeset
169 The optional basic statistics output of samtools markdup can be visualized with MultiQC.
83b8e36e9cbe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 91b28adf44f425970469cc52fc5c13e75409ed27"
iuc
parents: 0
diff changeset
170
83b8e36e9cbe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 91b28adf44f425970469cc52fc5c13e75409ed27"
iuc
parents: 0
diff changeset
171 </help>
0
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
172 <expand macro="citations"/>
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
173 </tool>