annotate samtools_stats.xml @ 9:1cc79f49b8d5 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit c5ded4208dd70e88596ddc725795a2401773f02d"
author iuc
date Sat, 27 Nov 2021 12:33:04 +0000
parents e28839a4b932
children 3a0efe14891f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
1 <tool id="samtools_stats" name="Samtools stats" version="2.0.3" profile="@PROFILE@">
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
2 <description>generate statistics for BAM dataset</description>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
3 <macros>
2
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
4 <import>macros.xml</import>
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
5 </macros>
6
47035d167365 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 558d30ff047fe2f62658e8b57e27ebe8db77ede1"
iuc
parents: 5
diff changeset
6 <expand macro="requirements"/>
2
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
7 <expand macro="stdio"/>
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
8 <expand macro="version_command"/>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
9 <command><![CDATA[
5
5a08c09b9311 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 4
diff changeset
10 @ADDTHREADS@
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
11 @PREPARE_IDX@
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
12 @PREPARE_FASTA_IDX@
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
13 samtools stats
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
14 #if $coverage_cond.coverage_select == 'yes':
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
15 --coverage ${coverage_cond.coverage_min},${coverage_cond.coverage_max},${coverage_cond.coverage_step}
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
16 #end if
2
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
17 ${remove_dups}
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
18 #if str( $filter_by_flags.filter_flags ) == "filter":
8
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
19 #set $filter = $filter_by_flags.require_flags
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
20 @FLAGS@
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
21 --required-flag $flags
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
22 #set $filter = $filter_by_flags.exclude_flags
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
23 @FLAGS@
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
24 --filtering-flag $flags
2
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
25 #end if
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
26 #if str($gc_depth):
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
27 --GC-depth ${gc_depth}
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
28 #end if
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
29 #if str($insert_size):
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
30 --insert-size ${insert_size}
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
31 #end if
8
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
32 ## #if $read_group
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
33 ## -I '$read_group'
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
34 ## #end if
2
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
35 #if str($read_length):
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
36 --read-length ${read_length}
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
37 #end if
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
38 #if str($most_inserts):
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
39 --most-inserts ${most_inserts}
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
40 #end if
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
41 #if str($trim_quality):
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
42 --trim-quality ${trim_quality}
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
43 #end if
0d71d9467847 Uploaded
devteam
parents:
diff changeset
44
9
1cc79f49b8d5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit c5ded4208dd70e88596ddc725795a2401773f02d"
iuc
parents: 8
diff changeset
45 #if $use_ref:
1cc79f49b8d5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit c5ded4208dd70e88596ddc725795a2401773f02d"
iuc
parents: 8
diff changeset
46 --ref-seq "\$reffa"
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
47 #end if
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
48 ## TODO currently not implemented in Galaxy
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
49 ## generates STR_VALUE.bamstat where STR is given by -P and VALUE is a value of the TAG given by -S
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
50 ## needs some discover data sets action...
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
51 ## -P, --split-prefix STR
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
52 ## -S, --split TAG
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
53 $sparse
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
54 @REGIONS_FILE@
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
55 $remove_overlaps
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
56 #if str($cov_threshold):
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
57 -g $cov_threshold
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
58 #end if
8
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
59 -@ \$addthreads
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
60 infile
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
61 @REGIONS_MANUAL@
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
62 > '$output'
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
63
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
64 #if $split_output_cond.split_output_selector == "yes":
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
65 #set outputs_to_split = str($split_output_cond.generate_tables).split(',')
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
66 && mkdir split
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
67 #for s in str($split_output_cond.generate_tables).split(','):
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
68 && name=`cat '$output' | grep '\^$s' | cut -d'.' -f 1 | sed 's/^# //'`
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
69 && awk '/\^/{out=0} /\^$s/{out=1} {if(out==1){print $0}}' '$output' | sed 's/Use `grep .*` to extract this part.//' | sed 's/$s\t//' > "split/\$name.tab"
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
70 #end for
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
71 #end if
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
72 ]]></command>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
73 <inputs>
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
74 <param name="input" type="data" format="sam,bam,cram" label="BAM file" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
75 <conditional name="coverage_cond">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
76 <param name="coverage_select" type="select" label="Set coverage distribution">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
77 <option value="no" selected="True">No</option>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
78 <option value="yes">Yes</option>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
79 </param>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
80 <when value="no"/>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
81 <when value="yes">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
82 <param name="coverage_min" type="integer" value="1" label="Minimum coverage" help="Minimum coverage" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
83 <param name="coverage_max" type="integer" value="1000" label="Maximum coverage" help="Maximum coverage" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
84 <param name="coverage_step" type="integer" value="1" label="Coverage step" help="Step value for coverage" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
85 </when>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
86 </conditional>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
87 <param name="remove_dups" argument="--remove-dups" type="boolean" truevalue="--remove-dups" falsevalue="" checked="False" label="Exclude reads marked as duplicates" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
88 <conditional name="split_output_cond">
2
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
89 <param name="split_output_selector" type="select" label="Output" help="Select between one single output or separate outputs for each statistics">
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
90 <option value="no" selected="True">One single summary file</option>
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
91 <option value="yes">Separate datasets for each statistic</option>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
92 </param>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
93 <when value="no" />
0d71d9467847 Uploaded
devteam
parents:
diff changeset
94 <when value="yes">
2
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
95 <param name="generate_tables" type="select" display="checkboxes" multiple="True" label="Desired output files">
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
96 <option value="SN">Summary numbers</option>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
97 <option value="FFQ">First Fragment Qualities</option>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
98 <option value="LFQ">Last Fragment Qualities</option>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
99 <option value="MPC">Mismatches per cycle</option>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
100 <option value="GCF">GC Content of first fragments</option>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
101 <option value="GCL">GC Content of last fragments</option>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
102 <option value="GCC">ACGT content per cycle</option>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
103 <option value="FBC">ACGT content per cycle for first fragments</option>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
104 <option value="LBC">ACGT content per cycle for last fragments</option>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
105 <option value="IS">Insert sizes</option>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
106 <option value="RL">Read lengths</option>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
107 <option value="FRL">Read lengths for first fragments</option>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
108 <option value="LRL">Read lengths for last fragments</option>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
109 <option value="ID">Indel distribution</option>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
110 <option value="IC">Indels per cycle</option>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
111 <option value="COV">Coverage distribution</option>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
112 <option value="GCD">GC depth</option>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
113 </param>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
114 </when>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
115 </conditional>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
116 <conditional name="filter_by_flags">
2
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
117 <param name="filter_flags" type="select" label="Filter by SAM flags" help="More info on the flags: https://samtools.github.io/hts-specs/SAMv1.pdf">
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
118 <option value="nofilter" selected="True">Do not filter</option>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
119 <option value="filter">Filter by flags to exclude or require</option>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
120 </param>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
121 <when value="filter">
2
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
122 <param name="require_flags" argument="-f" type="select" display="checkboxes" multiple="True" label="Require">
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
123 <expand macro="flag_options" />
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
124 </param>
2
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
125 <param name="exclude_flags" argument="-F" type="select" display="checkboxes" multiple="True" label="Exclude">
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
126 <expand macro="flag_options" />
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
127 </param>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
128 </when>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
129 <when value="nofilter" />
0d71d9467847 Uploaded
devteam
parents:
diff changeset
130
0d71d9467847 Uploaded
devteam
parents:
diff changeset
131 </conditional>
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
132 <!-- TODO I would like to set the default values of float and int parameters as on the samtools stats help page, but then the tests don't work. Hence I leave the optional and give the defaults in the help -->
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
133 <param name="gc_depth" argument="--GC-depth" type="float" optional="True" label="Size of GC-depth bins" help="Decreasing bin size increases memory requirement. default=2e4" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
134 <param name="insert_size" argument="--insert-size" type="integer" optional="True" label="Maximum insert size" help="default=8000" />
8
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
135 <!-- TOOD https://github.com/samtools/samtools/issues/1489 -->
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
136 <param name="read_group" argument="--id" type="select" optional="true" label="Limit to a specific read group name" >
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
137 <options>
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
138 <filter type="data_meta" ref="input" key="read_groups" />
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
139 </options>
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
140 </param>
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
141 <param name="read_length" argument="--read-length" type="integer" optional="true" label="Minimum read length to generate statistics for" help="No cutoff if left empty" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
142 <param name="most_inserts" argument="--most-inserts" type="float" optional="true" label="Report only the main part of inserts" help="default=0.99" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
143 <param name="trim_quality" argument="--trim-quality" type="integer" optional="true" label="BWA trim parameter" help="default=0" />
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
144
8
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
145 <expand macro="optional_reference" argument="--ref-seq" help="Required for GC-depth and mismatches-per-cycle calculation"/>
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
146 <!-- unfortunately -t takes tabular and not bed like view (otherwise a macro might have simplified this) -->
8
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
147
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
148 <expand macro="regions_macro"/>
2
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
149
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
150 <param name="sparse" argument="-x/--sparse" type="boolean" truevalue="-x" falsevalue="" checked="False" label="Suppress absence of insertions" help="Suppress outputting IS rows where there are no insertions."/>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
151 <param name="remove_overlaps" argument="-p/--remove-overlaps" type="boolean" truevalue="-p" falsevalue="" checked="False" label="Remove overlaps of paired-end reads from coverage and base count computations" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
152 <param name="cov_threshold" argument="-g/--cov-threshold" optional="true" type="integer" label="Only bases with coverage above this value will be included in the target percentage computation" />
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
153 </inputs>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
154
0d71d9467847 Uploaded
devteam
parents:
diff changeset
155 <outputs>
2
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
156 <data name="output" format="tabular" label="${tool.name} on ${on_string}">
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
157 <discover_datasets directory="split" pattern="(?P&lt;designation&gt;.+)\.tab" format="tabular" visible="true" assign_primary_output="true"/>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
158 <filter>split_output_cond['split_output_selector'] == 'no'</filter>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
159 </data>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
160 <collection name="output_collection" type="list" label="${tool.name} on ${on_string}">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
161 <discover_datasets directory="split" pattern="(?P&lt;designation&gt;.+)\.tab" format="tabular" visible="false"/>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
162 <filter>split_output_cond['split_output_selector'] == 'yes'</filter>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
163 </collection>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
164 </outputs>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
165 <tests>
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
166 <!-- https://github.com/samtools/samtools/blob/9ce8c64493f7ea3fa69bc5c1ac980b1a8e3dcf1f/test/test.pl#L2402 -->
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
167 <test>
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
168 <param name="input" value="1_map_cigar.sam" ftype="sam" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
169 <conditional name="addref_cond">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
170 <param name="addref_select" value="history" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
171 <param name="ref" value="test.fa" ftype="fasta" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
172 </conditional>
8
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
173 <output name="output" file="1.stats.expected" ftype="tabular" lines_diff="2" />
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
174 </test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
175 <!-- test_cmd($opts,out=>'stat/1.stats.expected',cmd=>"$$opts{bin}/samtools stats -r $$opts{path}/stat/test.fa $$opts{path}/stat/1_map_cigar.sam | tail -n+4", exp_fix=>$efix);-->
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
176 <test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
177 <param name="input" value="2_equal_cigar_full_seq.sam" ftype="sam" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
178 <conditional name="addref_cond">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
179 <param name="addref_select" value="history" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
180 <param name="ref" value="test.fa" ftype="fasta" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
181 </conditional>
8
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
182 <output name="output" file="2.stats.expected" ftype="tabular" lines_diff="2" />
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
183 </test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
184 <!-- test_cmd($opts,out=>'stat/2.stats.expected',cmd=>"$$opts{bin}/samtools stats -r $$opts{path}/stat/test.fa $$opts{path}/stat/2_equal_cigar_full_seq.sam | tail -n+4", exp_fix=>$efix);-->
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
185 <!-- test_cmd($opts,out=>'stat/3.stats.expected',cmd=>"$$opts{bin}/samtools stats -r $$opts{path}/stat/test.fa $$opts{path}/stat/3_map_cigar_equal_seq.sam | tail -n+4", exp_fix=>$efix);-->
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
186 <!-- test_cmd($opts,out=>'stat/4.stats.expected',cmd=>"$$opts{bin}/samtools stats -r $$opts{path}/stat/test.fa $$opts{path}/stat/4_X_cigar_full_seq.sam | tail -n+4", exp_fix=>$efix);-->
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
187 <!-- test_cmd($opts,out=>'stat/5.stats.expected',cmd=>"$$opts{bin}/samtools stats -r $$opts{path}/stat/test.fa $$opts{path}/stat/5_insert_cigar.sam | tail -n+4", exp_fix=>$efix); -->
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
188 <test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
189 <param name="input" value="5_insert_cigar.sam" ftype="sam" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
190 <param name="insert_size" value="0" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
191 <conditional name="addref_cond">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
192 <param name="addref_select" value="history" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
193 <param name="ref" value="test.fa" ftype="fasta" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
194 </conditional>
8
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
195 <output name="output" file="6.stats.expected" ftype="tabular" lines_diff="2" />
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
196 </test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
197 <!-- test_cmd($opts,out=>'stat/6.stats.expected',cmd=>"$$opts{bin}/samtools stats -r $$opts{path}/stat/test.fa -i 0 $$opts{path}/stat/5_insert_cigar.sam | tail -n+4", exp_fix=>$efix); -->
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
198 <!-- test_cmd($opts,out=>'stat/7.stats.expected',cmd=>"$$opts{bin}/samtools stats -r $$opts{path}/stat/test.fa $$opts{path}/stat/7_supp.sam | tail -n+4", exp_fix=>$efix); -->
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
199 <!-- test_cmd($opts,out=>'stat/8.stats.expected',cmd=>"$$opts{bin}/samtools stats -r $$opts{path}/stat/test.fa $$opts{path}/stat/8_secondary.sam | tail -n+4", exp_fix=>$efix);-->
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
200 <!-- test_cmd($opts,out=>'stat/9.stats.expected',cmd=>"$$opts{bin}/samtools stats -S RG -r $$opts{path}/stat/test.fa $$opts{path}/stat/1_map_cigar.sam | tail -n+4", exp_fix=>$efix,out_map=>{"stat/1_map_cigar.sam_s1_a_1.bamstat"=>"stat/1_map_cigar.sam_s1_a_1.expected.bamstat"},hskip=>3);-->
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
201 <!-- test_cmd($opts,out=>'stat/10.stats.expected',cmd=>"$$opts{bin}/samtools stats -S RG -r $$opts{path}/stat/test.fa $$opts{path}/stat/10_map_cigar.sam | tail -n+4", exp_fix=>$efix,out_map=>{"stat/10_map_cigar.sam_s1_a_1.bamstat"=>"stat/10_map_cigar.sam_s1_a_1.expected.bamstat", "stat/10_map_cigar.sam_s1_b_1.bamstat"=>"stat/10_map_cigar.sam_s1_b_1.expected.bamstat"},hskip=>3);-->
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
202 <test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
203 <param name="input" value="11_target.sam" ftype="sam" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
204 <conditional name="addref_cond">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
205 <param name="addref_select" value="no" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
206 </conditional>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
207 <conditional name="cond_region">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
208 <param name="select_region" value="tab"/>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
209 <param name="targetregions" value="11.stats.targets" ftype="tabular" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
210 </conditional>
8
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
211 <output name="output" file="11.stats.expected" ftype="tabular" lines_diff="4" />
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
212 </test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
213 <!-- test_cmd($opts,out=>'stat/11.stats.expected',cmd=>"$$opts{bin}/samtools stats -t $$opts{path}/stat/11.stats.targets $$opts{path}/stat/11_target.sam | tail -n+4", exp_fix=>$efix); -->
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
214
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
215 <test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
216 <param name="input" value="11_target.bam" ftype="bam" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
217 <conditional name="addref_cond">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
218 <param name="addref_select" value="no" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
219 </conditional>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
220 <conditional name="cond_region">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
221 <param name="select_region" value="text"/>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
222 <param name="regions_repeat_0|region" value="ref1:10-24"/>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
223 <param name="regions_repeat_1|region" value="ref1:30-46"/>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
224 <param name="regions_repeat_2|region" value="ref1:39-56"/>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
225 </conditional>
8
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
226 <output name="output" file="11.stats.expected" ftype="tabular" lines_diff="2" />
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
227 </test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
228 <!-- test_cmd($opts,out=>'stat/11.stats.expected',cmd=>"$$opts{bin}/samtools stats $$opts{path}/stat/11_target.bam ref1:10-24 ref1:30-46 ref1:39-56 | tail -n+4", exp_fix=>$efix);
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
229 -->
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
230 <test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
231 <param name="input" value="11_target.sam" ftype="sam" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
232 <conditional name="addref_cond">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
233 <param name="addref_select" value="no" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
234 </conditional>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
235 <conditional name="cond_region">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
236 <param name="select_region" value="tab"/>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
237 <param name="targetregions" value="11.stats.targets" ftype="tabular" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
238 </conditional>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
239 <param name="cov_threshold" value="4" />
8
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
240 <output name="output" file="11.stats.g4.expected" ftype="tabular" lines_diff="4" />
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
241 </test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
242 <!-- test_cmd($opts,out=>'stat/11.stats.g4.expected',cmd=>"$$opts{bin}/samtools stats -g 4 -t $$opts{path}/stat/11.stats.targets $$opts{path}/stat/11_target.sam | tail -n+4", exp_fix=>$efix);-->
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
243 <test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
244 <param name="input" value="11_target.bam" ftype="bam" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
245 <conditional name="addref_cond">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
246 <param name="addref_select" value="no" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
247 </conditional>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
248 <conditional name="cond_region">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
249 <param name="select_region" value="text"/>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
250 <param name="regions_repeat_0|region" value="ref1:10-24"/>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
251 <param name="regions_repeat_1|region" value="ref1:30-46"/>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
252 <param name="regions_repeat_2|region" value="ref1:39-56"/>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
253 </conditional>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
254 <param name="cov_threshold" value="4" />
8
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
255 <output name="output" file="11.stats.g4.expected" ftype="tabular" lines_diff="2" />
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
256 </test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
257 <!-- test_cmd($opts,out=>'stat/11.stats.g4.expected',cmd=>"$$opts{bin}/samtools stats -g 4 $$opts{path}/stat/11_target.bam ref1:10-24 ref1:30-46 ref1:39-56 | tail -n+4", exp_fix=>$efix); -->
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
258 <test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
259 <param name="input" value="12_overlaps.bam" ftype="bam" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
260 <conditional name="addref_cond">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
261 <param name="addref_select" value="no" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
262 </conditional>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
263 <conditional name="cond_region">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
264 <param name="select_region" value="tab"/>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
265 <param name="targetregions" value="12_3reads.bed" ftype="tabular" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
266 </conditional>
8
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
267 <output name="output" file="12.3reads.overlap.expected" ftype="tabular" lines_diff="4" />
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
268 </test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
269 <!-- test_cmd($opts,out=>'stat/12.3reads.overlap.expected',cmd=>"$$opts{bin}/samtools stats $$opts{path}/stat/12_overlaps.bam -t $$opts{path}/stat/12_3reads.bed | tail -n+4", exp_fix=>$efix);-->
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
270 <test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
271 <param name="input" value="12_overlaps.bam" ftype="bam" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
272 <conditional name="addref_cond">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
273 <param name="addref_select" value="no" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
274 </conditional>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
275 <conditional name="cond_region">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
276 <param name="select_region" value="tab"/>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
277 <param name="targetregions" value="12_3reads.bed" ftype="tabular" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
278 </conditional>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
279 <param name="remove_overlaps" value="-p"/>
8
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
280 <output name="output" file="12.3reads.nooverlap.expected" ftype="tabular" lines_diff="4" />
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
281 </test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
282 <!-- test_cmd($opts,out=>'stat/12.3reads.nooverlap.expected',cmd=>"$$opts{bin}/samtools stats $$opts{path}/stat/12_overlaps.bam -p -t $$opts{path}/stat/12_3reads.bed | tail -n+4", exp_fix=>$efix);-->
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
283 <test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
284 <param name="input" value="12_overlaps.bam" ftype="bam" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
285 <conditional name="addref_cond">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
286 <param name="addref_select" value="no" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
287 </conditional>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
288 <conditional name="cond_region">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
289 <param name="select_region" value="tab"/>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
290 <param name="targetregions" value="12_2reads.bed" ftype="tabular" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
291 </conditional>
8
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
292 <output name="output" file="12.2reads.overlap.expected" ftype="tabular" lines_diff="4" />
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
293 </test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
294 <!-- test_cmd($opts,out=>'stat/12.2reads.overlap.expected',cmd=>"$$opts{bin}/samtools stats $$opts{path}/stat/12_overlaps.bam -t $$opts{path}/stat/12_2reads.bed | tail -n+4", exp_fix=>$efix);-->
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
295 <test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
296 <param name="input" value="12_overlaps.bam" ftype="bam" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
297 <conditional name="addref_cond">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
298 <param name="addref_select" value="no" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
299 </conditional>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
300 <conditional name="cond_region">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
301 <param name="select_region" value="tab"/>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
302 <param name="targetregions" value="12_2reads.bed" ftype="tabular" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
303 </conditional>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
304 <param name="remove_overlaps" value="-p"/>
8
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
305 <output name="output" file="12.2reads.nooverlap.expected" ftype="tabular" lines_diff="4" />
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
306 </test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
307 <!-- test_cmd($opts,out=>'stat/12.2reads.nooverlap.expected',cmd=>"$$opts{bin}/samtools stats $$opts{path}/stat/12_overlaps.bam -p -t $$opts{path}/stat/12_2reads.bed | tail -n+4", exp_fix=>$efix);-->
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
308 <test>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
309 <param name="input" value="samtools_stats_input.bam" ftype="bam" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
310 <conditional name="addref_cond">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
311 <param name="addref_select" value="history" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
312 <param name="ref" value="samtools_stats_ref.fa" ftype="fasta" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
313 </conditional>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
314 <output name="output" file="samtools_stats_out1.tab" ftype="tabular" lines_diff="2" />
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
315 </test>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
316 <test>
3
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
317 <param name="input" value="samtools_stats_input.bam" ftype="bam" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
318 <conditional name="addref_cond">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
319 <param name="addref_select" value="history" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
320 <param name="ref" value="samtools_stats_ref.fa" ftype="fasta" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
321 </conditional>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
322 <conditional name="split_output_cond">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
323 <param name="split_output_selector" value="yes" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
324 <param name="generate_tables" value="SN,MPC,GCC" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
325 </conditional>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
326 <output_collection name="output_collection" type="list">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
327 <element name="ACGT content per cycle" ftype="tabular" file="samtools_stats_out1__gcc.tab"/>
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
328 <element name="Mismatches per cycle and quality" ftype="tabular" file="samtools_stats_out1__mpc.tab" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
329 <element name="Summary Numbers" ftype="tabular" file="samtools_stats_out1__sn.tab" />
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
330 </output_collection>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
331 </test>
8
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
332 <!-- test filtering by read group -->
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
333 <!-- <test>
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
334 <param name="input" value="11_target.sam" ftype="sam" />
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
335 <conditional name="addref_cond">
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
336 <param name="addref_select" value="no" />
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
337 </conditional>
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
338 <param name="read_group" value="grp1" />
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
339 <output name="output" file="11.stats.read_groups.expected" ftype="tabular" lines_diff="2" />
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
340 <assert_command>
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
341 <has_text text="-I 'grp1'"/>
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
342 </assert_command>
e28839a4b932 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 7
diff changeset
343 </test> -->
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
344 </tests>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
345 <help><![CDATA[
0d71d9467847 Uploaded
devteam
parents:
diff changeset
346 **What it does**
0d71d9467847 Uploaded
devteam
parents:
diff changeset
347
2
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
348 This tool runs the ``samtools stats`` command.
6
47035d167365 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 558d30ff047fe2f62658e8b57e27ebe8db77ede1"
iuc
parents: 5
diff changeset
349
47035d167365 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 558d30ff047fe2f62658e8b57e27ebe8db77ede1"
iuc
parents: 5
diff changeset
350 The results of samtools stats can be visualized with MultiQC (for this the default of a single output file needs to be selected).
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
351 ]]></help>
2
24c5d43cb545 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
352 <expand macro="citations"/>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
353 </tool>