annotate mosdepth.xml @ 2:efd53f6ceb16 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 37a76b08262eee35b2bdb2604d6a7beda046fe68
author iuc
date Mon, 06 Nov 2023 20:15:36 +0000
parents 69f93450c57d
children 5cd5d0947354
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
1 <tool id="mosdepth" name="mosdepth" version="@TOOL_VERSION@+galaxy0" profile="21.05">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
2 <description>- fast and flexible depth coverage calculation</description>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
3 <macros>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
4 <xml name="bam_identifier">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
5 <!-- this is based on section 1.2.1 of the SAM/BAM specification https://samtools.github.io/hts-specs/SAMv1.pdf -->
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
6 <sanitizer invalid_char="'">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
7 <valid initial="string.ascii_letters,string.digits,string.punctuation">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
8 <remove value="{" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
9 <remove value="}" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
10 <remove value="=" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
11 <remove value="*" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
12 <remove value="`" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
13 <remove value=")" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
14 <remove value="&lt;" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
15 <remove value="'" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
16 <remove value='"' />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
17 <remove value="(" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
18 <remove value="\" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
19 <remove value="[" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
20 <remove value="&gt;" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
21 <remove value="]" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
22 <remove value="," />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
23 <yield />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
24 </valid>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
25 </sanitizer>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
26 <validator type="regex">([0-9A-Za-z!#$%&amp;+./:;?@^_|~-][0-9A-Za-z!#$%&amp;*+./:;=?@^_|~-]*)?</validator>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
27 </xml>
2
efd53f6ceb16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 37a76b08262eee35b2bdb2604d6a7beda046fe68
iuc
parents: 1
diff changeset
28 <token name="@TOOL_VERSION@">0.3.5</token>
0
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
29 </macros>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
30 <requirements>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
31 <requirement type="package" version="@TOOL_VERSION@">mosdepth</requirement>
2
efd53f6ceb16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 37a76b08262eee35b2bdb2604d6a7beda046fe68
iuc
parents: 1
diff changeset
32 <requirement type="package" version="1.13">gzip</requirement>
0
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
33 </requirements>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
34 <command detect_errors="exit_code"><![CDATA[
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
35 #if $advanced.options == "yes" and len($advanced.quantize)
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
36 #set $quantize_depths = []
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
37 #for $i, $quant_group in enumerate($advanced.quantize)
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
38 #set $quantize_depths = $quantize_depths + [str ($quant_group.quant_group_mindepth)]
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
39 #set $quant_group_name = str($quant_group.quant_group_name)
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
40 export MOSDEPTH_Q${i}=$quant_group.quant_group_name &&
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
41 #end for
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
42 #set $quant_groups_depths_str = ":".join($quantize_depths) + ':'
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
43 #end if
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
44 ln -s '$input_alignment' input_alignment &&
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
45 #if $input_alignment.is_of_type('bam'):
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
46 ln -s '${input_alignment.metadata.bam_index}' input_alignment.bai &&
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
47 #elif $input_alignment.is_of_type('cram'):
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
48 ln -s '${input_alignment.metadata.cram_index}' input_alignment.crai &&
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
49 #end if
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
50 mosdepth -t \${GALAXY_SLOTS:-1}
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
51 #if $window.window_mode == 'window'
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
52 --by $window.window_size
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
53 #elif $window.window_mode == 'bed'
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
54 --by '$window.region_file'
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
55 #end if
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
56 $per_base_coverage
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
57 #if $advanced.options == "yes"
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
58 #if str($advanced.chrom)
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
59 --chrom '$advanced.chrom'
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
60 #end if
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
61 #if $advanced.exclude_flag
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
62 --flag $advanced.exclude_flag
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
63 #end if
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
64 #if $advanced.include_flag
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
65 --include-flag $advanced.include_flag
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
66 #end if
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
67 --mapq $advanced.mapq
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
68 $advanced.no_fast
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
69 #if str($advanced.thresholds)
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
70 --thresholds '$advanced.thresholds'
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
71 #end if
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
72 $advanced.use_median
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
73 #if str($advanced.read_groups)
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
74 --read-groups '$read_groups'
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
75 #end if
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
76 #if len($advanced.quantize)
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
77 --quantize '$quant_groups_depths_str'
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
78 #end if
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
79 #end if
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
80 output input_alignment
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
81 #if $per_base_coverage
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
82 && gunzip output.per-base.bed.gz
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
83 #end if
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
84 #if $window.window_mode == "bed" or $window.window_mode == "window"
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
85 && gunzip output.regions.bed.gz
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
86 #end if
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
87 #if $advanced.options == "yes"
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
88 #if str($advanced.thresholds)
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
89 && gunzip output.thresholds.bed.gz
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
90 #end if
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
91 #if len($advanced.quantize)
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
92 && gunzip output.quantized.bed.gz
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
93 #end if
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
94 #end if
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
95 ]]></command>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
96 <inputs>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
97 <param name="input_alignment" type="data" format="bam,cram" label="Input BAM (or CRAM)" help="BAM or CRAM format mapped reads" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
98 <param argument="--no-per-base" name="per_base_coverage" type="boolean" truevalue="" falsevalue="--no-per-base" checked="false" label="Output per base depth" help="Skipping depth output for individual bases substantially decreases runtime" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
99 <conditional name="window">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
100 <param name="window_mode" type="select" label="Compute depth by region" help="A BED file or window size can be provided to compute average depth by region">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
101 <option value="no">Don't compute depth by region</option>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
102 <option value="window">Compute average depth using a fixed size window</option>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
103 <option value="bed">Compute depth in regions specified by a BED file</option>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
104 </param>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
105 <when value="no">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
106 </when>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
107 <when value="window">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
108 <param name="window_size" type="integer" min="2" value="400" label="Window size for region calculation" help="Average depth will be computed for non-overlapping regions of this size" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
109 </when>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
110 <when value="bed">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
111 <param name="region_file" type="data" format="bed" label="BED file specifying regions" help="Average depth will be computed for regions specified in the BED file. If the BED file has a 4th column, it is used for the region name" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
112 </when>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
113 </conditional>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
114 <conditional name="advanced">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
115 <param name="options" type="select" label="Advanced Options">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
116 <option value="no" selected="true">Hide Advanced Options</option>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
117 <option value="yes">Show Advanced Options</option>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
118 </param>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
119 <when value="no">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
120 </when>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
121 <when value="yes">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
122 <param argument="--chrom" type="text" label="Restrict depth calculations to chromosome" optional="true" help="Enter a chromosome name to only count depth for reads mapping to this chromosome">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
123 <expand macro="bam_identifier" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
124 </param>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
125 <param argument="--flag" name="exclude_flag" type="integer" min="0" value="0" label="Exclude reads with these bits set in FLAG" help="Exclude reads where any of these bits are set in the value of the read flags column" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
126 <param argument="--include-flag" type="integer" min="1" optional="true" label="Only include reads with these bits set in FLAG" help="Only include reads where any of these bits are set in the value of the read flags column" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
127 <param argument="--fast-mode" name="no_fast" type="boolean" truevalue="" falsevalue="-x" label="Disable fast mode" help="Fast mode doesn't look up internal cigar operations or correct mate overlaps. Disabling it is not recommended" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
128 <param argument="--mapq" type="integer" min="0" value="0" label="Minimum mapping quality" help="Reads with a mapping quality lower than this value are ignored" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
129 <param argument="--thresholds" type="text" value="" label="Specify thresholds for output when using region output" help="The number of bases covered by these thresholds will be reported. Multiple thresholds can be separated by commas">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
130 <sanitizer invalid_char="">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
131 <valid initial="string.digits">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
132 <add value="," />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
133 </valid>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
134 </sanitizer>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
135 <validator type="regex">[0-9,]*</validator>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
136 </param>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
137 <param argument="--use-median" type="boolean" truevalue="--use-median" falsevalue="" checked="false" label="Use median depth of region" help="When computing depth of region, use median of depth rather than mean" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
138 <param argument="--read-groups" type="text" value="" label="" help="only calculate depth for these comma-separated read groups IDs">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
139 <!-- while read group IDs are not well specified in the BAM specification, they appear to be like IDs but with spaces allowed -->
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
140 <expand macro="bam_identifier">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
141 <add value=" " />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
142 </expand>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
143 </param>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
144 <repeat name="quantize" title="Read depth thresholds for depth-defined regions">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
145 <param name="quant_group_mindepth" type="integer" min="0" value="0" label="Minimum depth for depth-defined region" help="Regions with this depth or lower will be included in this depth-defined region" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
146 <param name="quant_group_name" type="text" label="Depth-defined region name" help="Name include in BED output for regions in this depth-defined region">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
147 <sanitizer invalid_char="">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
148 <valid initial="string.letters,string.digits">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
149 <add value="_" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
150 </valid>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
151 </sanitizer>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
152 <validator type="regex">[0-9a-zA-Z_]*</validator>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
153 </param>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
154 </repeat>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
155 </when>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
156 </conditional>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
157 </inputs>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
158 <outputs>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
159 <data name="output_global_dist" format="tabular" from_work_dir="output.mosdepth.global.dist.txt" label="mosdepth depth distribution on ${on_string}" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
160 <data name="output_summary" format="tabular" from_work_dir="output.mosdepth.summary.txt" label="mosdepth summary on ${on_string}">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
161 <actions>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
162 <action type="metadata" name="column_names" default="chrom,length,bases,mean,min,max" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
163 </actions>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
164 </data>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
165 <data name="output_region_dist" format="tabular" from_work_dir="output.mosdepth.region.dist.txt" label="mosdepth region depth distribution on ${on_string}">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
166 <filter>window['window_mode'] == "bed" or window['window_mode'] == "window"</filter>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
167 </data>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
168 <data name="output_per_base_depth" format="bedgraph" from_work_dir="output.per-base.bed" label="mosdepth per base depth on ${on_string}">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
169 <filter>per_base_coverage</filter>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
170 </data>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
171 <data name="output_regions_bed" format="bed" from_work_dir="output.regions.bed" label="mosdepth regions BED on ${on_string}">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
172 <filter>window['window_mode'] == "bed" or window['window_mode'] == "window"</filter>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
173 </data>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
174 <data name="output_quantized_bed" format="bed" from_work_dir="output.quantized.bed" label="mosdepth quantized BED on ${on_string}">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
175 <filter>advanced['options'] == "yes" and len(advanced['quantize'])</filter>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
176 </data>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
177 <data name="output_thresholds_bed" format="bed" from_work_dir="output.thresholds.bed" label="mosdepth thresholds BED on ${on_string}">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
178 <filter>advanced['options'] == "yes" and advanced['thresholds']</filter>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
179 </data>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
180 </outputs>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
181 <tests>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
182 <!-- test 1 -->
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
183 <test expect_num_outputs="2">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
184 <param name="input_alignment" value="input.bam" ftype="bam" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
185 <output name="output_summary" file="output_summary.tabular" ftype="tabular" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
186 <output name="output_global_dist" file="output_distribution.tabular" ftype="tabular" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
187 </test>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
188 <!-- test 2 -->
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
189 <test expect_num_outputs="3">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
190 <param name="input_alignment" value="input.bam" ftype="bam" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
191 <param name="per_base_coverage" value="True" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
192 <output name="output_per_base_depth" file="output_per_base_depth.bed" ftype="bedgraph" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
193 </test>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
194 <!-- test 3 -->
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
195 <test expect_num_outputs="4">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
196 <param name="input_alignment" value="input.bam" ftype="bam" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
197 <conditional name="window">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
198 <param name="window_mode" value="bed" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
199 <param name="region_file" value="input_regions.bed" ftype="bed" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
200 </conditional>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
201 <output name="output_region_dist" file="output_region_distribution_bed.tabular" ftype="tabular" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
202 <output name="output_summary" file="output_region_summary.tabular" ftype="tabular" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
203 <output name="output_regions_bed" file="output_region_depths.bed" ftype="bed" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
204 </test>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
205 <!-- test 4 -->
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
206 <test expect_num_outputs="4 ">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
207 <param name="input_alignment" value="input.bam" ftype="bam" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
208 <conditional name="window">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
209 <param name="window_mode" value="window" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
210 <param name="window_size" value="200" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
211 </conditional>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
212 <output name="output_region_dist" file="output_region_distribution.tabular" ftype="tabular" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
213 <output name="output_summary" file="output_region_summary_windowed.tabular" ftype="tabular" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
214 <output name="output_regions_bed" file="output_window_depths.bed" ftype="bed" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
215 </test>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
216 <!-- test 5 -->
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
217 <test expect_num_outputs="4">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
218 <param name="input_alignment" value="input.bam" ftype="bam" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
219 <conditional name="window">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
220 <param name="window_mode" value="window" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
221 <param name="window_size" value="200" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
222 </conditional>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
223 <conditional name="advanced">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
224 <param name="options" value="yes" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
225 <param name="use_median" value="yes" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
226 </conditional>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
227 <output name="output_region_dist" file="output_region_distribution_median.tabular" ftype="tabular" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
228 <output name="output_summary" file="output_region_summary_windowed_median.tabular" ftype="tabular" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
229 <output name="output_regions_bed" file="output_window_depths_median.bed" ftype="bed" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
230 </test>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
231 <!-- test 6 -->
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
232 <test expect_num_outputs="3">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
233 <param name="input_alignment" value="input.bam" ftype="bam" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
234 <conditional name="advanced">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
235 <param name="options" value="yes" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
236 <repeat name="quantize">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
237 <param name="quant_group_mindepth" value="0" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
238 <param name="quant_group_name" value="NO_COVERAGE" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
239 </repeat>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
240 <repeat name="quantize">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
241 <param name="quant_group_mindepth" value="1" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
242 <param name="quant_group_name" value="LOW_COVERAGE" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
243 </repeat>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
244 <repeat name="quantize">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
245 <param name="quant_group_mindepth" value="20" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
246 <param name="quant_group_name" value="SUFFICIENT_COVERAGE" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
247 </repeat>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
248 </conditional>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
249 <output name="output_quantized_bed" file="output_quantized.bed" ftype="bed" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
250 </test>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
251 <!-- test 7 -->
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
252 <test expect_num_outputs="5">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
253 <param name="input_alignment" value="input.bam" ftype="bam" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
254 <conditional name="window">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
255 <param name="window_mode" value="bed" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
256 <param name="region_file" value="input_regions.bed" ftype="bed" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
257 </conditional>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
258 <conditional name="advanced">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
259 <param name="options" value="yes" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
260 <param name="thresholds" value="20,40" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
261 </conditional>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
262 <output name="output_thresholds_bed" file="output_thresholds.bed" ftype="bed" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
263 </test>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
264 <!-- test 7 -->
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
265 <test expect_num_outputs="2">
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
266 <param name="input_alignment" value="input.cram" ftype="cram" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
267 <output name="output_summary" file="output_summary.tabular" ftype="tabular" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
268 <output name="output_global_dist" file="output_distribution.tabular" ftype="tabular" />
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
269 </test>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
270 </tests>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
271 <help><![CDATA[
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
272 mosdepth_ is a tool for fast and flexible calculation of read depths from BAM or CRAM files.
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
273
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
274 It can compute:
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
275
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
276 * mean (or median) depth in fixed sized windows
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
277 * mean (or median) depth in regions specified by a BED file
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
278 * per base depths
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
279 * a histogram of read depths
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
280 * the mean or median coverage histogram for windows / regions
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
281 * a distribution of proportion of based covered over a particular threshold
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
282 * a BED format report on regions that are defined by coverage thresholds
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
283
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
284 By default only a summary and depth histogram is computed, but the other options mentioned above can
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
285 be enabled using different options in the "Compute depth by region" selector and some of the Advanced
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
286 options.
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
287
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
288 .. _mosdepth: https://github.com/brentp/mosdepth
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
289 ]]></help>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
290 <citations>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
291 <citation type="doi">10.1093/bioinformatics/btx699</citation>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
292 </citations>
32ea013ae290 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
iuc
parents:
diff changeset
293 </tool>