annotate samtools_stats.xml @ 4:793ad847121d draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0754f54191ca11b8524266eabe5e0feb95195759
author iuc
date Fri, 04 Jan 2019 17:04:09 -0500
parents 95a7ddf617e7
children 5a08c09b9311
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
793ad847121d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0754f54191ca11b8524266eabe5e0feb95195759
iuc
parents: 3
diff changeset
1 <tool id="samtools_stats" name="Samtools stats" version="2.0.2+galaxy1">
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>
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
6 <expand macro="requirements">
4
793ad847121d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0754f54191ca11b8524266eabe5e0feb95195759
iuc
parents: 3
diff changeset
7 <requirement type="package" version="5.2.3">gnuplot</requirement>
793ad847121d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 0754f54191ca11b8524266eabe5e0feb95195759
iuc
parents: 3
diff changeset
8 <requirement type="package" version="5.26">perl</requirement>
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
9 </expand>
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
10 <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
11 <expand macro="version_command"/>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
12 <command><![CDATA[
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
13 @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
14 @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
15 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
16 #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
17 --coverage ${coverage_cond.coverage_min},${coverage_cond.coverage_max},${coverage_cond.coverage_step}
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
18 #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
19 ${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
20 #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
21 #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
22 #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
23 @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
24 --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
25 #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
26 #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
27 #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
28 @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
29 --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
30 #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
31 #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
32 #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
33 --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
34 #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
35 #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
36 --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
37 #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
38 ## 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
39 ## 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
40 ## 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
41 ##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
42 ## -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
43 ##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
44 #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
45 --read-length ${read_length}
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
46 #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
47 #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
48 --most-inserts ${most_inserts}
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
49 #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
50 #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
51 --trim-quality ${trim_quality}
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
52 #end if
0d71d9467847 Uploaded
devteam
parents:
diff changeset
53
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
54 #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
55 --ref-seq '$reffa'
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
56 #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
57 ## 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
58 ## 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
59 ## 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
60 ## -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
61 ## -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
62 $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
63 @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
64 $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
65 #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
66 -g $cov_threshold
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
67 #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
68 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
69 @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
70 > '$output'
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
71
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 #if $cond_plot.select_plot=='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
73 && plot-bamstats '$output' $cond_plot.log -p '${html_file.files_path}'/
95a7ddf617e7 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 && mv '${html_file.files_path}'/index.html '${html_file}'
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
75 #end if
0d71d9467847 Uploaded
devteam
parents:
diff changeset
76
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
77 #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
78 #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
79 && 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
80 #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
81 && 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
82 && 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
83 #end for
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
84 #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
85 ]]></command>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
86 <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
87 <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
88 <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
89 <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
90 <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
91 <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
92 </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
93 <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
94 <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
95 <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
96 <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
97 <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
98 </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
99 </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
100 <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
101 <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
102 <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
103 <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
104 <option value="yes">Separate datasets for each statistic</option>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
105 </param>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
106 <when value="no" />
0d71d9467847 Uploaded
devteam
parents:
diff changeset
107 <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
108 <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
109 <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
110 <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
111 <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
112 <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
113 <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
114 <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
115 <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
116 <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
117 <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
118 <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
119 <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
120 <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
121 <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
122 <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
123 <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
124 <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
125 <option value="GCD">GC depth</option>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
126 </param>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
127 </when>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
128 </conditional>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
129 <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
130 <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
131 <option value="nofilter" selected="True">Do not filter</option>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
132 <option value="filter">Filter by flags to exclude or require</option>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
133 </param>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
134 <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
135 <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
136 <expand macro="flag_options" />
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
137 </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
138 <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
139 <expand macro="flag_options" />
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
140 </param>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
141 </when>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
142 <when value="nofilter" />
0d71d9467847 Uploaded
devteam
parents:
diff changeset
143
0d71d9467847 Uploaded
devteam
parents:
diff changeset
144 </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
145 <!-- 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
146 <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
147 <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
148 <!--
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
149 The -I option of samtools stats returns the following message up to version 1.9:
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
150 Samtools-htslib: init_group_id() header parsing not yet implemented
0d71d9467847 Uploaded
devteam
parents:
diff changeset
151 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
152 <param name="read_group" type="select" optional="true" label="Limit to a specific read group name" >
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
153 <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
154 <filter type="data_meta" ref="input" key="read_groups" />
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
155 </options>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
156 </param>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
157 -->
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
158 <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
159 <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
160 <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
161
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
162 <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
163 <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
164 <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
165 <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
166 <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
167 </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
168 <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
169 <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
170 <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
171 <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
172 <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
173 </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
174 </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
175 </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
176 <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
177 <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
178 </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
179 </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
180 <!-- 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
181
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
182 <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
183
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
184 <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
185 <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
186 <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" />
95a7ddf617e7 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 <conditional name="cond_plot">
95a7ddf617e7 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 <param name="select_plot" type="select" label="Generate plots with plot-bamstats">
95a7ddf617e7 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 <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
190 <option value="yes">Yes</option>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
191 </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
192 <when value="no"/>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
193 <when value="yes">
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 <param name="log" argument="-l/--log-y" type="boolean" truevalue="-l" falsevalue="" checked="False" label="log scale insert size plot" help="Set the Y axis scale of the Insert Size plot to log 10"/>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
195 </when>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
196 </conditional>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
197 </inputs>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
198
0d71d9467847 Uploaded
devteam
parents:
diff changeset
199 <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
200 <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
201 <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
202 <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
203 </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
204 <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
205 <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
206 <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
207 </collection>
95a7ddf617e7 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 <data format="html" name="html_file" label="${tool.name} on ${on_string}: plot-bamstats">
95a7ddf617e7 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 <filter>cond_plot['select_plot']=='yes'</filter>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
210 </data>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
211 </outputs>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
212 <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
213 <!-- https://github.com/samtools/samtools/blob/9ce8c64493f7ea3fa69bc5c1ac980b1a8e3dcf1f/test/test.pl#L2402 -->
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
214 <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
215 <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
216 <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
217 <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
218 <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
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 <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
221 </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
222 <!-- 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
223 <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
224 <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
225 <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
226 <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
227 <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
228 </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
229 <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
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 <!-- 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
232 <!-- 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
233 <!-- 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
234 <!-- 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
235 <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
236 <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
237 <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
238 <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
239 <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
240 <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
241 </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
242 <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
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 <!-- 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
245 <!-- 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
246 <!-- 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
247 <!-- 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
248 <!-- 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
249 <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
250 <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
251 <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
252 <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
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 <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
255 <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
256 <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
257 </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
258 <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
259 </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
260 <!-- 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
261
95a7ddf617e7 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 <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
263 <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
264 <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
265 <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
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 <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
268 <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
269 <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
270 <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
271 <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
272 </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
273 <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
274 </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
275 <!-- 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
276 -->
95a7ddf617e7 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 <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
278 <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
279 <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
280 <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
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 <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
283 <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
284 <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
285 </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
286 <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
287 <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
288 </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
289 <!-- 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
290 <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
291 <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
292 <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
293 <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
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 <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
296 <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
297 <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
298 <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
299 <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
300 </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
301 <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
302 <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
303 </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
304 <!-- 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
305 <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
306 <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
307 <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
308 <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
309 </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
310 <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
311 <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
312 <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
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="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
315 </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
316 <!-- 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
317 <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
318 <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
319 <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
320 <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
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="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
323 <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
324 <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
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 <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
327 <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
328 </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
329 <!-- 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
330 <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
331 <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
332 <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
333 <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
334 </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
335 <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
336 <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
337 <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
338 </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
339 <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
340 </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
341 <!-- 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
342 <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
343 <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
344 <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
345 <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
346 </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
347 <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
348 <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
349 <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
350 </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
351 <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
352 <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
353 </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
354 <!-- 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
355 <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
356 <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
357 <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
358 <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
359 <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
360 </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
361 <conditional name="cond_plot">
95a7ddf617e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_stats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 2
diff changeset
362 <param name="select_plot" 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
363 </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
364 <output name="output" file="samtools_stats_out1.tab" ftype="tabular" lines_diff="2" />
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
365 </test>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
366 <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
367 <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
368 <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
369 <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
370 <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
371 </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
372 <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
373 <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
374 <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
375 </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
376 <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
377 <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
378 <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
379 <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
380 </output_collection>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
381 </test>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
382 </tests>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
383 <help><![CDATA[
0d71d9467847 Uploaded
devteam
parents:
diff changeset
384 **What it does**
0d71d9467847 Uploaded
devteam
parents:
diff changeset
385
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
386 This tool runs the ``samtools stats`` command.
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
387 ]]></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
388 <expand macro="citations"/>
0
0d71d9467847 Uploaded
devteam
parents:
diff changeset
389 </tool>
0d71d9467847 Uploaded
devteam
parents:
diff changeset
390