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