Mercurial > repos > iuc > samtools_markdup
annotate samtools_markdup.xml @ 7:ce32171c6d44 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit deb37086489259607f5edcba25750434bbf4823e
author | iuc |
---|---|
date | Fri, 07 Apr 2023 21:47:07 +0000 |
parents | b5527cc104ab |
children | a389f74c3630 |
rev | line source |
---|---|
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
|
1 <tool id="samtools_markdup" name="Samtools markdup" version="@TOOL_VERSION@+galaxy1" 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> |
046cbf29795a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 0fe00966500158720fb63dc9b28f6a4ca0d1e1eb
iuc
parents:
diff
changeset
|
54 <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
|
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"> |
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
|
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" /> |
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
|
114 </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
|
115 <!-- 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
|
116 <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
|
117 <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
|
118 <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
|
119 <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
|
120 <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
|
121 </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
|
122 <!-- 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
|
123 <test expect_num_outputs="2" 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
|
124 <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
|
125 <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
|
126 <!-- 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
|
127 <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
|
128 <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
|
129 <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
|
130 </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
|
131 </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
|
132 <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
|
133 <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
|
134 </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
|
135 </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
|
136 <!-- 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
|
137 <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
|
138 <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
|
139 <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
|
140 <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
|
141 <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
|
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 <!-- 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
|
144 <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
|
145 <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
|
146 <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
|
147 <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
|
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 <!-- 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
|
150 <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
|
151 <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
|
152 <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
|
153 <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
|
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 <!-- 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
|
156 <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
|
157 <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
|
158 <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
|
159 <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
|
160 </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
|
161 <!-- 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
|
162 <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
|
163 <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
|
164 <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
|
165 <param name="ref_file" value="test.fa" /> |
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
|
166 <output name="output" file="10_markdup.expected.cram" ftype="cram" compare="sim_size" delta="250"/> |
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
|
167 </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
|
168 </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
|
169 <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
|
170 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
|
171 |
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
|
172 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
|
173 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
|
174 |
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
|
175 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
|
176 |
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
|
177 </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
|
178 <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
|
179 </tool> |