annotate samtools_stats.xml @ 6:47035d167365 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 558d30ff047fe2f62658e8b57e27ebe8db77ede1"
author iuc
date Fri, 06 Sep 2019 11:23:05 -0400
parents 5a08c09b9311
children 145f6d74ff5e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
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
1 <tool id="samtools_stats" name="Samtools stats" version="2.0.2+galaxy2">
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":
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
19 #if $filter_by_flags.require_flags:
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
20 #set $filter = $filter_by_flags.require_flags
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
21 @FLAGS@
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
22 --required-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
23 #end if
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
24 #if $filter_by_flags.exclude_flags:
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
25 #set $filter = $filter_by_flags.exclude_flags
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 @FLAGS@
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 --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
28 #end if
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
29 #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
30 #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
31 --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
32 #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
33 #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
34 --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
35 #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
36 ## The code below is commented out because using -I/--id options causes
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
37 ## in samtools up to 1.9 the following exception
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
38 ## Samtools-htslib: init_group_id() header parsing not yet implemented
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
39 ##if str($read_group) != "":
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
40 ## -I "${read_group}"
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
41 ##end if
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
42 #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
43 --read-length ${read_length}
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
44 #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
45 #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
46 --most-inserts ${most_inserts}
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 #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
49 --trim-quality ${trim_quality}
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
50 #end if
0d71d9467847 Uploaded
devteam
parents:
diff changeset
51
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
52 #if $reffa != None:
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 --ref-seq '$reffa'
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
54 #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
55 ## 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
56 ## 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
57 ## 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
58 ## -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
59 ## -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
60 $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
61 @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
62 $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
63 #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
64 -g $cov_threshold
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
65 #end if
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
66 -@ \$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
67 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
68 @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
69 > '$output'
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
70
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
71 #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
72 #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
73 && 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
74 #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
75 && 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
76 && 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
77 #end for
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
78 #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
79 ]]></command>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
80 <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
81 <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
82 <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
83 <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
84 <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
85 <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
86 </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
87 <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
88 <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
89 <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
90 <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
91 <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
92 </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
93 </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
94 <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
95 <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
96 <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
97 <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
98 <option value="yes">Separate datasets for each statistic</option>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
99 </param>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
100 <when value="no" />
0d71d9467847 Uploaded
devteam
parents:
diff changeset
101 <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
102 <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
103 <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
104 <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
105 <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
106 <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
107 <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
108 <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
109 <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
110 <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
111 <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
112 <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
113 <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
114 <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
115 <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
116 <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
117 <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
118 <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
119 <option value="GCD">GC depth</option>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
120 </param>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
121 </when>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
122 </conditional>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
123 <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
124 <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
125 <option value="nofilter" selected="True">Do not filter</option>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
126 <option value="filter">Filter by flags to exclude or require</option>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
127 </param>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
128 <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
129 <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
130 <expand macro="flag_options" />
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
131 </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
132 <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
133 <expand macro="flag_options" />
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
134 </param>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
135 </when>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
136 <when value="nofilter" />
0d71d9467847 Uploaded
devteam
parents:
diff changeset
137
0d71d9467847 Uploaded
devteam
parents:
diff changeset
138 </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
139 <!-- 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
140 <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
141 <param name="insert_size" argument="--insert-size" type="integer" optional="True" label="Maximum insert size" help="default=8000" />
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
142 <!--
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
143 The -I option of samtools stats returns the following message up to version 1.9:
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
144 Samtools-htslib: init_group_id() header parsing not yet implemented
0d71d9467847 Uploaded
devteam
parents:
diff changeset
145 Because of this the section below is commented out until this stats bug is fixed
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
146 <param name="read_group" type="select" optional="true" label="Limit to a specific read group name" >
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
147 <options>
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 <filter type="data_meta" ref="input" key="read_groups" />
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
149 </options>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
150 </param>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
151 -->
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
152 <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
153 <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
154 <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
155
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
156 <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
157 <param name="addref_select" type="select" label="Use a reference sequence" help="Required for GC-depth and mismatches-per-cycle calculation">
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 <option value="no">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
159 <option value="cached">Locally cached</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
160 <option value="history">History</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
161 </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
162 <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
163 <when value="cached">
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
164 <param name="ref" type="select" label="Using genome">
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
165 <options from_data_table="fasta_indexes">
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 <filter type="data_meta" ref="input" key="dbkey" column="1" />
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
167 </options>
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>
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 </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
170 <when 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" type="data" format="fasta" label="Using 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
172 </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
173 </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
174 <!-- unfortunately -t takes tabular and not bed like view (otherwise a macro might have simplified this) -->
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
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 <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
177
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
178 <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
179 <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
180 <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
181 </inputs>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
182
0d71d9467847 Uploaded
devteam
parents:
diff changeset
183 <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
184 <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
185 <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
186 <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
187 </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
188 <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
189 <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
190 <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
191 </collection>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
192 </outputs>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
193 <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
194 <!-- https://github.com/samtools/samtools/blob/9ce8c64493f7ea3fa69bc5c1ac980b1a8e3dcf1f/test/test.pl#L2402 -->
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
195 <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
196 <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
197 <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
198 <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
199 <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
200 </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
201 <output name="output" file="1.stats.expected" ftype="tabular" lines_diff="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 <!-- 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
204 <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
205 <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
206 <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
207 <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
208 <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
209 </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
210 <output name="output" file="2.stats.expected" ftype="tabular" lines_diff="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
211 </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
212 <!-- 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
213 <!-- 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
214 <!-- 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
215 <!-- 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
216 <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
217 <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
218 <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
219 <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
220 <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
221 <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
222 </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
223 <output name="output" file="6.stats.expected" ftype="tabular" lines_diff="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
224 </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
225 <!-- 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
226 <!-- 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
227 <!-- 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
228 <!-- 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
229 <!-- 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
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 <output name="output" file="11.stats.expected" ftype="tabular" lines_diff="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
240 </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
241 <!-- 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
242
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 <output name="output" file="11.stats.expected" ftype="tabular" lines_diff="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
255 </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
256 <!-- 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
257 -->
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="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
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="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
266 </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
267 <param name="cov_threshold" value="4" />
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 <output name="output" file="11.stats.g4.expected" ftype="tabular" lines_diff="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
269 </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
270 <!-- 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
271 <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
272 <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
273 <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
274 <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
275 </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
276 <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
277 <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
278 <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
279 <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
280 <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
281 </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
282 <param name="cov_threshold" value="4" />
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 <output name="output" file="11.stats.g4.expected" ftype="tabular" lines_diff="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
284 </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
285 <!-- 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
286 <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
287 <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
288 <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
289 <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
290 </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
291 <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
292 <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
293 <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
294 </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
295 <output name="output" file="12.3reads.overlap.expected" ftype="tabular" lines_diff="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
296 </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
297 <!-- 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
298 <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
299 <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
300 <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
301 <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
302 </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
303 <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
304 <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
305 <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
306 </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
307 <param name="remove_overlaps" value="-p"/>
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 <output name="output" file="12.3reads.nooverlap.expected" ftype="tabular" lines_diff="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
309 </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
310 <!-- 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
311 <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
312 <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
313 <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
314 <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
315 </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
316 <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
317 <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
318 <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
319 </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
320 <output name="output" file="12.2reads.overlap.expected" ftype="tabular" lines_diff="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
321 </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
322 <!-- 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
323 <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
324 <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
325 <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
326 <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
327 </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
328 <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
329 <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
330 <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
331 </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
332 <param name="remove_overlaps" value="-p"/>
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
333 <output name="output" file="12.2reads.nooverlap.expected" ftype="tabular" lines_diff="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
334 </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
335 <!-- 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
336 <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
337 <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
338 <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
339 <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
340 <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
341 </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
342 <output name="output" file="samtools_stats_out1.tab" ftype="tabular" lines_diff="2" />
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
343 </test>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
344 <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
345 <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
346 <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
347 <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
348 <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
349 </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
350 <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
351 <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
352 <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
353 </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
354 <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
355 <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
356 <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
357 <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
358 </output_collection>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
359 </test>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
360 </tests>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
361 <help><![CDATA[
0d71d9467847 Uploaded
devteam
parents:
diff changeset
362 **What it does**
0d71d9467847 Uploaded
devteam
parents:
diff changeset
363
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
364 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
365
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
366 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
367 ]]></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
368 <expand macro="citations"/>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
369 </tool>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
370