changeset 0:32ea013ae290 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mosdepth commit 7b66f2b9af9221cac930dfd0e078401472bb0e30
author iuc
date Sun, 04 Dec 2022 18:30:36 +0000
parents
children 69f93450c57d
files mosdepth.xml test-data/input.bam test-data/input.cram test-data/input_regions.bed test-data/output_distribution.tabular test-data/output_per_base_depth.bed test-data/output_quantized.bed test-data/output_region_depths.bed test-data/output_region_distribution.tabular test-data/output_region_distribution_bed.tabular test-data/output_region_distribution_median.tabular test-data/output_region_summary.tabular test-data/output_region_summary_windowed.tabular test-data/output_region_summary_windowed_median.tabular test-data/output_summary.tabular test-data/output_thresholds.bed test-data/output_window_depths.bed test-data/output_window_depths_median.bed
diffstat 18 files changed, 3877 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mosdepth.xml	Sun Dec 04 18:30:36 2022 +0000
@@ -0,0 +1,293 @@
+<tool id="mosdepth" name="mosdepth" version="@TOOL_VERSION@+galaxy0"  profile="21.05">
+    <description>- fast and flexible depth coverage calculation</description>
+    <macros>
+        <xml name="bam_identifier">
+            <!-- this is based on section 1.2.1 of the SAM/BAM specification https://samtools.github.io/hts-specs/SAMv1.pdf -->
+            <sanitizer invalid_char="'">
+                <valid initial="string.ascii_letters,string.digits,string.punctuation">
+                    <remove value="{" />
+                    <remove value="}" />
+                    <remove value="=" />
+                    <remove value="*" />
+                    <remove value="`" />
+                    <remove value=")" />
+                    <remove value="&lt;" />
+                    <remove value="'" />
+                    <remove value='"' />
+                    <remove value="(" />
+                    <remove value="\" />
+                    <remove value="[" />
+                    <remove value="&gt;" />
+                    <remove value="]" />
+                    <remove value="," />
+                    <yield />
+                </valid>
+            </sanitizer>
+            <validator type="regex">([0-9A-Za-z!#$%&amp;+./:;?@^_|~-][0-9A-Za-z!#$%&amp;*+./:;=?@^_|~-]*)?</validator>
+        </xml>
+        <token name="@TOOL_VERSION@">0.3.3</token>
+    </macros>
+    <requirements>
+        <requirement type="package" version="@TOOL_VERSION@">mosdepth</requirement>
+        <requirement type="package" version="1.12">gzip</requirement>
+    </requirements>
+    <command detect_errors="exit_code"><![CDATA[
+        #if $advanced.options == "yes" and len($advanced.quantize)
+            #set $quantize_depths = []
+            #for $i, $quant_group in enumerate($advanced.quantize)
+                #set $quantize_depths = $quantize_depths + [str ($quant_group.quant_group_mindepth)]
+                #set $quant_group_name = str($quant_group.quant_group_name)
+                export MOSDEPTH_Q${i}=$quant_group.quant_group_name &&
+            #end for
+            #set $quant_groups_depths_str = ":".join($quantize_depths) + ':'
+        #end if
+        ln -s '$input_alignment' input_alignment &&
+        #if $input_alignment.is_of_type('bam'):
+            ln -s '${input_alignment.metadata.bam_index}' input_alignment.bai &&
+        #elif $input_alignment.is_of_type('cram'):
+            ln -s '${input_alignment.metadata.cram_index}' input_alignment.crai &&
+        #end if
+        mosdepth -t \${GALAXY_SLOTS:-1} 
+            #if $window.window_mode == 'window'
+                --by $window.window_size
+            #elif $window.window_mode == 'bed'
+                --by '$window.region_file'
+            #end if
+            $per_base_coverage 
+            #if $advanced.options == "yes"
+                #if str($advanced.chrom)
+                --chrom '$advanced.chrom'
+                #end if
+                #if $advanced.exclude_flag
+                    --flag $advanced.exclude_flag
+                #end if
+                #if $advanced.include_flag
+                    --include-flag $advanced.include_flag
+                #end if
+                --mapq $advanced.mapq
+                $advanced.no_fast
+                #if str($advanced.thresholds)
+                    --thresholds '$advanced.thresholds'
+                #end if
+                $advanced.use_median
+                #if str($advanced.read_groups)
+                    --read-groups '$read_groups'
+                #end if
+                #if len($advanced.quantize)
+                --quantize '$quant_groups_depths_str'
+                #end if
+            #end if 
+            output input_alignment
+            #if $per_base_coverage
+                && gunzip output.per-base.bed.gz
+            #end if
+            #if $window.window_mode == "bed" or $window.window_mode == "window"
+                && gunzip output.regions.bed.gz
+            #end if
+            #if $advanced.options == "yes"
+                #if str($advanced.thresholds)
+                    && gunzip output.thresholds.bed.gz
+                #end if
+                #if len($advanced.quantize)
+                    && gunzip output.quantized.bed.gz
+                #end if
+            #end if
+    ]]></command>
+    <inputs>
+        <param name="input_alignment" type="data" format="bam,cram" label="Input BAM (or CRAM)" help="BAM or CRAM format mapped reads" />
+        <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" />
+        <conditional name="window">
+            <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">
+                <option value="no">Don't compute depth by region</option>
+                <option value="window">Compute average depth using a fixed size window</option>
+                <option value="bed">Compute depth in regions specified by a BED file</option>
+            </param>
+            <when value="no">                
+            </when>
+            <when value="window">
+                <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" />
+            </when>
+            <when value="bed">
+                <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" />
+            </when>
+        </conditional>
+        <conditional name="advanced">
+            <param name="options" type="select" label="Advanced Options">
+                <option value="no" selected="true">Hide Advanced Options</option>
+                <option value="yes">Show Advanced Options</option>
+            </param>
+            <when value="no">
+            </when>
+            <when value="yes">
+                <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">
+                    <expand macro="bam_identifier" />
+                </param>
+                <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" />
+                <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" />
+                <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" />
+                <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" />
+                <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">
+                    <sanitizer invalid_char="">
+                            <valid initial="string.digits">
+                            <add value="," />
+                        </valid>
+                    </sanitizer>
+                    <validator type="regex">[0-9,]*</validator>
+                </param>
+                <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" />
+                <param argument="--read-groups" type="text" value="" label="" help="only calculate depth for these comma-separated read groups IDs">
+                    <!-- while read group IDs are not well specified in the BAM specification, they appear to be like IDs but with spaces allowed -->
+                    <expand macro="bam_identifier">
+                        <add value=" " />
+                    </expand>
+                </param>
+                <repeat name="quantize" title="Read depth thresholds for depth-defined regions">
+                    <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" />
+                    <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">
+                        <sanitizer invalid_char="">
+                            <valid initial="string.letters,string.digits">
+                                <add value="_" />
+                            </valid>
+                        </sanitizer>
+                        <validator type="regex">[0-9a-zA-Z_]*</validator>
+                    </param>
+                </repeat>
+            </when>
+        </conditional>
+    </inputs>
+    <outputs>
+        <data name="output_global_dist" format="tabular" from_work_dir="output.mosdepth.global.dist.txt" label="mosdepth depth distribution on ${on_string}" />
+        <data name="output_summary" format="tabular" from_work_dir="output.mosdepth.summary.txt" label="mosdepth summary on ${on_string}">
+            <actions>
+                <action type="metadata" name="column_names" default="chrom,length,bases,mean,min,max" />
+            </actions>
+        </data>
+        <data name="output_region_dist" format="tabular" from_work_dir="output.mosdepth.region.dist.txt" label="mosdepth region depth distribution on ${on_string}">
+            <filter>window['window_mode'] == "bed" or window['window_mode'] == "window"</filter>
+        </data>
+        <data name="output_per_base_depth" format="bedgraph" from_work_dir="output.per-base.bed" label="mosdepth per base depth on ${on_string}">
+            <filter>per_base_coverage</filter>
+        </data>
+        <data name="output_regions_bed" format="bed" from_work_dir="output.regions.bed" label="mosdepth regions BED on ${on_string}">
+            <filter>window['window_mode'] == "bed" or window['window_mode'] == "window"</filter>
+        </data>
+        <data name="output_quantized_bed" format="bed" from_work_dir="output.quantized.bed" label="mosdepth quantized BED on ${on_string}">
+            <filter>advanced['options'] == "yes" and len(advanced['quantize'])</filter>
+        </data>
+        <data name="output_thresholds_bed" format="bed" from_work_dir="output.thresholds.bed" label="mosdepth thresholds BED on ${on_string}">
+            <filter>advanced['options'] == "yes" and advanced['thresholds']</filter>
+        </data>
+    </outputs>
+    <tests>
+        <!-- test 1 -->
+        <test expect_num_outputs="2">
+            <param name="input_alignment" value="input.bam" ftype="bam" />
+            <output name="output_summary" file="output_summary.tabular" ftype="tabular" />
+            <output name="output_global_dist" file="output_distribution.tabular" ftype="tabular" />
+        </test>
+        <!-- test 2 -->
+        <test expect_num_outputs="3">
+            <param name="input_alignment" value="input.bam" ftype="bam" />
+            <param name="per_base_coverage" value="True" />
+            <output name="output_per_base_depth" file="output_per_base_depth.bed" ftype="bedgraph" />
+        </test>
+        <!-- test 3 -->
+        <test expect_num_outputs="4">
+            <param name="input_alignment" value="input.bam" ftype="bam" />
+            <conditional name="window">
+                <param name="window_mode" value="bed" />
+                <param name="region_file" value="input_regions.bed" ftype="bed" />
+            </conditional>
+            <output name="output_region_dist" file="output_region_distribution_bed.tabular" ftype="tabular" />
+            <output name="output_summary" file="output_region_summary.tabular" ftype="tabular" />
+            <output name="output_regions_bed" file="output_region_depths.bed" ftype="bed" />
+        </test>
+        <!-- test 4 -->
+        <test expect_num_outputs="4     ">
+            <param name="input_alignment" value="input.bam" ftype="bam" />
+            <conditional name="window">
+                <param name="window_mode" value="window" />
+                <param name="window_size" value="200" />
+            </conditional>
+            <output name="output_region_dist" file="output_region_distribution.tabular" ftype="tabular" />
+            <output name="output_summary" file="output_region_summary_windowed.tabular" ftype="tabular" />
+            <output name="output_regions_bed" file="output_window_depths.bed" ftype="bed" />
+        </test>
+        <!-- test 5 -->
+        <test expect_num_outputs="4">
+            <param name="input_alignment" value="input.bam" ftype="bam" />
+            <conditional name="window">
+                <param name="window_mode" value="window" />
+                <param name="window_size" value="200" />
+            </conditional>
+            <conditional name="advanced">
+                <param name="options" value="yes" />
+                <param name="use_median" value="yes" />
+            </conditional>
+            <output name="output_region_dist" file="output_region_distribution_median.tabular" ftype="tabular" />
+            <output name="output_summary" file="output_region_summary_windowed_median.tabular" ftype="tabular" />
+            <output name="output_regions_bed" file="output_window_depths_median.bed" ftype="bed" />
+        </test>
+        <!-- test 6 -->
+        <test expect_num_outputs="3">
+            <param name="input_alignment" value="input.bam" ftype="bam" />
+            <conditional name="advanced">
+                <param name="options" value="yes" />
+                <repeat name="quantize">
+                    <param name="quant_group_mindepth" value="0" />
+                    <param name="quant_group_name" value="NO_COVERAGE" />
+                </repeat>
+                <repeat name="quantize">
+                    <param name="quant_group_mindepth" value="1" />
+                    <param name="quant_group_name" value="LOW_COVERAGE" />
+                </repeat>
+                <repeat name="quantize">
+                    <param name="quant_group_mindepth" value="20" />
+                    <param name="quant_group_name" value="SUFFICIENT_COVERAGE" />
+                </repeat>
+            </conditional>
+            <output name="output_quantized_bed" file="output_quantized.bed" ftype="bed" />
+        </test>
+        <!-- test 7 -->
+        <test expect_num_outputs="5">
+            <param name="input_alignment" value="input.bam" ftype="bam" />
+            <conditional name="window">
+                <param name="window_mode" value="bed" />
+                <param name="region_file" value="input_regions.bed" ftype="bed" />
+            </conditional>
+            <conditional name="advanced">
+                <param name="options" value="yes" />
+                <param name="thresholds" value="20,40" />
+            </conditional>
+            <output name="output_thresholds_bed" file="output_thresholds.bed" ftype="bed" />
+        </test>
+        <!-- test 7 -->
+        <test expect_num_outputs="2">
+            <param name="input_alignment" value="input.cram" ftype="cram" />
+            <output name="output_summary" file="output_summary.tabular" ftype="tabular" />
+            <output name="output_global_dist" file="output_distribution.tabular" ftype="tabular" />
+        </test>
+    </tests>
+    <help><![CDATA[
+mosdepth_ is a tool for fast and flexible calculation of read depths from BAM or CRAM files.
+
+It can compute:
+
+* mean (or median) depth in fixed sized windows
+* mean (or median) depth in regions specified by a BED file
+* per base depths
+* a histogram of read depths
+* the mean or median coverage histogram for windows / regions
+* a distribution of proportion of based covered over a particular threshold
+* a BED format report on regions that are defined by coverage thresholds
+
+By default only a summary and depth histogram is computed, but the other options mentioned above can
+be enabled using different options in the "Compute depth by region" selector and some of the Advanced
+options.
+
+.. _mosdepth: https://github.com/brentp/mosdepth
+    ]]></help>
+    <citations>
+        <citation type="doi">10.1093/bioinformatics/btx699</citation>
+    </citations>
+</tool>
\ No newline at end of file
Binary file test-data/input.bam has changed
Binary file test-data/input.cram has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/input_regions.bed	Sun Dec 04 18:30:36 2022 +0000
@@ -0,0 +1,2 @@
+sample	22	581	varskip-0317-1_01
+sample	418	998	varskip-0317-1_02
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output_distribution.tabular	Sun Dec 04 18:30:36 2022 +0000
@@ -0,0 +1,894 @@
+sample	1697	0.00
+sample	1695	0.00
+sample	1694	0.01
+sample	1693	0.01
+sample	1692	0.01
+sample	1689	0.01
+sample	1687	0.01
+sample	1686	0.01
+sample	1685	0.01
+sample	1680	0.02
+sample	1679	0.02
+sample	1677	0.02
+sample	1673	0.02
+sample	1672	0.02
+sample	1671	0.02
+sample	1668	0.02
+sample	1664	0.02
+sample	1662	0.03
+sample	1648	0.03
+sample	1647	0.03
+sample	1636	0.03
+sample	1625	0.03
+sample	1537	0.03
+sample	1525	0.03
+sample	1524	0.03
+sample	1523	0.04
+sample	1522	0.04
+sample	1521	0.04
+sample	1520	0.04
+sample	1519	0.05
+sample	1518	0.06
+sample	1517	0.06
+sample	1516	0.07
+sample	1515	0.08
+sample	1514	0.09
+sample	1513	0.10
+sample	1512	0.10
+sample	1511	0.11
+sample	1510	0.12
+sample	1509	0.13
+sample	1508	0.14
+sample	1507	0.15
+sample	1506	0.15
+sample	1505	0.16
+sample	1504	0.16
+sample	1503	0.17
+sample	1502	0.18
+sample	1501	0.18
+sample	1500	0.19
+sample	1499	0.19
+sample	1498	0.19
+sample	1497	0.20
+sample	1496	0.21
+sample	1495	0.22
+sample	1494	0.22
+sample	1493	0.23
+sample	1492	0.23
+sample	1491	0.23
+sample	1490	0.24
+sample	1489	0.24
+sample	1488	0.24
+sample	1487	0.24
+sample	1486	0.25
+sample	1485	0.25
+sample	1483	0.25
+sample	1482	0.26
+sample	1480	0.26
+sample	1479	0.26
+sample	1477	0.27
+sample	1476	0.27
+sample	1475	0.27
+sample	1474	0.28
+sample	1473	0.28
+sample	1472	0.28
+sample	1470	0.28
+sample	1468	0.29
+sample	1464	0.29
+sample	1462	0.29
+sample	1461	0.30
+sample	1460	0.30
+sample	1458	0.30
+sample	1455	0.30
+sample	1453	0.30
+sample	1452	0.30
+sample	1451	0.30
+sample	1450	0.31
+sample	1449	0.31
+sample	1447	0.31
+sample	1446	0.31
+sample	1445	0.32
+sample	1443	0.32
+sample	1442	0.32
+sample	1441	0.32
+sample	1439	0.32
+sample	1438	0.32
+sample	1437	0.32
+sample	1435	0.33
+sample	1434	0.33
+sample	1431	0.33
+sample	1430	0.33
+sample	1426	0.33
+sample	1425	0.33
+sample	1424	0.33
+sample	1418	0.33
+sample	1417	0.33
+sample	1413	0.34
+sample	1409	0.34
+sample	1408	0.34
+sample	1406	0.34
+sample	1405	0.34
+sample	1403	0.34
+sample	1401	0.35
+sample	1398	0.35
+sample	1395	0.35
+sample	1391	0.35
+sample	1390	0.35
+sample	1385	0.35
+sample	1379	0.35
+sample	1378	0.35
+sample	1376	0.36
+sample	1372	0.36
+sample	1370	0.36
+sample	1368	0.36
+sample	1367	0.36
+sample	1365	0.36
+sample	1360	0.36
+sample	1343	0.36
+sample	1342	0.36
+sample	1338	0.37
+sample	1336	0.37
+sample	1334	0.37
+sample	1330	0.37
+sample	1328	0.37
+sample	1326	0.37
+sample	1323	0.37
+sample	1322	0.37
+sample	1320	0.38
+sample	1304	0.38
+sample	1300	0.38
+sample	1295	0.38
+sample	1290	0.38
+sample	1273	0.38
+sample	1272	0.38
+sample	1261	0.38
+sample	1184	0.38
+sample	1182	0.39
+sample	300	0.39
+sample	299	0.39
+sample	298	0.39
+sample	297	0.39
+sample	296	0.39
+sample	295	0.39
+sample	294	0.39
+sample	293	0.39
+sample	292	0.39
+sample	291	0.39
+sample	290	0.39
+sample	289	0.39
+sample	288	0.39
+sample	287	0.39
+sample	286	0.39
+sample	285	0.39
+sample	284	0.39
+sample	283	0.39
+sample	282	0.39
+sample	281	0.39
+sample	280	0.39
+sample	279	0.39
+sample	278	0.39
+sample	277	0.39
+sample	276	0.39
+sample	275	0.39
+sample	274	0.39
+sample	273	0.39
+sample	272	0.39
+sample	271	0.39
+sample	270	0.39
+sample	269	0.39
+sample	268	0.39
+sample	267	0.39
+sample	266	0.39
+sample	265	0.39
+sample	264	0.39
+sample	263	0.39
+sample	262	0.39
+sample	261	0.39
+sample	260	0.39
+sample	259	0.39
+sample	258	0.39
+sample	257	0.39
+sample	256	0.39
+sample	255	0.39
+sample	254	0.39
+sample	253	0.39
+sample	252	0.39
+sample	251	0.39
+sample	250	0.39
+sample	249	0.39
+sample	248	0.39
+sample	247	0.39
+sample	246	0.39
+sample	245	0.39
+sample	244	0.39
+sample	243	0.39
+sample	242	0.39
+sample	241	0.39
+sample	240	0.39
+sample	239	0.39
+sample	238	0.39
+sample	237	0.39
+sample	236	0.39
+sample	235	0.39
+sample	234	0.39
+sample	233	0.39
+sample	232	0.39
+sample	231	0.39
+sample	230	0.39
+sample	229	0.39
+sample	228	0.39
+sample	227	0.39
+sample	226	0.39
+sample	225	0.39
+sample	224	0.39
+sample	223	0.39
+sample	222	0.39
+sample	221	0.39
+sample	220	0.39
+sample	219	0.39
+sample	218	0.39
+sample	217	0.39
+sample	216	0.39
+sample	215	0.39
+sample	214	0.39
+sample	213	0.39
+sample	212	0.39
+sample	211	0.39
+sample	210	0.39
+sample	209	0.39
+sample	208	0.39
+sample	207	0.39
+sample	206	0.39
+sample	205	0.39
+sample	204	0.39
+sample	203	0.39
+sample	202	0.39
+sample	201	0.39
+sample	200	0.39
+sample	199	0.39
+sample	198	0.39
+sample	197	0.39
+sample	196	0.39
+sample	195	0.39
+sample	194	0.39
+sample	193	0.39
+sample	192	0.39
+sample	191	0.39
+sample	190	0.39
+sample	189	0.39
+sample	188	0.39
+sample	187	0.39
+sample	186	0.39
+sample	185	0.39
+sample	184	0.39
+sample	183	0.39
+sample	182	0.39
+sample	181	0.39
+sample	180	0.39
+sample	179	0.39
+sample	178	0.39
+sample	177	0.39
+sample	176	0.39
+sample	175	0.39
+sample	174	0.39
+sample	173	0.39
+sample	172	0.39
+sample	171	0.39
+sample	170	0.39
+sample	169	0.39
+sample	168	0.39
+sample	167	0.39
+sample	166	0.39
+sample	165	0.39
+sample	164	0.39
+sample	163	0.39
+sample	162	0.39
+sample	161	0.39
+sample	160	0.39
+sample	159	0.39
+sample	158	0.39
+sample	157	0.39
+sample	156	0.39
+sample	155	0.39
+sample	154	0.39
+sample	153	0.39
+sample	152	0.39
+sample	151	0.39
+sample	150	0.39
+sample	149	0.39
+sample	148	0.39
+sample	147	0.39
+sample	146	0.39
+sample	145	0.39
+sample	144	0.39
+sample	143	0.39
+sample	142	0.39
+sample	141	0.39
+sample	140	0.39
+sample	139	0.39
+sample	138	0.39
+sample	137	0.39
+sample	136	0.39
+sample	135	0.39
+sample	134	0.39
+sample	133	0.39
+sample	132	0.39
+sample	131	0.39
+sample	130	0.39
+sample	129	0.39
+sample	128	0.39
+sample	127	0.39
+sample	126	0.39
+sample	125	0.39
+sample	124	0.39
+sample	123	0.39
+sample	122	0.39
+sample	121	0.39
+sample	120	0.39
+sample	119	0.39
+sample	118	0.39
+sample	117	0.39
+sample	116	0.39
+sample	115	0.39
+sample	114	0.39
+sample	113	0.39
+sample	112	0.39
+sample	111	0.39
+sample	110	0.39
+sample	109	0.39
+sample	108	0.39
+sample	107	0.39
+sample	106	0.39
+sample	105	0.39
+sample	104	0.39
+sample	103	0.39
+sample	102	0.39
+sample	101	0.39
+sample	100	0.39
+sample	99	0.39
+sample	98	0.39
+sample	97	0.39
+sample	96	0.39
+sample	95	0.39
+sample	94	0.39
+sample	93	0.39
+sample	92	0.39
+sample	91	0.39
+sample	90	0.39
+sample	89	0.39
+sample	88	0.39
+sample	87	0.39
+sample	86	0.39
+sample	85	0.39
+sample	84	0.39
+sample	83	0.39
+sample	82	0.39
+sample	81	0.39
+sample	80	0.39
+sample	79	0.39
+sample	78	0.39
+sample	77	0.39
+sample	76	0.39
+sample	75	0.39
+sample	74	0.39
+sample	73	0.39
+sample	72	0.39
+sample	71	0.39
+sample	70	0.39
+sample	69	0.39
+sample	68	0.39
+sample	67	0.39
+sample	66	0.39
+sample	65	0.39
+sample	64	0.39
+sample	63	0.39
+sample	62	0.39
+sample	61	0.39
+sample	60	0.39
+sample	59	0.39
+sample	58	0.39
+sample	57	0.39
+sample	56	0.39
+sample	55	0.39
+sample	54	0.39
+sample	53	0.39
+sample	52	0.39
+sample	51	0.39
+sample	50	0.39
+sample	49	0.39
+sample	48	0.39
+sample	47	0.39
+sample	46	0.39
+sample	45	0.39
+sample	44	0.39
+sample	43	0.39
+sample	42	0.39
+sample	41	0.39
+sample	40	0.39
+sample	39	0.41
+sample	38	0.56
+sample	37	0.64
+sample	36	0.68
+sample	35	0.70
+sample	34	0.71
+sample	33	0.71
+sample	32	0.71
+sample	31	0.71
+sample	30	0.72
+sample	29	0.72
+sample	28	0.72
+sample	27	0.72
+sample	26	0.72
+sample	25	0.72
+sample	24	0.72
+sample	23	0.72
+sample	22	0.72
+sample	21	0.72
+sample	20	0.72
+sample	19	0.72
+sample	18	0.72
+sample	17	0.72
+sample	16	0.72
+sample	15	0.72
+sample	14	0.72
+sample	13	0.72
+sample	12	0.72
+sample	11	0.72
+sample	10	0.72
+sample	9	0.72
+sample	8	0.72
+sample	7	0.72
+sample	6	0.72
+sample	5	0.72
+sample	4	0.72
+sample	3	0.72
+sample	2	0.73
+sample	1	0.93
+sample	0	1.00
+total	1697	0.00
+total	1695	0.00
+total	1694	0.01
+total	1693	0.01
+total	1692	0.01
+total	1689	0.01
+total	1687	0.01
+total	1686	0.01
+total	1685	0.01
+total	1680	0.02
+total	1679	0.02
+total	1677	0.02
+total	1673	0.02
+total	1672	0.02
+total	1671	0.02
+total	1668	0.02
+total	1664	0.02
+total	1662	0.03
+total	1648	0.03
+total	1647	0.03
+total	1636	0.03
+total	1625	0.03
+total	1537	0.03
+total	1525	0.03
+total	1524	0.03
+total	1523	0.04
+total	1522	0.04
+total	1521	0.04
+total	1520	0.04
+total	1519	0.05
+total	1518	0.06
+total	1517	0.06
+total	1516	0.07
+total	1515	0.08
+total	1514	0.09
+total	1513	0.10
+total	1512	0.10
+total	1511	0.11
+total	1510	0.12
+total	1509	0.13
+total	1508	0.14
+total	1507	0.15
+total	1506	0.15
+total	1505	0.16
+total	1504	0.16
+total	1503	0.17
+total	1502	0.18
+total	1501	0.18
+total	1500	0.19
+total	1499	0.19
+total	1498	0.19
+total	1497	0.20
+total	1496	0.21
+total	1495	0.22
+total	1494	0.22
+total	1493	0.23
+total	1492	0.23
+total	1491	0.23
+total	1490	0.24
+total	1489	0.24
+total	1488	0.24
+total	1487	0.24
+total	1486	0.25
+total	1485	0.25
+total	1483	0.25
+total	1482	0.26
+total	1480	0.26
+total	1479	0.26
+total	1477	0.27
+total	1476	0.27
+total	1475	0.27
+total	1474	0.28
+total	1473	0.28
+total	1472	0.28
+total	1470	0.28
+total	1468	0.29
+total	1464	0.29
+total	1462	0.29
+total	1461	0.30
+total	1460	0.30
+total	1458	0.30
+total	1455	0.30
+total	1453	0.30
+total	1452	0.30
+total	1451	0.30
+total	1450	0.31
+total	1449	0.31
+total	1447	0.31
+total	1446	0.31
+total	1445	0.32
+total	1443	0.32
+total	1442	0.32
+total	1441	0.32
+total	1439	0.32
+total	1438	0.32
+total	1437	0.32
+total	1435	0.33
+total	1434	0.33
+total	1431	0.33
+total	1430	0.33
+total	1426	0.33
+total	1425	0.33
+total	1424	0.33
+total	1418	0.33
+total	1417	0.33
+total	1413	0.34
+total	1409	0.34
+total	1408	0.34
+total	1406	0.34
+total	1405	0.34
+total	1403	0.34
+total	1401	0.35
+total	1398	0.35
+total	1395	0.35
+total	1391	0.35
+total	1390	0.35
+total	1385	0.35
+total	1379	0.35
+total	1378	0.35
+total	1376	0.36
+total	1372	0.36
+total	1370	0.36
+total	1368	0.36
+total	1367	0.36
+total	1365	0.36
+total	1360	0.36
+total	1343	0.36
+total	1342	0.36
+total	1338	0.37
+total	1336	0.37
+total	1334	0.37
+total	1330	0.37
+total	1328	0.37
+total	1326	0.37
+total	1323	0.37
+total	1322	0.37
+total	1320	0.38
+total	1304	0.38
+total	1300	0.38
+total	1295	0.38
+total	1290	0.38
+total	1273	0.38
+total	1272	0.38
+total	1261	0.38
+total	1184	0.38
+total	1182	0.39
+total	300	0.39
+total	299	0.39
+total	298	0.39
+total	297	0.39
+total	296	0.39
+total	295	0.39
+total	294	0.39
+total	293	0.39
+total	292	0.39
+total	291	0.39
+total	290	0.39
+total	289	0.39
+total	288	0.39
+total	287	0.39
+total	286	0.39
+total	285	0.39
+total	284	0.39
+total	283	0.39
+total	282	0.39
+total	281	0.39
+total	280	0.39
+total	279	0.39
+total	278	0.39
+total	277	0.39
+total	276	0.39
+total	275	0.39
+total	274	0.39
+total	273	0.39
+total	272	0.39
+total	271	0.39
+total	270	0.39
+total	269	0.39
+total	268	0.39
+total	267	0.39
+total	266	0.39
+total	265	0.39
+total	264	0.39
+total	263	0.39
+total	262	0.39
+total	261	0.39
+total	260	0.39
+total	259	0.39
+total	258	0.39
+total	257	0.39
+total	256	0.39
+total	255	0.39
+total	254	0.39
+total	253	0.39
+total	252	0.39
+total	251	0.39
+total	250	0.39
+total	249	0.39
+total	248	0.39
+total	247	0.39
+total	246	0.39
+total	245	0.39
+total	244	0.39
+total	243	0.39
+total	242	0.39
+total	241	0.39
+total	240	0.39
+total	239	0.39
+total	238	0.39
+total	237	0.39
+total	236	0.39
+total	235	0.39
+total	234	0.39
+total	233	0.39
+total	232	0.39
+total	231	0.39
+total	230	0.39
+total	229	0.39
+total	228	0.39
+total	227	0.39
+total	226	0.39
+total	225	0.39
+total	224	0.39
+total	223	0.39
+total	222	0.39
+total	221	0.39
+total	220	0.39
+total	219	0.39
+total	218	0.39
+total	217	0.39
+total	216	0.39
+total	215	0.39
+total	214	0.39
+total	213	0.39
+total	212	0.39
+total	211	0.39
+total	210	0.39
+total	209	0.39
+total	208	0.39
+total	207	0.39
+total	206	0.39
+total	205	0.39
+total	204	0.39
+total	203	0.39
+total	202	0.39
+total	201	0.39
+total	200	0.39
+total	199	0.39
+total	198	0.39
+total	197	0.39
+total	196	0.39
+total	195	0.39
+total	194	0.39
+total	193	0.39
+total	192	0.39
+total	191	0.39
+total	190	0.39
+total	189	0.39
+total	188	0.39
+total	187	0.39
+total	186	0.39
+total	185	0.39
+total	184	0.39
+total	183	0.39
+total	182	0.39
+total	181	0.39
+total	180	0.39
+total	179	0.39
+total	178	0.39
+total	177	0.39
+total	176	0.39
+total	175	0.39
+total	174	0.39
+total	173	0.39
+total	172	0.39
+total	171	0.39
+total	170	0.39
+total	169	0.39
+total	168	0.39
+total	167	0.39
+total	166	0.39
+total	165	0.39
+total	164	0.39
+total	163	0.39
+total	162	0.39
+total	161	0.39
+total	160	0.39
+total	159	0.39
+total	158	0.39
+total	157	0.39
+total	156	0.39
+total	155	0.39
+total	154	0.39
+total	153	0.39
+total	152	0.39
+total	151	0.39
+total	150	0.39
+total	149	0.39
+total	148	0.39
+total	147	0.39
+total	146	0.39
+total	145	0.39
+total	144	0.39
+total	143	0.39
+total	142	0.39
+total	141	0.39
+total	140	0.39
+total	139	0.39
+total	138	0.39
+total	137	0.39
+total	136	0.39
+total	135	0.39
+total	134	0.39
+total	133	0.39
+total	132	0.39
+total	131	0.39
+total	130	0.39
+total	129	0.39
+total	128	0.39
+total	127	0.39
+total	126	0.39
+total	125	0.39
+total	124	0.39
+total	123	0.39
+total	122	0.39
+total	121	0.39
+total	120	0.39
+total	119	0.39
+total	118	0.39
+total	117	0.39
+total	116	0.39
+total	115	0.39
+total	114	0.39
+total	113	0.39
+total	112	0.39
+total	111	0.39
+total	110	0.39
+total	109	0.39
+total	108	0.39
+total	107	0.39
+total	106	0.39
+total	105	0.39
+total	104	0.39
+total	103	0.39
+total	102	0.39
+total	101	0.39
+total	100	0.39
+total	99	0.39
+total	98	0.39
+total	97	0.39
+total	96	0.39
+total	95	0.39
+total	94	0.39
+total	93	0.39
+total	92	0.39
+total	91	0.39
+total	90	0.39
+total	89	0.39
+total	88	0.39
+total	87	0.39
+total	86	0.39
+total	85	0.39
+total	84	0.39
+total	83	0.39
+total	82	0.39
+total	81	0.39
+total	80	0.39
+total	79	0.39
+total	78	0.39
+total	77	0.39
+total	76	0.39
+total	75	0.39
+total	74	0.39
+total	73	0.39
+total	72	0.39
+total	71	0.39
+total	70	0.39
+total	69	0.39
+total	68	0.39
+total	67	0.39
+total	66	0.39
+total	65	0.39
+total	64	0.39
+total	63	0.39
+total	62	0.39
+total	61	0.39
+total	60	0.39
+total	59	0.39
+total	58	0.39
+total	57	0.39
+total	56	0.39
+total	55	0.39
+total	54	0.39
+total	53	0.39
+total	52	0.39
+total	51	0.39
+total	50	0.39
+total	49	0.39
+total	48	0.39
+total	47	0.39
+total	46	0.39
+total	45	0.39
+total	44	0.39
+total	43	0.39
+total	42	0.39
+total	41	0.39
+total	40	0.39
+total	39	0.41
+total	38	0.56
+total	37	0.64
+total	36	0.68
+total	35	0.70
+total	34	0.71
+total	33	0.71
+total	32	0.71
+total	31	0.71
+total	30	0.72
+total	29	0.72
+total	28	0.72
+total	27	0.72
+total	26	0.72
+total	25	0.72
+total	24	0.72
+total	23	0.72
+total	22	0.72
+total	21	0.72
+total	20	0.72
+total	19	0.72
+total	18	0.72
+total	17	0.72
+total	16	0.72
+total	15	0.72
+total	14	0.72
+total	13	0.72
+total	12	0.72
+total	11	0.72
+total	10	0.72
+total	9	0.72
+total	8	0.72
+total	7	0.72
+total	6	0.72
+total	5	0.72
+total	4	0.72
+total	3	0.72
+total	2	0.73
+total	1	0.93
+total	0	1.00
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output_per_base_depth.bed	Sun Dec 04 18:30:36 2022 +0000
@@ -0,0 +1,548 @@
+sample	0	46	0
+sample	46	47	1662
+sample	47	48	1664
+sample	48	49	1693
+sample	49	50	1673
+sample	50	51	1636
+sample	51	52	1672
+sample	52	53	1668
+sample	53	54	1679
+sample	54	55	1664
+sample	55	56	1695
+sample	56	57	1686
+sample	57	58	1687
+sample	58	59	1694
+sample	59	60	1677
+sample	60	61	1697
+sample	61	62	1687
+sample	62	63	1648
+sample	63	64	1625
+sample	64	65	1687
+sample	65	66	1662
+sample	66	67	1647
+sample	67	68	1671
+sample	68	69	1692
+sample	69	70	1695
+sample	70	71	1693
+sample	71	72	1680
+sample	72	73	1689
+sample	73	74	1694
+sample	74	75	1685
+sample	75	76	1482
+sample	76	77	1537
+sample	77	78	1519
+sample	78	79	1462
+sample	79	80	1518
+sample	80	81	1522
+sample	81	82	1524
+sample	82	83	1515
+sample	83	84	1511
+sample	84	85	1390
+sample	85	86	1409
+sample	86	87	1510
+sample	87	89	1507
+sample	89	90	1475
+sample	90	91	1499
+sample	91	92	1497
+sample	92	93	1496
+sample	93	94	1509
+sample	94	95	1511
+sample	95	96	1504
+sample	96	97	1464
+sample	97	98	1502
+sample	98	99	1406
+sample	99	100	1290
+sample	100	101	1483
+sample	101	102	1512
+sample	102	103	1513
+sample	103	104	1512
+sample	104	105	1505
+sample	105	106	1464
+sample	106	107	1453
+sample	107	108	1493
+sample	108	109	1518
+sample	109	110	1398
+sample	110	111	1376
+sample	111	112	1507
+sample	112	113	1509
+sample	113	114	1492
+sample	114	115	1508
+sample	115	116	1495
+sample	116	117	1480
+sample	117	118	1485
+sample	118	119	1505
+sample	119	120	1470
+sample	120	121	1445
+sample	121	122	1426
+sample	122	123	1515
+sample	123	124	1507
+sample	124	126	1482
+sample	126	127	1513
+sample	127	128	1497
+sample	128	129	1502
+sample	129	130	1508
+sample	130	131	1492
+sample	131	132	1511
+sample	132	133	1501
+sample	133	134	1489
+sample	134	135	1474
+sample	135	136	1503
+sample	136	137	1510
+sample	137	138	1497
+sample	138	139	1503
+sample	139	140	1482
+sample	140	141	1474
+sample	141	142	1460
+sample	142	143	1513
+sample	143	144	1497
+sample	144	145	1517
+sample	145	146	1504
+sample	146	147	1511
+sample	147	148	1506
+sample	148	149	1511
+sample	149	150	1516
+sample	150	151	1501
+sample	151	153	1520
+sample	153	154	1524
+sample	154	155	1517
+sample	155	156	1515
+sample	156	157	1512
+sample	157	158	1498
+sample	158	159	1472
+sample	159	160	1523
+sample	160	161	1496
+sample	161	162	1493
+sample	162	163	1504
+sample	163	164	1508
+sample	164	165	1468
+sample	165	166	1474
+sample	166	167	1435
+sample	167	168	1508
+sample	168	169	1500
+sample	169	170	1512
+sample	170	171	1501
+sample	171	172	1503
+sample	172	173	1483
+sample	173	174	1515
+sample	174	175	1514
+sample	175	176	1496
+sample	176	177	1482
+sample	177	178	1503
+sample	178	179	1491
+sample	179	180	1474
+sample	180	181	1447
+sample	181	182	1520
+sample	182	183	1513
+sample	183	184	1507
+sample	184	185	1515
+sample	185	186	1505
+sample	186	187	1504
+sample	187	188	1496
+sample	188	189	1513
+sample	189	190	1515
+sample	190	191	1499
+sample	191	192	1508
+sample	192	193	1497
+sample	193	194	1430
+sample	194	195	1495
+sample	195	196	1477
+sample	196	197	1490
+sample	197	198	1507
+sample	198	199	1516
+sample	199	200	1474
+sample	200	201	1513
+sample	201	202	1518
+sample	202	203	1510
+sample	203	204	1520
+sample	204	205	1525
+sample	205	206	1480
+sample	206	207	1524
+sample	207	208	1497
+sample	208	209	1494
+sample	209	210	1503
+sample	210	211	1496
+sample	211	212	1513
+sample	212	213	1505
+sample	213	214	1503
+sample	214	215	1476
+sample	215	216	1503
+sample	216	217	1496
+sample	217	218	1519
+sample	218	219	1509
+sample	219	220	1496
+sample	220	221	1503
+sample	221	222	1496
+sample	222	223	1518
+sample	223	224	1515
+sample	224	225	1502
+sample	225	226	1458
+sample	226	227	1360
+sample	227	228	1367
+sample	228	229	1483
+sample	229	230	1514
+sample	230	231	1512
+sample	231	232	1510
+sample	232	233	1515
+sample	233	234	1473
+sample	234	235	1485
+sample	235	236	1507
+sample	236	237	1521
+sample	237	238	1515
+sample	238	239	1523
+sample	239	240	1517
+sample	240	241	1290
+sample	241	242	1518
+sample	242	243	1521
+sample	243	244	1370
+sample	244	245	1510
+sample	245	246	1408
+sample	246	247	1455
+sample	247	248	1468
+sample	248	249	1460
+sample	249	250	1515
+sample	250	251	1493
+sample	251	253	1510
+sample	253	254	1509
+sample	254	255	1519
+sample	255	256	1505
+sample	256	257	1182
+sample	257	258	1480
+sample	258	259	1495
+sample	259	260	1475
+sample	260	261	1511
+sample	261	262	1500
+sample	262	263	1424
+sample	263	264	1500
+sample	264	265	1512
+sample	265	266	1515
+sample	266	267	1518
+sample	267	268	1450
+sample	268	269	1475
+sample	269	270	1472
+sample	270	271	1443
+sample	271	272	1451
+sample	272	273	1500
+sample	273	274	1493
+sample	274	275	1501
+sample	275	276	1453
+sample	276	277	1499
+sample	277	278	1511
+sample	278	279	1509
+sample	279	280	1368
+sample	280	281	1502
+sample	281	282	1513
+sample	282	283	1496
+sample	283	284	1489
+sample	284	285	1510
+sample	285	286	1493
+sample	286	287	1508
+sample	287	288	1519
+sample	288	289	1512
+sample	289	290	1507
+sample	290	291	1512
+sample	291	292	1514
+sample	292	293	1475
+sample	293	294	1445
+sample	294	295	1496
+sample	295	296	1365
+sample	296	297	1504
+sample	297	298	1497
+sample	298	299	1343
+sample	299	300	1320
+sample	300	301	1510
+sample	301	302	1514
+sample	302	303	1512
+sample	303	305	1507
+sample	305	306	1515
+sample	306	307	1184
+sample	307	308	1509
+sample	308	309	1501
+sample	309	310	1516
+sample	310	311	1506
+sample	311	312	1502
+sample	312	313	1516
+sample	313	314	1476
+sample	314	315	1511
+sample	315	316	1497
+sample	316	317	1518
+sample	317	318	1519
+sample	318	319	1505
+sample	319	320	1494
+sample	320	322	1515
+sample	322	323	1516
+sample	323	324	1403
+sample	324	325	1514
+sample	325	326	1516
+sample	326	327	1510
+sample	327	328	1487
+sample	328	329	1491
+sample	329	330	1505
+sample	330	331	1490
+sample	331	332	1514
+sample	332	333	1506
+sample	333	334	1520
+sample	334	335	1505
+sample	335	336	1509
+sample	336	337	1516
+sample	337	338	1509
+sample	338	339	1516
+sample	339	340	1489
+sample	340	341	1455
+sample	341	342	1468
+sample	342	343	1482
+sample	343	344	1473
+sample	344	345	1503
+sample	345	346	1497
+sample	346	347	1495
+sample	347	349	1493
+sample	349	350	1495
+sample	350	352	1490
+sample	352	353	1479
+sample	353	354	1495
+sample	354	355	1487
+sample	355	356	1403
+sample	356	357	1461
+sample	357	358	1501
+sample	358	359	1378
+sample	359	360	1508
+sample	360	361	1499
+sample	361	362	1443
+sample	362	363	1494
+sample	363	364	1485
+sample	364	365	1379
+sample	365	366	1418
+sample	366	367	1504
+sample	367	368	1462
+sample	368	369	1497
+sample	369	370	1272
+sample	370	371	1395
+sample	371	372	1398
+sample	372	373	1462
+sample	373	374	1491
+sample	374	375	1483
+sample	375	376	1470
+sample	376	377	1482
+sample	377	378	1475
+sample	378	380	1461
+sample	380	381	1486
+sample	381	382	1488
+sample	382	383	1482
+sample	383	384	1474
+sample	384	385	1417
+sample	385	386	1445
+sample	386	387	1452
+sample	387	388	1372
+sample	388	389	1449
+sample	389	391	1401
+sample	391	393	1445
+sample	393	394	1447
+sample	394	395	1441
+sample	395	396	1431
+sample	396	397	1441
+sample	397	398	1449
+sample	398	399	1446
+sample	399	400	1442
+sample	400	401	1435
+sample	401	402	1406
+sample	402	403	1425
+sample	403	404	1376
+sample	404	405	1430
+sample	405	406	1439
+sample	406	407	1437
+sample	407	408	1438
+sample	408	409	1434
+sample	409	410	1405
+sample	410	412	1413
+sample	412	413	1391
+sample	413	414	1385
+sample	414	415	1336
+sample	415	417	1334
+sample	417	418	1370
+sample	418	419	1328
+sample	419	420	1338
+sample	420	421	1342
+sample	421	422	1322
+sample	422	423	1334
+sample	423	424	1330
+sample	424	425	1326
+sample	425	426	1323
+sample	426	427	1304
+sample	427	428	1300
+sample	428	429	1295
+sample	429	430	1273
+sample	430	431	1261
+sample	431	432	69
+sample	432	433	67
+sample	433	434	66
+sample	434	437	65
+sample	437	438	60
+sample	438	440	58
+sample	440	441	5
+sample	441	443	1
+sample	443	446	2
+sample	446	644	1
+sample	644	645	31
+sample	645	646	33
+sample	646	648	34
+sample	648	653	35
+sample	653	654	37
+sample	654	655	35
+sample	655	661	37
+sample	661	662	34
+sample	662	664	36
+sample	664	667	37
+sample	667	668	36
+sample	668	669	37
+sample	669	670	36
+sample	670	672	38
+sample	672	673	36
+sample	673	676	37
+sample	676	677	38
+sample	677	678	37
+sample	678	681	38
+sample	681	682	37
+sample	682	684	36
+sample	684	685	34
+sample	685	687	6
+sample	687	689	5
+sample	689	691	6
+sample	691	692	1
+sample	692	693	0
+sample	693	694	1
+sample	694	695	34
+sample	695	697	36
+sample	697	698	34
+sample	698	699	35
+sample	699	701	37
+sample	701	710	39
+sample	710	712	35
+sample	712	713	38
+sample	713	721	39
+sample	721	722	35
+sample	722	724	38
+sample	724	727	39
+sample	727	728	38
+sample	728	729	37
+sample	729	732	38
+sample	732	733	37
+sample	733	737	38
+sample	737	741	37
+sample	741	746	38
+sample	746	747	35
+sample	747	758	38
+sample	758	763	37
+sample	763	770	38
+sample	770	771	36
+sample	771	772	38
+sample	772	773	37
+sample	773	774	34
+sample	774	776	37
+sample	776	777	36
+sample	777	780	38
+sample	780	781	37
+sample	781	782	36
+sample	782	783	38
+sample	783	784	36
+sample	784	793	38
+sample	793	794	37
+sample	794	795	33
+sample	795	796	34
+sample	796	800	36
+sample	800	802	38
+sample	802	803	26
+sample	803	804	36
+sample	804	807	38
+sample	807	808	34
+sample	808	809	35
+sample	809	810	37
+sample	810	811	38
+sample	811	813	37
+sample	813	814	38
+sample	814	815	37
+sample	815	817	38
+sample	817	819	37
+sample	819	820	35
+sample	820	821	36
+sample	821	822	38
+sample	822	823	37
+sample	823	828	38
+sample	828	829	37
+sample	829	831	36
+sample	831	832	37
+sample	832	833	35
+sample	833	835	34
+sample	835	836	37
+sample	836	837	36
+sample	837	840	38
+sample	840	841	35
+sample	841	842	36
+sample	842	845	38
+sample	845	846	37
+sample	846	847	38
+sample	847	848	36
+sample	848	850	38
+sample	850	851	37
+sample	851	855	38
+sample	855	856	36
+sample	856	857	38
+sample	857	859	37
+sample	859	861	35
+sample	861	862	37
+sample	862	864	36
+sample	864	868	38
+sample	868	869	36
+sample	869	872	38
+sample	872	874	37
+sample	874	875	38
+sample	875	876	35
+sample	876	878	38
+sample	878	879	37
+sample	879	884	38
+sample	884	885	37
+sample	885	888	38
+sample	888	890	37
+sample	890	892	38
+sample	892	893	33
+sample	893	894	36
+sample	894	895	37
+sample	895	896	36
+sample	896	897	37
+sample	897	898	34
+sample	898	899	36
+sample	899	902	37
+sample	902	906	38
+sample	906	907	37
+sample	907	911	38
+sample	911	912	30
+sample	912	914	37
+sample	914	921	38
+sample	921	922	33
+sample	922	924	38
+sample	924	925	37
+sample	925	926	34
+sample	926	927	37
+sample	927	931	38
+sample	931	937	37
+sample	937	938	35
+sample	938	940	36
+sample	940	941	37
+sample	941	942	30
+sample	942	943	35
+sample	943	945	38
+sample	945	946	37
+sample	946	951	38
+sample	951	952	36
+sample	952	953	37
+sample	953	954	35
+sample	954	955	37
+sample	955	957	38
+sample	957	958	36
+sample	958	968	38
+sample	968	969	37
+sample	969	971	38
+sample	971	972	37
+sample	972	973	36
+sample	973	974	38
+sample	974	975	37
+sample	975	976	38
+sample	976	1000	0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output_quantized.bed	Sun Dec 04 18:30:36 2022 +0000
@@ -0,0 +1,5 @@
+sample	0	46	NO_COVERAGE
+sample	46	440	SUFFICIENT_COVERAGE
+sample	440	644	LOW_COVERAGE
+sample	644	976	SUFFICIENT_COVERAGE
+sample	976	1000	NO_COVERAGE
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output_region_depths.bed	Sun Dec 04 18:30:36 2022 +0000
@@ -0,0 +1,2 @@
+sample	22	581	varskip-0317-1_01	1026.10
+sample	418	998	varskip-0317-1_02	51.50
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output_region_distribution.tabular	Sun Dec 04 18:30:36 2022 +0000
@@ -0,0 +1,604 @@
+sample	999	0.40
+sample	300	0.40
+sample	299	0.40
+sample	298	0.40
+sample	297	0.40
+sample	296	0.40
+sample	295	0.40
+sample	294	0.40
+sample	293	0.40
+sample	292	0.40
+sample	291	0.40
+sample	290	0.40
+sample	289	0.40
+sample	288	0.40
+sample	287	0.40
+sample	286	0.40
+sample	285	0.40
+sample	284	0.40
+sample	283	0.40
+sample	282	0.40
+sample	281	0.40
+sample	280	0.40
+sample	279	0.40
+sample	278	0.40
+sample	277	0.40
+sample	276	0.40
+sample	275	0.40
+sample	274	0.40
+sample	273	0.40
+sample	272	0.40
+sample	271	0.40
+sample	270	0.40
+sample	269	0.40
+sample	268	0.40
+sample	267	0.40
+sample	266	0.40
+sample	265	0.40
+sample	264	0.40
+sample	263	0.40
+sample	262	0.40
+sample	261	0.40
+sample	260	0.40
+sample	259	0.40
+sample	258	0.40
+sample	257	0.40
+sample	256	0.40
+sample	255	0.40
+sample	254	0.40
+sample	253	0.40
+sample	252	0.40
+sample	251	0.40
+sample	250	0.40
+sample	249	0.40
+sample	248	0.40
+sample	247	0.40
+sample	246	0.40
+sample	245	0.40
+sample	244	0.40
+sample	243	0.40
+sample	242	0.40
+sample	241	0.40
+sample	240	0.40
+sample	239	0.40
+sample	238	0.40
+sample	237	0.40
+sample	236	0.40
+sample	235	0.40
+sample	234	0.40
+sample	233	0.40
+sample	232	0.40
+sample	231	0.40
+sample	230	0.40
+sample	229	0.40
+sample	228	0.40
+sample	227	0.40
+sample	226	0.40
+sample	225	0.40
+sample	224	0.40
+sample	223	0.40
+sample	222	0.40
+sample	221	0.40
+sample	220	0.40
+sample	219	0.40
+sample	218	0.40
+sample	217	0.40
+sample	216	0.40
+sample	215	0.60
+sample	214	0.60
+sample	213	0.60
+sample	212	0.60
+sample	211	0.60
+sample	210	0.60
+sample	209	0.60
+sample	208	0.60
+sample	207	0.60
+sample	206	0.60
+sample	205	0.60
+sample	204	0.60
+sample	203	0.60
+sample	202	0.60
+sample	201	0.60
+sample	200	0.60
+sample	199	0.60
+sample	198	0.60
+sample	197	0.60
+sample	196	0.60
+sample	195	0.60
+sample	194	0.60
+sample	193	0.60
+sample	192	0.60
+sample	191	0.60
+sample	190	0.60
+sample	189	0.60
+sample	188	0.60
+sample	187	0.60
+sample	186	0.60
+sample	185	0.60
+sample	184	0.60
+sample	183	0.60
+sample	182	0.60
+sample	181	0.60
+sample	180	0.60
+sample	179	0.60
+sample	178	0.60
+sample	177	0.60
+sample	176	0.60
+sample	175	0.60
+sample	174	0.60
+sample	173	0.60
+sample	172	0.60
+sample	171	0.60
+sample	170	0.60
+sample	169	0.60
+sample	168	0.60
+sample	167	0.60
+sample	166	0.60
+sample	165	0.60
+sample	164	0.60
+sample	163	0.60
+sample	162	0.60
+sample	161	0.60
+sample	160	0.60
+sample	159	0.60
+sample	158	0.60
+sample	157	0.60
+sample	156	0.60
+sample	155	0.60
+sample	154	0.60
+sample	153	0.60
+sample	152	0.60
+sample	151	0.60
+sample	150	0.60
+sample	149	0.60
+sample	148	0.60
+sample	147	0.60
+sample	146	0.60
+sample	145	0.60
+sample	144	0.60
+sample	143	0.60
+sample	142	0.60
+sample	141	0.60
+sample	140	0.60
+sample	139	0.60
+sample	138	0.60
+sample	137	0.60
+sample	136	0.60
+sample	135	0.60
+sample	134	0.60
+sample	133	0.60
+sample	132	0.60
+sample	131	0.60
+sample	130	0.60
+sample	129	0.60
+sample	128	0.60
+sample	127	0.60
+sample	126	0.60
+sample	125	0.60
+sample	124	0.60
+sample	123	0.60
+sample	122	0.60
+sample	121	0.60
+sample	120	0.60
+sample	119	0.60
+sample	118	0.60
+sample	117	0.60
+sample	116	0.60
+sample	115	0.60
+sample	114	0.60
+sample	113	0.60
+sample	112	0.60
+sample	111	0.60
+sample	110	0.60
+sample	109	0.60
+sample	108	0.60
+sample	107	0.60
+sample	106	0.60
+sample	105	0.60
+sample	104	0.60
+sample	103	0.60
+sample	102	0.60
+sample	101	0.60
+sample	100	0.60
+sample	99	0.60
+sample	98	0.60
+sample	97	0.60
+sample	96	0.60
+sample	95	0.60
+sample	94	0.60
+sample	93	0.60
+sample	92	0.60
+sample	91	0.60
+sample	90	0.60
+sample	89	0.60
+sample	88	0.60
+sample	87	0.60
+sample	86	0.60
+sample	85	0.60
+sample	84	0.60
+sample	83	0.60
+sample	82	0.60
+sample	81	0.60
+sample	80	0.60
+sample	79	0.60
+sample	78	0.60
+sample	77	0.60
+sample	76	0.60
+sample	75	0.60
+sample	74	0.60
+sample	73	0.60
+sample	72	0.60
+sample	71	0.60
+sample	70	0.60
+sample	69	0.60
+sample	68	0.60
+sample	67	0.60
+sample	66	0.60
+sample	65	0.60
+sample	64	0.60
+sample	63	0.60
+sample	62	0.60
+sample	61	0.60
+sample	60	0.60
+sample	59	0.60
+sample	58	0.60
+sample	57	0.60
+sample	56	0.60
+sample	55	0.60
+sample	54	0.60
+sample	53	0.60
+sample	52	0.60
+sample	51	0.60
+sample	50	0.60
+sample	49	0.60
+sample	48	0.60
+sample	47	0.60
+sample	46	0.60
+sample	45	0.60
+sample	44	0.60
+sample	43	0.60
+sample	42	0.60
+sample	41	0.60
+sample	40	0.60
+sample	39	0.60
+sample	38	0.60
+sample	37	0.60
+sample	36	0.60
+sample	35	0.60
+sample	34	0.60
+sample	33	0.80
+sample	32	0.80
+sample	31	0.80
+sample	30	0.80
+sample	29	0.80
+sample	28	1.00
+sample	27	1.00
+sample	26	1.00
+sample	25	1.00
+sample	24	1.00
+sample	23	1.00
+sample	22	1.00
+sample	21	1.00
+sample	20	1.00
+sample	19	1.00
+sample	18	1.00
+sample	17	1.00
+sample	16	1.00
+sample	15	1.00
+sample	14	1.00
+sample	13	1.00
+sample	12	1.00
+sample	11	1.00
+sample	10	1.00
+sample	9	1.00
+sample	8	1.00
+sample	7	1.00
+sample	6	1.00
+sample	5	1.00
+sample	4	1.00
+sample	3	1.00
+sample	2	1.00
+sample	1	1.00
+sample	0	1.00
+total	999	0.40
+total	300	0.40
+total	299	0.40
+total	298	0.40
+total	297	0.40
+total	296	0.40
+total	295	0.40
+total	294	0.40
+total	293	0.40
+total	292	0.40
+total	291	0.40
+total	290	0.40
+total	289	0.40
+total	288	0.40
+total	287	0.40
+total	286	0.40
+total	285	0.40
+total	284	0.40
+total	283	0.40
+total	282	0.40
+total	281	0.40
+total	280	0.40
+total	279	0.40
+total	278	0.40
+total	277	0.40
+total	276	0.40
+total	275	0.40
+total	274	0.40
+total	273	0.40
+total	272	0.40
+total	271	0.40
+total	270	0.40
+total	269	0.40
+total	268	0.40
+total	267	0.40
+total	266	0.40
+total	265	0.40
+total	264	0.40
+total	263	0.40
+total	262	0.40
+total	261	0.40
+total	260	0.40
+total	259	0.40
+total	258	0.40
+total	257	0.40
+total	256	0.40
+total	255	0.40
+total	254	0.40
+total	253	0.40
+total	252	0.40
+total	251	0.40
+total	250	0.40
+total	249	0.40
+total	248	0.40
+total	247	0.40
+total	246	0.40
+total	245	0.40
+total	244	0.40
+total	243	0.40
+total	242	0.40
+total	241	0.40
+total	240	0.40
+total	239	0.40
+total	238	0.40
+total	237	0.40
+total	236	0.40
+total	235	0.40
+total	234	0.40
+total	233	0.40
+total	232	0.40
+total	231	0.40
+total	230	0.40
+total	229	0.40
+total	228	0.40
+total	227	0.40
+total	226	0.40
+total	225	0.40
+total	224	0.40
+total	223	0.40
+total	222	0.40
+total	221	0.40
+total	220	0.40
+total	219	0.40
+total	218	0.40
+total	217	0.40
+total	216	0.40
+total	215	0.60
+total	214	0.60
+total	213	0.60
+total	212	0.60
+total	211	0.60
+total	210	0.60
+total	209	0.60
+total	208	0.60
+total	207	0.60
+total	206	0.60
+total	205	0.60
+total	204	0.60
+total	203	0.60
+total	202	0.60
+total	201	0.60
+total	200	0.60
+total	199	0.60
+total	198	0.60
+total	197	0.60
+total	196	0.60
+total	195	0.60
+total	194	0.60
+total	193	0.60
+total	192	0.60
+total	191	0.60
+total	190	0.60
+total	189	0.60
+total	188	0.60
+total	187	0.60
+total	186	0.60
+total	185	0.60
+total	184	0.60
+total	183	0.60
+total	182	0.60
+total	181	0.60
+total	180	0.60
+total	179	0.60
+total	178	0.60
+total	177	0.60
+total	176	0.60
+total	175	0.60
+total	174	0.60
+total	173	0.60
+total	172	0.60
+total	171	0.60
+total	170	0.60
+total	169	0.60
+total	168	0.60
+total	167	0.60
+total	166	0.60
+total	165	0.60
+total	164	0.60
+total	163	0.60
+total	162	0.60
+total	161	0.60
+total	160	0.60
+total	159	0.60
+total	158	0.60
+total	157	0.60
+total	156	0.60
+total	155	0.60
+total	154	0.60
+total	153	0.60
+total	152	0.60
+total	151	0.60
+total	150	0.60
+total	149	0.60
+total	148	0.60
+total	147	0.60
+total	146	0.60
+total	145	0.60
+total	144	0.60
+total	143	0.60
+total	142	0.60
+total	141	0.60
+total	140	0.60
+total	139	0.60
+total	138	0.60
+total	137	0.60
+total	136	0.60
+total	135	0.60
+total	134	0.60
+total	133	0.60
+total	132	0.60
+total	131	0.60
+total	130	0.60
+total	129	0.60
+total	128	0.60
+total	127	0.60
+total	126	0.60
+total	125	0.60
+total	124	0.60
+total	123	0.60
+total	122	0.60
+total	121	0.60
+total	120	0.60
+total	119	0.60
+total	118	0.60
+total	117	0.60
+total	116	0.60
+total	115	0.60
+total	114	0.60
+total	113	0.60
+total	112	0.60
+total	111	0.60
+total	110	0.60
+total	109	0.60
+total	108	0.60
+total	107	0.60
+total	106	0.60
+total	105	0.60
+total	104	0.60
+total	103	0.60
+total	102	0.60
+total	101	0.60
+total	100	0.60
+total	99	0.60
+total	98	0.60
+total	97	0.60
+total	96	0.60
+total	95	0.60
+total	94	0.60
+total	93	0.60
+total	92	0.60
+total	91	0.60
+total	90	0.60
+total	89	0.60
+total	88	0.60
+total	87	0.60
+total	86	0.60
+total	85	0.60
+total	84	0.60
+total	83	0.60
+total	82	0.60
+total	81	0.60
+total	80	0.60
+total	79	0.60
+total	78	0.60
+total	77	0.60
+total	76	0.60
+total	75	0.60
+total	74	0.60
+total	73	0.60
+total	72	0.60
+total	71	0.60
+total	70	0.60
+total	69	0.60
+total	68	0.60
+total	67	0.60
+total	66	0.60
+total	65	0.60
+total	64	0.60
+total	63	0.60
+total	62	0.60
+total	61	0.60
+total	60	0.60
+total	59	0.60
+total	58	0.60
+total	57	0.60
+total	56	0.60
+total	55	0.60
+total	54	0.60
+total	53	0.60
+total	52	0.60
+total	51	0.60
+total	50	0.60
+total	49	0.60
+total	48	0.60
+total	47	0.60
+total	46	0.60
+total	45	0.60
+total	44	0.60
+total	43	0.60
+total	42	0.60
+total	41	0.60
+total	40	0.60
+total	39	0.60
+total	38	0.60
+total	37	0.60
+total	36	0.60
+total	35	0.60
+total	34	0.60
+total	33	0.80
+total	32	0.80
+total	31	0.80
+total	30	0.80
+total	29	0.80
+total	28	1.00
+total	27	1.00
+total	26	1.00
+total	25	1.00
+total	24	1.00
+total	23	1.00
+total	22	1.00
+total	21	1.00
+total	20	1.00
+total	19	1.00
+total	18	1.00
+total	17	1.00
+total	16	1.00
+total	15	1.00
+total	14	1.00
+total	13	1.00
+total	12	1.00
+total	11	1.00
+total	10	1.00
+total	9	1.00
+total	8	1.00
+total	7	1.00
+total	6	1.00
+total	5	1.00
+total	4	1.00
+total	3	1.00
+total	2	1.00
+total	1	1.00
+total	0	1.00
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output_region_distribution_bed.tabular	Sun Dec 04 18:30:36 2022 +0000
@@ -0,0 +1,894 @@
+sample	1697	0.00
+sample	1695	0.00
+sample	1694	0.00
+sample	1693	0.01
+sample	1692	0.01
+sample	1689	0.01
+sample	1687	0.01
+sample	1686	0.01
+sample	1685	0.01
+sample	1680	0.01
+sample	1679	0.01
+sample	1677	0.01
+sample	1673	0.02
+sample	1672	0.02
+sample	1671	0.02
+sample	1668	0.02
+sample	1664	0.02
+sample	1662	0.02
+sample	1648	0.02
+sample	1647	0.02
+sample	1636	0.02
+sample	1625	0.03
+sample	1537	0.03
+sample	1525	0.03
+sample	1524	0.03
+sample	1523	0.03
+sample	1522	0.03
+sample	1521	0.03
+sample	1520	0.04
+sample	1519	0.04
+sample	1518	0.05
+sample	1517	0.05
+sample	1516	0.06
+sample	1515	0.07
+sample	1514	0.08
+sample	1513	0.08
+sample	1512	0.09
+sample	1511	0.10
+sample	1510	0.11
+sample	1509	0.11
+sample	1508	0.12
+sample	1507	0.13
+sample	1506	0.13
+sample	1505	0.14
+sample	1504	0.14
+sample	1503	0.15
+sample	1502	0.16
+sample	1501	0.16
+sample	1500	0.17
+sample	1499	0.17
+sample	1498	0.17
+sample	1497	0.18
+sample	1496	0.19
+sample	1495	0.19
+sample	1494	0.19
+sample	1493	0.20
+sample	1492	0.20
+sample	1491	0.21
+sample	1490	0.21
+sample	1489	0.21
+sample	1488	0.21
+sample	1487	0.21
+sample	1486	0.22
+sample	1485	0.22
+sample	1483	0.22
+sample	1482	0.23
+sample	1480	0.23
+sample	1479	0.23
+sample	1477	0.23
+sample	1476	0.23
+sample	1475	0.24
+sample	1474	0.24
+sample	1473	0.25
+sample	1472	0.25
+sample	1470	0.25
+sample	1468	0.25
+sample	1464	0.25
+sample	1462	0.26
+sample	1461	0.26
+sample	1460	0.26
+sample	1458	0.26
+sample	1455	0.26
+sample	1453	0.27
+sample	1452	0.27
+sample	1451	0.27
+sample	1450	0.27
+sample	1449	0.27
+sample	1447	0.27
+sample	1446	0.27
+sample	1445	0.28
+sample	1443	0.28
+sample	1442	0.28
+sample	1441	0.28
+sample	1439	0.28
+sample	1438	0.28
+sample	1437	0.28
+sample	1435	0.29
+sample	1434	0.29
+sample	1431	0.29
+sample	1430	0.29
+sample	1426	0.29
+sample	1425	0.29
+sample	1424	0.29
+sample	1418	0.29
+sample	1417	0.29
+sample	1413	0.29
+sample	1409	0.30
+sample	1408	0.30
+sample	1406	0.30
+sample	1405	0.30
+sample	1403	0.30
+sample	1401	0.30
+sample	1398	0.30
+sample	1395	0.31
+sample	1391	0.31
+sample	1390	0.31
+sample	1385	0.31
+sample	1379	0.31
+sample	1378	0.31
+sample	1376	0.31
+sample	1372	0.31
+sample	1370	0.31
+sample	1368	0.32
+sample	1367	0.32
+sample	1365	0.32
+sample	1360	0.32
+sample	1343	0.32
+sample	1342	0.32
+sample	1338	0.32
+sample	1336	0.32
+sample	1334	0.33
+sample	1330	0.33
+sample	1328	0.33
+sample	1326	0.33
+sample	1323	0.33
+sample	1322	0.34
+sample	1320	0.34
+sample	1304	0.34
+sample	1300	0.34
+sample	1295	0.34
+sample	1290	0.34
+sample	1273	0.35
+sample	1272	0.35
+sample	1261	0.35
+sample	1184	0.35
+sample	1182	0.35
+sample	300	0.35
+sample	299	0.35
+sample	298	0.35
+sample	297	0.35
+sample	296	0.35
+sample	295	0.35
+sample	294	0.35
+sample	293	0.35
+sample	292	0.35
+sample	291	0.35
+sample	290	0.35
+sample	289	0.35
+sample	288	0.35
+sample	287	0.35
+sample	286	0.35
+sample	285	0.35
+sample	284	0.35
+sample	283	0.35
+sample	282	0.35
+sample	281	0.35
+sample	280	0.35
+sample	279	0.35
+sample	278	0.35
+sample	277	0.35
+sample	276	0.35
+sample	275	0.35
+sample	274	0.35
+sample	273	0.35
+sample	272	0.35
+sample	271	0.35
+sample	270	0.35
+sample	269	0.35
+sample	268	0.35
+sample	267	0.35
+sample	266	0.35
+sample	265	0.35
+sample	264	0.35
+sample	263	0.35
+sample	262	0.35
+sample	261	0.35
+sample	260	0.35
+sample	259	0.35
+sample	258	0.35
+sample	257	0.35
+sample	256	0.35
+sample	255	0.35
+sample	254	0.35
+sample	253	0.35
+sample	252	0.35
+sample	251	0.35
+sample	250	0.35
+sample	249	0.35
+sample	248	0.35
+sample	247	0.35
+sample	246	0.35
+sample	245	0.35
+sample	244	0.35
+sample	243	0.35
+sample	242	0.35
+sample	241	0.35
+sample	240	0.35
+sample	239	0.35
+sample	238	0.35
+sample	237	0.35
+sample	236	0.35
+sample	235	0.35
+sample	234	0.35
+sample	233	0.35
+sample	232	0.35
+sample	231	0.35
+sample	230	0.35
+sample	229	0.35
+sample	228	0.35
+sample	227	0.35
+sample	226	0.35
+sample	225	0.35
+sample	224	0.35
+sample	223	0.35
+sample	222	0.35
+sample	221	0.35
+sample	220	0.35
+sample	219	0.35
+sample	218	0.35
+sample	217	0.35
+sample	216	0.35
+sample	215	0.35
+sample	214	0.35
+sample	213	0.35
+sample	212	0.35
+sample	211	0.35
+sample	210	0.35
+sample	209	0.35
+sample	208	0.35
+sample	207	0.35
+sample	206	0.35
+sample	205	0.35
+sample	204	0.35
+sample	203	0.35
+sample	202	0.35
+sample	201	0.35
+sample	200	0.35
+sample	199	0.35
+sample	198	0.35
+sample	197	0.35
+sample	196	0.35
+sample	195	0.35
+sample	194	0.35
+sample	193	0.35
+sample	192	0.35
+sample	191	0.35
+sample	190	0.35
+sample	189	0.35
+sample	188	0.35
+sample	187	0.35
+sample	186	0.35
+sample	185	0.35
+sample	184	0.35
+sample	183	0.35
+sample	182	0.35
+sample	181	0.35
+sample	180	0.35
+sample	179	0.35
+sample	178	0.35
+sample	177	0.35
+sample	176	0.35
+sample	175	0.35
+sample	174	0.35
+sample	173	0.35
+sample	172	0.35
+sample	171	0.35
+sample	170	0.35
+sample	169	0.35
+sample	168	0.35
+sample	167	0.35
+sample	166	0.35
+sample	165	0.35
+sample	164	0.35
+sample	163	0.35
+sample	162	0.35
+sample	161	0.35
+sample	160	0.35
+sample	159	0.35
+sample	158	0.35
+sample	157	0.35
+sample	156	0.35
+sample	155	0.35
+sample	154	0.35
+sample	153	0.35
+sample	152	0.35
+sample	151	0.35
+sample	150	0.35
+sample	149	0.35
+sample	148	0.35
+sample	147	0.35
+sample	146	0.35
+sample	145	0.35
+sample	144	0.35
+sample	143	0.35
+sample	142	0.35
+sample	141	0.35
+sample	140	0.35
+sample	139	0.35
+sample	138	0.35
+sample	137	0.35
+sample	136	0.35
+sample	135	0.35
+sample	134	0.35
+sample	133	0.35
+sample	132	0.35
+sample	131	0.35
+sample	130	0.35
+sample	129	0.35
+sample	128	0.35
+sample	127	0.35
+sample	126	0.35
+sample	125	0.35
+sample	124	0.35
+sample	123	0.35
+sample	122	0.35
+sample	121	0.35
+sample	120	0.35
+sample	119	0.35
+sample	118	0.35
+sample	117	0.35
+sample	116	0.35
+sample	115	0.35
+sample	114	0.35
+sample	113	0.35
+sample	112	0.35
+sample	111	0.35
+sample	110	0.35
+sample	109	0.35
+sample	108	0.35
+sample	107	0.35
+sample	106	0.35
+sample	105	0.35
+sample	104	0.35
+sample	103	0.35
+sample	102	0.35
+sample	101	0.35
+sample	100	0.35
+sample	99	0.35
+sample	98	0.35
+sample	97	0.35
+sample	96	0.35
+sample	95	0.35
+sample	94	0.35
+sample	93	0.35
+sample	92	0.35
+sample	91	0.35
+sample	90	0.35
+sample	89	0.35
+sample	88	0.35
+sample	87	0.35
+sample	86	0.35
+sample	85	0.35
+sample	84	0.35
+sample	83	0.35
+sample	82	0.35
+sample	81	0.35
+sample	80	0.35
+sample	79	0.35
+sample	78	0.35
+sample	77	0.35
+sample	76	0.35
+sample	75	0.35
+sample	74	0.35
+sample	73	0.35
+sample	72	0.35
+sample	71	0.35
+sample	70	0.35
+sample	69	0.35
+sample	68	0.35
+sample	67	0.35
+sample	66	0.35
+sample	65	0.36
+sample	64	0.36
+sample	63	0.36
+sample	62	0.36
+sample	61	0.36
+sample	60	0.36
+sample	59	0.36
+sample	58	0.37
+sample	57	0.37
+sample	56	0.37
+sample	55	0.37
+sample	54	0.37
+sample	53	0.37
+sample	52	0.37
+sample	51	0.37
+sample	50	0.37
+sample	49	0.37
+sample	48	0.37
+sample	47	0.37
+sample	46	0.37
+sample	45	0.37
+sample	44	0.37
+sample	43	0.37
+sample	42	0.37
+sample	41	0.37
+sample	40	0.37
+sample	39	0.38
+sample	38	0.51
+sample	37	0.58
+sample	36	0.61
+sample	35	0.63
+sample	34	0.64
+sample	33	0.65
+sample	32	0.65
+sample	31	0.65
+sample	30	0.65
+sample	29	0.65
+sample	28	0.65
+sample	27	0.65
+sample	26	0.65
+sample	25	0.65
+sample	24	0.65
+sample	23	0.65
+sample	22	0.65
+sample	21	0.65
+sample	20	0.65
+sample	19	0.65
+sample	18	0.65
+sample	17	0.65
+sample	16	0.65
+sample	15	0.65
+sample	14	0.65
+sample	13	0.65
+sample	12	0.65
+sample	11	0.65
+sample	10	0.65
+sample	9	0.65
+sample	8	0.65
+sample	7	0.65
+sample	6	0.65
+sample	5	0.66
+sample	4	0.66
+sample	3	0.66
+sample	2	0.66
+sample	1	0.96
+sample	0	1.00
+total	1697	0.00
+total	1695	0.00
+total	1694	0.00
+total	1693	0.01
+total	1692	0.01
+total	1689	0.01
+total	1687	0.01
+total	1686	0.01
+total	1685	0.01
+total	1680	0.01
+total	1679	0.01
+total	1677	0.01
+total	1673	0.02
+total	1672	0.02
+total	1671	0.02
+total	1668	0.02
+total	1664	0.02
+total	1662	0.02
+total	1648	0.02
+total	1647	0.02
+total	1636	0.02
+total	1625	0.03
+total	1537	0.03
+total	1525	0.03
+total	1524	0.03
+total	1523	0.03
+total	1522	0.03
+total	1521	0.03
+total	1520	0.04
+total	1519	0.04
+total	1518	0.05
+total	1517	0.05
+total	1516	0.06
+total	1515	0.07
+total	1514	0.08
+total	1513	0.08
+total	1512	0.09
+total	1511	0.10
+total	1510	0.11
+total	1509	0.11
+total	1508	0.12
+total	1507	0.13
+total	1506	0.13
+total	1505	0.14
+total	1504	0.14
+total	1503	0.15
+total	1502	0.16
+total	1501	0.16
+total	1500	0.17
+total	1499	0.17
+total	1498	0.17
+total	1497	0.18
+total	1496	0.19
+total	1495	0.19
+total	1494	0.19
+total	1493	0.20
+total	1492	0.20
+total	1491	0.21
+total	1490	0.21
+total	1489	0.21
+total	1488	0.21
+total	1487	0.21
+total	1486	0.22
+total	1485	0.22
+total	1483	0.22
+total	1482	0.23
+total	1480	0.23
+total	1479	0.23
+total	1477	0.23
+total	1476	0.23
+total	1475	0.24
+total	1474	0.24
+total	1473	0.25
+total	1472	0.25
+total	1470	0.25
+total	1468	0.25
+total	1464	0.25
+total	1462	0.26
+total	1461	0.26
+total	1460	0.26
+total	1458	0.26
+total	1455	0.26
+total	1453	0.27
+total	1452	0.27
+total	1451	0.27
+total	1450	0.27
+total	1449	0.27
+total	1447	0.27
+total	1446	0.27
+total	1445	0.28
+total	1443	0.28
+total	1442	0.28
+total	1441	0.28
+total	1439	0.28
+total	1438	0.28
+total	1437	0.28
+total	1435	0.29
+total	1434	0.29
+total	1431	0.29
+total	1430	0.29
+total	1426	0.29
+total	1425	0.29
+total	1424	0.29
+total	1418	0.29
+total	1417	0.29
+total	1413	0.29
+total	1409	0.30
+total	1408	0.30
+total	1406	0.30
+total	1405	0.30
+total	1403	0.30
+total	1401	0.30
+total	1398	0.30
+total	1395	0.31
+total	1391	0.31
+total	1390	0.31
+total	1385	0.31
+total	1379	0.31
+total	1378	0.31
+total	1376	0.31
+total	1372	0.31
+total	1370	0.31
+total	1368	0.32
+total	1367	0.32
+total	1365	0.32
+total	1360	0.32
+total	1343	0.32
+total	1342	0.32
+total	1338	0.32
+total	1336	0.32
+total	1334	0.33
+total	1330	0.33
+total	1328	0.33
+total	1326	0.33
+total	1323	0.33
+total	1322	0.34
+total	1320	0.34
+total	1304	0.34
+total	1300	0.34
+total	1295	0.34
+total	1290	0.34
+total	1273	0.35
+total	1272	0.35
+total	1261	0.35
+total	1184	0.35
+total	1182	0.35
+total	300	0.35
+total	299	0.35
+total	298	0.35
+total	297	0.35
+total	296	0.35
+total	295	0.35
+total	294	0.35
+total	293	0.35
+total	292	0.35
+total	291	0.35
+total	290	0.35
+total	289	0.35
+total	288	0.35
+total	287	0.35
+total	286	0.35
+total	285	0.35
+total	284	0.35
+total	283	0.35
+total	282	0.35
+total	281	0.35
+total	280	0.35
+total	279	0.35
+total	278	0.35
+total	277	0.35
+total	276	0.35
+total	275	0.35
+total	274	0.35
+total	273	0.35
+total	272	0.35
+total	271	0.35
+total	270	0.35
+total	269	0.35
+total	268	0.35
+total	267	0.35
+total	266	0.35
+total	265	0.35
+total	264	0.35
+total	263	0.35
+total	262	0.35
+total	261	0.35
+total	260	0.35
+total	259	0.35
+total	258	0.35
+total	257	0.35
+total	256	0.35
+total	255	0.35
+total	254	0.35
+total	253	0.35
+total	252	0.35
+total	251	0.35
+total	250	0.35
+total	249	0.35
+total	248	0.35
+total	247	0.35
+total	246	0.35
+total	245	0.35
+total	244	0.35
+total	243	0.35
+total	242	0.35
+total	241	0.35
+total	240	0.35
+total	239	0.35
+total	238	0.35
+total	237	0.35
+total	236	0.35
+total	235	0.35
+total	234	0.35
+total	233	0.35
+total	232	0.35
+total	231	0.35
+total	230	0.35
+total	229	0.35
+total	228	0.35
+total	227	0.35
+total	226	0.35
+total	225	0.35
+total	224	0.35
+total	223	0.35
+total	222	0.35
+total	221	0.35
+total	220	0.35
+total	219	0.35
+total	218	0.35
+total	217	0.35
+total	216	0.35
+total	215	0.35
+total	214	0.35
+total	213	0.35
+total	212	0.35
+total	211	0.35
+total	210	0.35
+total	209	0.35
+total	208	0.35
+total	207	0.35
+total	206	0.35
+total	205	0.35
+total	204	0.35
+total	203	0.35
+total	202	0.35
+total	201	0.35
+total	200	0.35
+total	199	0.35
+total	198	0.35
+total	197	0.35
+total	196	0.35
+total	195	0.35
+total	194	0.35
+total	193	0.35
+total	192	0.35
+total	191	0.35
+total	190	0.35
+total	189	0.35
+total	188	0.35
+total	187	0.35
+total	186	0.35
+total	185	0.35
+total	184	0.35
+total	183	0.35
+total	182	0.35
+total	181	0.35
+total	180	0.35
+total	179	0.35
+total	178	0.35
+total	177	0.35
+total	176	0.35
+total	175	0.35
+total	174	0.35
+total	173	0.35
+total	172	0.35
+total	171	0.35
+total	170	0.35
+total	169	0.35
+total	168	0.35
+total	167	0.35
+total	166	0.35
+total	165	0.35
+total	164	0.35
+total	163	0.35
+total	162	0.35
+total	161	0.35
+total	160	0.35
+total	159	0.35
+total	158	0.35
+total	157	0.35
+total	156	0.35
+total	155	0.35
+total	154	0.35
+total	153	0.35
+total	152	0.35
+total	151	0.35
+total	150	0.35
+total	149	0.35
+total	148	0.35
+total	147	0.35
+total	146	0.35
+total	145	0.35
+total	144	0.35
+total	143	0.35
+total	142	0.35
+total	141	0.35
+total	140	0.35
+total	139	0.35
+total	138	0.35
+total	137	0.35
+total	136	0.35
+total	135	0.35
+total	134	0.35
+total	133	0.35
+total	132	0.35
+total	131	0.35
+total	130	0.35
+total	129	0.35
+total	128	0.35
+total	127	0.35
+total	126	0.35
+total	125	0.35
+total	124	0.35
+total	123	0.35
+total	122	0.35
+total	121	0.35
+total	120	0.35
+total	119	0.35
+total	118	0.35
+total	117	0.35
+total	116	0.35
+total	115	0.35
+total	114	0.35
+total	113	0.35
+total	112	0.35
+total	111	0.35
+total	110	0.35
+total	109	0.35
+total	108	0.35
+total	107	0.35
+total	106	0.35
+total	105	0.35
+total	104	0.35
+total	103	0.35
+total	102	0.35
+total	101	0.35
+total	100	0.35
+total	99	0.35
+total	98	0.35
+total	97	0.35
+total	96	0.35
+total	95	0.35
+total	94	0.35
+total	93	0.35
+total	92	0.35
+total	91	0.35
+total	90	0.35
+total	89	0.35
+total	88	0.35
+total	87	0.35
+total	86	0.35
+total	85	0.35
+total	84	0.35
+total	83	0.35
+total	82	0.35
+total	81	0.35
+total	80	0.35
+total	79	0.35
+total	78	0.35
+total	77	0.35
+total	76	0.35
+total	75	0.35
+total	74	0.35
+total	73	0.35
+total	72	0.35
+total	71	0.35
+total	70	0.35
+total	69	0.35
+total	68	0.35
+total	67	0.35
+total	66	0.35
+total	65	0.36
+total	64	0.36
+total	63	0.36
+total	62	0.36
+total	61	0.36
+total	60	0.36
+total	59	0.36
+total	58	0.37
+total	57	0.37
+total	56	0.37
+total	55	0.37
+total	54	0.37
+total	53	0.37
+total	52	0.37
+total	51	0.37
+total	50	0.37
+total	49	0.37
+total	48	0.37
+total	47	0.37
+total	46	0.37
+total	45	0.37
+total	44	0.37
+total	43	0.37
+total	42	0.37
+total	41	0.37
+total	40	0.37
+total	39	0.38
+total	38	0.51
+total	37	0.58
+total	36	0.61
+total	35	0.63
+total	34	0.64
+total	33	0.65
+total	32	0.65
+total	31	0.65
+total	30	0.65
+total	29	0.65
+total	28	0.65
+total	27	0.65
+total	26	0.65
+total	25	0.65
+total	24	0.65
+total	23	0.65
+total	22	0.65
+total	21	0.65
+total	20	0.65
+total	19	0.65
+total	18	0.65
+total	17	0.65
+total	16	0.65
+total	15	0.65
+total	14	0.65
+total	13	0.65
+total	12	0.65
+total	11	0.65
+total	10	0.65
+total	9	0.65
+total	8	0.65
+total	7	0.65
+total	6	0.65
+total	5	0.66
+total	4	0.66
+total	3	0.66
+total	2	0.66
+total	1	0.96
+total	0	1.00
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output_region_distribution_median.tabular	Sun Dec 04 18:30:36 2022 +0000
@@ -0,0 +1,604 @@
+sample	999	0.40
+sample	300	0.40
+sample	299	0.40
+sample	298	0.40
+sample	297	0.40
+sample	296	0.40
+sample	295	0.40
+sample	294	0.40
+sample	293	0.40
+sample	292	0.40
+sample	291	0.40
+sample	290	0.40
+sample	289	0.40
+sample	288	0.40
+sample	287	0.40
+sample	286	0.40
+sample	285	0.40
+sample	284	0.40
+sample	283	0.40
+sample	282	0.40
+sample	281	0.40
+sample	280	0.40
+sample	279	0.40
+sample	278	0.40
+sample	277	0.40
+sample	276	0.40
+sample	275	0.40
+sample	274	0.40
+sample	273	0.40
+sample	272	0.40
+sample	271	0.40
+sample	270	0.40
+sample	269	0.40
+sample	268	0.40
+sample	267	0.40
+sample	266	0.40
+sample	265	0.40
+sample	264	0.40
+sample	263	0.40
+sample	262	0.40
+sample	261	0.40
+sample	260	0.40
+sample	259	0.40
+sample	258	0.40
+sample	257	0.40
+sample	256	0.40
+sample	255	0.40
+sample	254	0.40
+sample	253	0.40
+sample	252	0.40
+sample	251	0.40
+sample	250	0.40
+sample	249	0.40
+sample	248	0.40
+sample	247	0.40
+sample	246	0.40
+sample	245	0.40
+sample	244	0.40
+sample	243	0.40
+sample	242	0.40
+sample	241	0.40
+sample	240	0.40
+sample	239	0.40
+sample	238	0.40
+sample	237	0.40
+sample	236	0.40
+sample	235	0.40
+sample	234	0.40
+sample	233	0.40
+sample	232	0.40
+sample	231	0.40
+sample	230	0.40
+sample	229	0.40
+sample	228	0.40
+sample	227	0.40
+sample	226	0.40
+sample	225	0.40
+sample	224	0.40
+sample	223	0.40
+sample	222	0.40
+sample	221	0.40
+sample	220	0.40
+sample	219	0.40
+sample	218	0.40
+sample	217	0.40
+sample	216	0.40
+sample	215	0.40
+sample	214	0.40
+sample	213	0.40
+sample	212	0.40
+sample	211	0.40
+sample	210	0.40
+sample	209	0.40
+sample	208	0.40
+sample	207	0.40
+sample	206	0.40
+sample	205	0.40
+sample	204	0.40
+sample	203	0.40
+sample	202	0.40
+sample	201	0.40
+sample	200	0.40
+sample	199	0.40
+sample	198	0.40
+sample	197	0.40
+sample	196	0.40
+sample	195	0.40
+sample	194	0.40
+sample	193	0.40
+sample	192	0.40
+sample	191	0.40
+sample	190	0.40
+sample	189	0.40
+sample	188	0.40
+sample	187	0.40
+sample	186	0.40
+sample	185	0.40
+sample	184	0.40
+sample	183	0.40
+sample	182	0.40
+sample	181	0.40
+sample	180	0.40
+sample	179	0.40
+sample	178	0.40
+sample	177	0.40
+sample	176	0.40
+sample	175	0.40
+sample	174	0.40
+sample	173	0.40
+sample	172	0.40
+sample	171	0.40
+sample	170	0.40
+sample	169	0.40
+sample	168	0.40
+sample	167	0.40
+sample	166	0.40
+sample	165	0.40
+sample	164	0.40
+sample	163	0.40
+sample	162	0.40
+sample	161	0.40
+sample	160	0.40
+sample	159	0.40
+sample	158	0.40
+sample	157	0.40
+sample	156	0.40
+sample	155	0.40
+sample	154	0.40
+sample	153	0.40
+sample	152	0.40
+sample	151	0.40
+sample	150	0.40
+sample	149	0.40
+sample	148	0.40
+sample	147	0.40
+sample	146	0.40
+sample	145	0.40
+sample	144	0.40
+sample	143	0.40
+sample	142	0.40
+sample	141	0.40
+sample	140	0.40
+sample	139	0.40
+sample	138	0.40
+sample	137	0.40
+sample	136	0.40
+sample	135	0.40
+sample	134	0.40
+sample	133	0.40
+sample	132	0.40
+sample	131	0.40
+sample	130	0.40
+sample	129	0.40
+sample	128	0.40
+sample	127	0.40
+sample	126	0.40
+sample	125	0.40
+sample	124	0.40
+sample	123	0.40
+sample	122	0.40
+sample	121	0.40
+sample	120	0.40
+sample	119	0.40
+sample	118	0.40
+sample	117	0.40
+sample	116	0.40
+sample	115	0.40
+sample	114	0.40
+sample	113	0.40
+sample	112	0.40
+sample	111	0.40
+sample	110	0.40
+sample	109	0.40
+sample	108	0.40
+sample	107	0.40
+sample	106	0.40
+sample	105	0.40
+sample	104	0.40
+sample	103	0.40
+sample	102	0.40
+sample	101	0.40
+sample	100	0.40
+sample	99	0.40
+sample	98	0.40
+sample	97	0.40
+sample	96	0.40
+sample	95	0.40
+sample	94	0.40
+sample	93	0.40
+sample	92	0.40
+sample	91	0.40
+sample	90	0.40
+sample	89	0.40
+sample	88	0.40
+sample	87	0.40
+sample	86	0.40
+sample	85	0.40
+sample	84	0.40
+sample	83	0.40
+sample	82	0.40
+sample	81	0.40
+sample	80	0.40
+sample	79	0.40
+sample	78	0.40
+sample	77	0.40
+sample	76	0.40
+sample	75	0.40
+sample	74	0.40
+sample	73	0.40
+sample	72	0.40
+sample	71	0.40
+sample	70	0.40
+sample	69	0.40
+sample	68	0.40
+sample	67	0.40
+sample	66	0.40
+sample	65	0.40
+sample	64	0.40
+sample	63	0.40
+sample	62	0.40
+sample	61	0.40
+sample	60	0.40
+sample	59	0.40
+sample	58	0.40
+sample	57	0.40
+sample	56	0.40
+sample	55	0.40
+sample	54	0.40
+sample	53	0.40
+sample	52	0.40
+sample	51	0.40
+sample	50	0.40
+sample	49	0.40
+sample	48	0.40
+sample	47	0.40
+sample	46	0.40
+sample	45	0.40
+sample	44	0.40
+sample	43	0.40
+sample	42	0.40
+sample	41	0.40
+sample	40	0.40
+sample	39	0.40
+sample	38	0.80
+sample	37	0.80
+sample	36	0.80
+sample	35	0.80
+sample	34	0.80
+sample	33	0.80
+sample	32	0.80
+sample	31	0.80
+sample	30	0.80
+sample	29	0.80
+sample	28	0.80
+sample	27	0.80
+sample	26	0.80
+sample	25	0.80
+sample	24	0.80
+sample	23	0.80
+sample	22	0.80
+sample	21	0.80
+sample	20	0.80
+sample	19	0.80
+sample	18	0.80
+sample	17	0.80
+sample	16	0.80
+sample	15	0.80
+sample	14	0.80
+sample	13	0.80
+sample	12	0.80
+sample	11	0.80
+sample	10	0.80
+sample	9	0.80
+sample	8	0.80
+sample	7	0.80
+sample	6	0.80
+sample	5	0.80
+sample	4	0.80
+sample	3	0.80
+sample	2	0.80
+sample	1	1.00
+sample	0	1.00
+total	999	0.40
+total	300	0.40
+total	299	0.40
+total	298	0.40
+total	297	0.40
+total	296	0.40
+total	295	0.40
+total	294	0.40
+total	293	0.40
+total	292	0.40
+total	291	0.40
+total	290	0.40
+total	289	0.40
+total	288	0.40
+total	287	0.40
+total	286	0.40
+total	285	0.40
+total	284	0.40
+total	283	0.40
+total	282	0.40
+total	281	0.40
+total	280	0.40
+total	279	0.40
+total	278	0.40
+total	277	0.40
+total	276	0.40
+total	275	0.40
+total	274	0.40
+total	273	0.40
+total	272	0.40
+total	271	0.40
+total	270	0.40
+total	269	0.40
+total	268	0.40
+total	267	0.40
+total	266	0.40
+total	265	0.40
+total	264	0.40
+total	263	0.40
+total	262	0.40
+total	261	0.40
+total	260	0.40
+total	259	0.40
+total	258	0.40
+total	257	0.40
+total	256	0.40
+total	255	0.40
+total	254	0.40
+total	253	0.40
+total	252	0.40
+total	251	0.40
+total	250	0.40
+total	249	0.40
+total	248	0.40
+total	247	0.40
+total	246	0.40
+total	245	0.40
+total	244	0.40
+total	243	0.40
+total	242	0.40
+total	241	0.40
+total	240	0.40
+total	239	0.40
+total	238	0.40
+total	237	0.40
+total	236	0.40
+total	235	0.40
+total	234	0.40
+total	233	0.40
+total	232	0.40
+total	231	0.40
+total	230	0.40
+total	229	0.40
+total	228	0.40
+total	227	0.40
+total	226	0.40
+total	225	0.40
+total	224	0.40
+total	223	0.40
+total	222	0.40
+total	221	0.40
+total	220	0.40
+total	219	0.40
+total	218	0.40
+total	217	0.40
+total	216	0.40
+total	215	0.40
+total	214	0.40
+total	213	0.40
+total	212	0.40
+total	211	0.40
+total	210	0.40
+total	209	0.40
+total	208	0.40
+total	207	0.40
+total	206	0.40
+total	205	0.40
+total	204	0.40
+total	203	0.40
+total	202	0.40
+total	201	0.40
+total	200	0.40
+total	199	0.40
+total	198	0.40
+total	197	0.40
+total	196	0.40
+total	195	0.40
+total	194	0.40
+total	193	0.40
+total	192	0.40
+total	191	0.40
+total	190	0.40
+total	189	0.40
+total	188	0.40
+total	187	0.40
+total	186	0.40
+total	185	0.40
+total	184	0.40
+total	183	0.40
+total	182	0.40
+total	181	0.40
+total	180	0.40
+total	179	0.40
+total	178	0.40
+total	177	0.40
+total	176	0.40
+total	175	0.40
+total	174	0.40
+total	173	0.40
+total	172	0.40
+total	171	0.40
+total	170	0.40
+total	169	0.40
+total	168	0.40
+total	167	0.40
+total	166	0.40
+total	165	0.40
+total	164	0.40
+total	163	0.40
+total	162	0.40
+total	161	0.40
+total	160	0.40
+total	159	0.40
+total	158	0.40
+total	157	0.40
+total	156	0.40
+total	155	0.40
+total	154	0.40
+total	153	0.40
+total	152	0.40
+total	151	0.40
+total	150	0.40
+total	149	0.40
+total	148	0.40
+total	147	0.40
+total	146	0.40
+total	145	0.40
+total	144	0.40
+total	143	0.40
+total	142	0.40
+total	141	0.40
+total	140	0.40
+total	139	0.40
+total	138	0.40
+total	137	0.40
+total	136	0.40
+total	135	0.40
+total	134	0.40
+total	133	0.40
+total	132	0.40
+total	131	0.40
+total	130	0.40
+total	129	0.40
+total	128	0.40
+total	127	0.40
+total	126	0.40
+total	125	0.40
+total	124	0.40
+total	123	0.40
+total	122	0.40
+total	121	0.40
+total	120	0.40
+total	119	0.40
+total	118	0.40
+total	117	0.40
+total	116	0.40
+total	115	0.40
+total	114	0.40
+total	113	0.40
+total	112	0.40
+total	111	0.40
+total	110	0.40
+total	109	0.40
+total	108	0.40
+total	107	0.40
+total	106	0.40
+total	105	0.40
+total	104	0.40
+total	103	0.40
+total	102	0.40
+total	101	0.40
+total	100	0.40
+total	99	0.40
+total	98	0.40
+total	97	0.40
+total	96	0.40
+total	95	0.40
+total	94	0.40
+total	93	0.40
+total	92	0.40
+total	91	0.40
+total	90	0.40
+total	89	0.40
+total	88	0.40
+total	87	0.40
+total	86	0.40
+total	85	0.40
+total	84	0.40
+total	83	0.40
+total	82	0.40
+total	81	0.40
+total	80	0.40
+total	79	0.40
+total	78	0.40
+total	77	0.40
+total	76	0.40
+total	75	0.40
+total	74	0.40
+total	73	0.40
+total	72	0.40
+total	71	0.40
+total	70	0.40
+total	69	0.40
+total	68	0.40
+total	67	0.40
+total	66	0.40
+total	65	0.40
+total	64	0.40
+total	63	0.40
+total	62	0.40
+total	61	0.40
+total	60	0.40
+total	59	0.40
+total	58	0.40
+total	57	0.40
+total	56	0.40
+total	55	0.40
+total	54	0.40
+total	53	0.40
+total	52	0.40
+total	51	0.40
+total	50	0.40
+total	49	0.40
+total	48	0.40
+total	47	0.40
+total	46	0.40
+total	45	0.40
+total	44	0.40
+total	43	0.40
+total	42	0.40
+total	41	0.40
+total	40	0.40
+total	39	0.40
+total	38	0.80
+total	37	0.80
+total	36	0.80
+total	35	0.80
+total	34	0.80
+total	33	0.80
+total	32	0.80
+total	31	0.80
+total	30	0.80
+total	29	0.80
+total	28	0.80
+total	27	0.80
+total	26	0.80
+total	25	0.80
+total	24	0.80
+total	23	0.80
+total	22	0.80
+total	21	0.80
+total	20	0.80
+total	19	0.80
+total	18	0.80
+total	17	0.80
+total	16	0.80
+total	15	0.80
+total	14	0.80
+total	13	0.80
+total	12	0.80
+total	11	0.80
+total	10	0.80
+total	9	0.80
+total	8	0.80
+total	7	0.80
+total	6	0.80
+total	5	0.80
+total	4	0.80
+total	3	0.80
+total	2	0.80
+total	1	1.00
+total	0	1.00
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output_region_summary.tabular	Sun Dec 04 18:30:36 2022 +0000
@@ -0,0 +1,5 @@
+chrom	length	bases	mean	min	max
+sample	1000	585663	585.66	0	1697
+sample_region	1139	603460	529.82	0	1697
+total	1000	585663	585.66	0	1697
+total_region	1139	603460	529.82	0	1697
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output_region_summary_windowed.tabular	Sun Dec 04 18:30:36 2022 +0000
@@ -0,0 +1,5 @@
+chrom	length	bases	mean	min	max
+sample	1000	585663	585.66	0	1697
+sample_region	1000	585663	585.66	0	1697
+total	1000	585663	585.66	0	1697
+total_region	1000	585663	585.66	0	1697
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output_region_summary_windowed_median.tabular	Sun Dec 04 18:30:36 2022 +0000
@@ -0,0 +1,5 @@
+chrom	length	bases	mean	min	max
+sample	1000	599548	599.55	0	1700
+sample_region	1000	599548	599.55	0	1700
+total	1000	599548	599.55	0	1700
+total_region	1000	599548	599.55	0	1700
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output_summary.tabular	Sun Dec 04 18:30:36 2022 +0000
@@ -0,0 +1,3 @@
+chrom	length	bases	mean	min	max
+sample	1000	585663	585.66	0	1697
+total	1000	585663	585.66	0	1697
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output_thresholds.bed	Sun Dec 04 18:30:36 2022 +0000
@@ -0,0 +1,3 @@
+#chrom	start	end	region	20X	40X
+sample	22	581	varskip-0317-1_01	394	394
+sample	418	998	varskip-0317-1_02	354	22
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output_window_depths.bed	Sun Dec 04 18:30:36 2022 +0000
@@ -0,0 +1,5 @@
+sample	0	200	1175.42
+sample	200	400	1477.54
+sample	400	600	215.08
+sample	600	800	27.68
+sample	800	1000	32.59
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output_window_depths_median.bed	Sun Dec 04 18:30:36 2022 +0000
@@ -0,0 +1,5 @@
+sample	0	200	1526.00
+sample	200	400	1523.00
+sample	400	600	1.00
+sample	600	800	38.00
+sample	800	1000	38.00