annotate samtools_markdup.xml @ 8:a389f74c3630 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
author iuc
date Mon, 20 Nov 2023 22:15:54 +0000
parents ce32171c6d44
children 40fa6c240105
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
1 <tool id="samtools_markdup" name="Samtools markdup" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" 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
5
887e02a45734 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 84db51c96845854eb42c1a9949e4b79316b41925
iuc
parents: 4
diff changeset
22 ## copy fasta reference if needed
887e02a45734 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 84db51c96845854eb42c1a9949e4b79316b41925
iuc
parents: 4
diff changeset
23 ## because samtools will try to write a .fai file next to it
887e02a45734 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 84db51c96845854eb42c1a9949e4b79316b41925
iuc
parents: 4
diff changeset
24 #if $output_options.output_format.select_oformat == "CRAM"
887e02a45734 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 84db51c96845854eb42c1a9949e4b79316b41925
iuc
parents: 4
diff changeset
25 ln -s '$output_options.output_format.ref_file' ref_file.fa &&
887e02a45734 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 84db51c96845854eb42c1a9949e4b79316b41925
iuc
parents: 4
diff changeset
26 #end if
887e02a45734 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 84db51c96845854eb42c1a9949e4b79316b41925
iuc
parents: 4
diff changeset
27
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
28 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
29
046cbf29795a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff changeset
30 -@ \$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
31 #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
32 -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
33 #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
34 $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
35 $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
36 #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
37 -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
38 #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
39 $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
40 -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
41 $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
42 #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
43 -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
44 -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
45 #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
46 -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
47 #if $output_options.output_format.select_oformat == "CRAM"
5
887e02a45734 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 84db51c96845854eb42c1a9949e4b79316b41925
iuc
parents: 4
diff changeset
48 --reference ref_file.fa
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
49 #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
50 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
51 '$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
52 ]]></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
53 <inputs>
8
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
54 <param name="bamfile" type="data" format="sam,unsorted.bam,cram" optional="false" label="Alignment" />
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
55 <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
56 <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
57 <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
58 <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
59 <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
60 <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
61 <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
62 <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
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 <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
65 <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
66 <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
67 <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
68 <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
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 <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
71 <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
72 <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
73 <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
74 <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
75 </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
76 <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
77 <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
78 <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
79 <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
80 </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
81 </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
82 </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
83 </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
84 <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
85 <!-- 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
86 <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
87 <change_format>
7
ce32171c6d44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit deb37086489259607f5edcba25750434bbf4823e
iuc
parents: 6
diff changeset
88 <when input="output_options.output_format.select_oformat" value="SAM" format="sam" />
ce32171c6d44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit deb37086489259607f5edcba25750434bbf4823e
iuc
parents: 6
diff changeset
89 <when input="output_options.output_format.select_oformat" value="BAM" format="bam" />
ce32171c6d44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit deb37086489259607f5edcba25750434bbf4823e
iuc
parents: 6
diff changeset
90 <when input="output_options.output_format.select_oformat" value="CRAM" format="cram" />
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
91 </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
92 </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
93 <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
94 <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
95 </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
96 </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
97 <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
98 <!-- 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
99 <test expect_num_outputs="1">
7
ce32171c6d44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit deb37086489259607f5edcba25750434bbf4823e
iuc
parents: 6
diff changeset
100 <param name="bamfile" value="1_markdup.sam" ftype="sam" />
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="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
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 <!-- 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
104 <test expect_num_outputs="1">
7
ce32171c6d44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit deb37086489259607f5edcba25750434bbf4823e
iuc
parents: 6
diff changeset
105 <param name="bamfile" value="2_remove_dups.sam" ftype="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
106 <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
107 <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
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 <!-- 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
110 <test expect_num_outputs="1">
8
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
111 <param name="bamfile" value="3_mark_supp_dup.bam" ftype="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
112 <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
113 <output name="output" file="3_mark_supp_dup.expected.bam" ftype="bam" lines_diff="4" />
8
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
114 <assert_command>
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
115 <has_text text="samtools sort" negate="true"/>
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
116 </assert_command>
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
117 </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
118 <!-- 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
119 <test expect_num_outputs="2">
7
ce32171c6d44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit deb37086489259607f5edcba25750434bbf4823e
iuc
parents: 6
diff changeset
120 <param name="bamfile" value="1_markdup.sam" ftype="sam"/>
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
121 <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
122 <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
123 <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
124 </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
125 <!-- 5) check that stderr is not swallowed w test data from fixmate -->
8
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
126 <test expect_exit_code="1" expect_failure="true">
7
ce32171c6d44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit deb37086489259607f5edcba25750434bbf4823e
iuc
parents: 6
diff changeset
127 <param name="bamfile" value="3_two_read_mapped.sam" ftype="sam" />
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
128 <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
129 <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
130 <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
131 </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
132 </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
133 <!-- 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
134 <test expect_num_outputs="1">
7
ce32171c6d44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit deb37086489259607f5edcba25750434bbf4823e
iuc
parents: 6
diff changeset
135 <param name="bamfile" value="1_markdup.sam" ftype="sam"/>
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
136 <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
137 <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
138 <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
139 </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
140 <!-- 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
141 <test expect_num_outputs="1">
7
ce32171c6d44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit deb37086489259607f5edcba25750434bbf4823e
iuc
parents: 6
diff changeset
142 <param name="bamfile" value="1_markdup.sam" ftype="sam"/>
4
8c440c3002bc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 1354b1358df89a922c3243f7e27ce789094b8644"
iuc
parents: 3
diff changeset
143 <param name="mode" 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
144 <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
145 </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
146 <!-- 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
147 <test expect_num_outputs="1">
7
ce32171c6d44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit deb37086489259607f5edcba25750434bbf4823e
iuc
parents: 6
diff changeset
148 <param name="bamfile" value="1_markdup.sam" ftype="sam"/>
4
8c440c3002bc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 1354b1358df89a922c3243f7e27ce789094b8644"
iuc
parents: 3
diff changeset
149 <param name="include_fails" value="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
150 <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
151 </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
152 <!-- 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
153 <test expect_num_outputs="1">
7
ce32171c6d44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit deb37086489259607f5edcba25750434bbf4823e
iuc
parents: 6
diff changeset
154 <param name="bamfile" value="1_markdup.sam" ftype="sam"/>
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
155 <param name="select_oformat" value="SAM" />
7
ce32171c6d44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit deb37086489259607f5edcba25750434bbf4823e
iuc
parents: 6
diff changeset
156 <output name="output" file="9_markdup.expected.sam" ftype="sam" lines_diff="4" />
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
157 </test>
8
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
158 <!-- 10) essentially the same as test 9 (just converted input to sorted bam .. but telling Galaxy its qname sorted)
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
159 to test qname sorted bam format and ensure that sorting happens in the tool
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
160 ie. the qname_sorted bam is not converted implicitly -->
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
161 <test expect_num_outputs="1">
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
162 <param name="bamfile" value="1_markdup.qname_sorted.bam" ftype="qname_sorted.bam" />
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
163 <param name="select_oformat" value="SAM" />
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
164 <output name="output" file="9_markdup.expected.sam" lines_diff="4" />
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
165 <assert_command>
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
166 <has_text text="samtools sort"/>
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
167 </assert_command>
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
168 </test>
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
169
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
170 <!-- 11) test cram format -->
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
171 <test expect_num_outputs="1">
7
ce32171c6d44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit deb37086489259607f5edcba25750434bbf4823e
iuc
parents: 6
diff changeset
172 <param name="bamfile" value="10_markdup.sam" ftype="sam"/>
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
173 <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
174 <param name="ref_file" value="test.fa" />
8
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
175 <output name="output" file="11_markdup.expected.cram" ftype="cram" compare="sim_size" delta="250"/>
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
176 <assert_command>
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
177 <has_text text="samtools sort"/>
a389f74c3630 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
178 </assert_command>
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
179 </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
180 </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
181 <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
182 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
183
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
184 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
185 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
186
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
187 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
188
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
189 </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
190 <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
191 </tool>