Repository 'purge_dups'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/purge_dups

Changeset 0:8ec117da1796 (2021-02-05)
Next changeset 1:29151e779524 (2021-03-09)
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
added:
purge_dups.xml
test-data/calcuts_out.tsv
test-data/cutoffs.tsv
test-data/dups.bed
test-data/ngsc_out.cov
test-data/out.cov
test-data/out.wig
test-data/purge_dups_out.bed
test-data/purged_out.fa
test-data/split_out.fasta
test-data/test.bam
test-data/test.cov
test-data/test.fasta
test-data/test.paf
test-data/test.stat
b
diff -r 000000000000 -r 8ec117da1796 purge_dups.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/purge_dups.xml Fri Feb 05 17:52:51 2021 +0000
[
b'@@ -0,0 +1,330 @@\n+<tool id="purge_dups" name="Purge haplotigs" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">\n+    <description>and overlaps in an assembly based on read depth</description>\n+    <macros>\n+        <token name="@TOOL_VERSION@">1.2.5</token>\n+        <token name="@VERSION_SUFFIX@">0</token>\n+    </macros>\n+    <requirements>\n+        <requirement type="package" version="@TOOL_VERSION@">purge_dups</requirement>\n+    </requirements>\n+    <command detect_errors="exit_code"><![CDATA[\n+        #if $function_select.functions == "purge_dups":\n+            purge_dups\n+            #if $function_select.coverage:\n+                -c \'$function_select.coverage\'\n+            #end if\n+            #if $function_select.cutoffs:\n+                -T \'$function_select.cutoffs\'\n+            #end if\n+            #if $function_select.min_bad:\n+                -f $function_select.min_bad\n+            #end if\n+            #if $function_select.min_align:\n+                -a $function_select.min_align\n+            #end if\n+            #if $function_select.min_match:\n+                -b $function_select.min_match\n+            #end if\n+            #if $function_select.min_chain:\n+                -m $function_select.min_chain\n+            #end if\n+            #if $function_select.max_gap:\n+                -M $function_select.max_gap\n+            #end if\n+            #if $function_select.double_chain.chaining_rounds == "two":\n+                -2\n+                #if $function_select.double_chain.max_gap_2:\n+                    -G $function_select.double_chain.max_gap_2\n+                #end if\n+            #end if\n+            #if $function_select.min_chain_score:\n+                -l $function_select.min_chain_score\n+            #end if\n+            #if $function_select.max_extend:\n+                -E $function_select.max_extend\n+            #end if\n+            \'$function_select.input\' > dups.bed 2> purge_dups.log\n+        #else if $function_select.functions == "split_fa":\n+            split_fa\n+            #if $function_select.split:\n+                -n $function_select.split\n+            #end if\n+            \'$function_select.input\' > split.fasta\n+        #else if $function_select.functions == "pbcstat":\n+            pbcstat\n+            #if $function_select.max_cov:\n+                -M $function_select.max_cov\n+            #end if\n+            #if $function_select.min_map_ratio:\n+                -f $function_select.min_map_ratio\n+            #end if\n+            #if $function_select.min_map_qual:\n+                -q $function_select.min_map_qual\n+            #end if\n+            #if $function_select.flank:\n+                -l $function_select.flank\n+            #end if\n+            $function_select.primary_alignments\n+            \'$function_select.input\'\n+        #else if $function_select.functions == "ngscstat":\n+            ngscstat\n+            #if $function_select.min_align_qual:\n+                -q $function_select.min_align_qual\n+            #end if\n+    ##        #if $function_select.max_depth:\n+    ##            -M $function_select.max_depth\n+    ##        #end if\n+            #if $function_select.max_insert:\n+                -L $function_select.max_insert\n+            #end if\n+            \'$function_select.input\'\n+        #else if $function_select.functions == "calcuts":\n+            calcuts\n+            #if $function_select.min_depth:\n+                -f $function_select.min_depth\n+            #end if\n+            #if $function_select.low_depth:\n+                -l $function_select.low_depth\n+            #end if\n+            #if $function_select.transition:\n+                -m $function_select.transition\n+            #end if\n+            #if $function_select.upper_depth:\n+                -u $function_select.upper_depth\n+            #end if\n+            $function_select.ploidy\n+            \'$function_select.input\' > cutoffs.tsv 2>calcuts.log\n+        #else if $function_select.functions == "get_seqs":\n+        '..b'           <param name="min_bad" value="0.01"/>\n+                <param name="min_align" value="10"/>\n+                <param name="min_match" value="100"/>\n+                <param name="min_chain" value="1"/>\n+                <param name="max_gap" value="1000"/>\n+                <conditional name="double_chain">\n+                    <param name="chaining_rounds" value="two"/>\n+                    <param name="max_gap_2" value="1001"/>\n+                </conditional>\n+                <param name="min_chain_score" value="1"/>\n+                <param name="max_extend" value="100"/>\n+            </conditional>\n+            <output name="purge_dups_bed" value="purge_dups_out.bed"/>\n+        </test>\n+        <!-- Split fa -->\n+        <test expect_num_outputs="1">\n+            <conditional name="function_select">\n+                <param name="functions" value="split_fa"/>\n+                <param name="input" value="test.fasta"/>\n+                <param name="split" value="-n"/>\n+            </conditional>\n+            <output name="split_fasta" value="split_out.fasta"/>\n+        </test>\n+        <!-- pbcstat -->\n+        <test expect_num_outputs="3">\n+            <conditional name="function_select">\n+                <param name="functions" value="pbcstat"/>\n+                <param name="input" value="test.paf"/>\n+                <param name="max_cov" value="1000"/>\n+                <param name="min_map_ratio" value="0.01"/>\n+                <param name="min_map_qual" value="1"/>\n+                <param name="flank" value="1"/>\n+                <param name="primary_alignments" value="-p"/>\n+            </conditional>\n+            <output name="pbcstat_cov" value="out.cov"/>\n+            <output name="pbcstat_wig" value="out.wig"/>\n+        </test>\n+        <!-- ngscstat -->\n+        <test expect_num_outputs="2">\n+            <conditional name="function_select">\n+                <param name="functions" value="ngscstat"/>\n+                <param name="input" value="test.bam"/>\n+                <param name="min_align_qual" value="10"/>\n+                <param name="max_insert" value="100"/>\n+            </conditional>\n+            <output name="ngscstat_cov" value="ngsc_out.cov"/>\n+        </test>\n+        <!-- Calcuts -->\n+        <test expect_num_outputs="2">\n+            <conditional name="function_select">\n+                <param name="functions" value="calcuts"/>\n+                <param name="input" value="test.stat"/>\n+                <param name="min_depth" value="0.01"/>\n+                <param name="low_depth" value="1"/>\n+                <param name="transition" value="1"/>\n+                <param name="upper_depth" value="100"/>\n+                <param name="ploidy" value="-d 0"/>\n+            </conditional>\n+            <output name="calcuts_tab" value="calcuts_out.tsv"/>\n+        </test>\n+        <!-- Get seqs -->\n+        <test expect_num_outputs="2">\n+            <conditional name="function_select">\n+                <param name="functions" value="get_seqs"/>\n+                <param name="fasta_input" value="split_out.fasta"/>\n+                <param name="bed_input" value="dups.bed"/>\n+                <param name="coverage" value="-c"/>\n+                <param name="length" value="10"/>\n+                <param name="haplotigs" value="-a"/>\n+                <param name="min_ratio" value=".01"/>\n+                <param name="end_trim" value="-e"/>\n+                <param name="split" value="-s"/>\n+                <param name="min_gap" value="100000"/>\n+            </conditional>\n+            <output name="get_seqs_purged" value="purged_out.fa"/>\n+        </test>\n+    </tests>\n+    <help><![CDATA[\n+        .. class:: infomark\n+        \n+        **What it does**\n+\n+        The purge_dups tools are designed to remove haplotigs and contig overlaps in a de novo assembly based on read depth.\n+\n+    ]]></help>\n+        <citations>\n+        <citation type="doi">10.1093/bioinformatics/btaa025</citation>\n+    </citations>\n+</tool>\n'
b
diff -r 000000000000 -r 8ec117da1796 test-data/calcuts_out.tsv
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/calcuts_out.tsv Fri Feb 05 17:52:51 2021 +0000
b
@@ -0,0 +1,1 @@
+1 0 0 1 1 100
b
diff -r 000000000000 -r 8ec117da1796 test-data/cutoffs.tsv
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/cutoffs.tsv Fri Feb 05 17:52:51 2021 +0000
b
@@ -0,0 +1,1 @@
+5 3 3 5 7 15
b
diff -r 000000000000 -r 8ec117da1796 test-data/dups.bed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/dups.bed Fri Feb 05 17:52:51 2021 +0000
b
@@ -0,0 +1,1 @@
+gi|157734152 29655295 29712160 HAPLOTIG gi|528476637
b
diff -r 000000000000 -r 8ec117da1796 test-data/ngsc_out.cov
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/ngsc_out.cov Fri Feb 05 17:52:51 2021 +0000
b
b'@@ -0,0 +1,336 @@\n+>>chrM\t0\n+1\t0\t0\n+>GTATTCTTACTCCATAAACACATAGGCTTGGTCCTAGCCTTTTTATTAGT\t0\n+1\t0\t0\n+>CTAAATCACGTCTCTACGATTAAAAGGAGCAGGTATCAAGCACACTAGAA\t0\n+1\t0\t0\n+>ATAAAAATTAAGCTATGAACGAAAGTTCGACTAAGTCATATTAAATAAGG\t0\n+1\t0\t0\n+>ATAAATCTCCGGCGTAAAGCGTGTCAAAGACTAATACCAAAATAAAGTTA\t0\n+1\t0\t0\n+>AAGTGACTTTAATACCTCTGACTACACGATAGCTAAGACCCAAACTGGGA\t0\n+1\t0\t0\n+>AAGCTATTCGCCAGAGTACTACTAGCAACAGCCTAAAACTCAAAGGACTT\t0\n+1\t0\t0\n+>CCGATAAACCCCACCATCCCTTGCTAATTCAGCCTATATACCGCCATCTT\t0\n+1\t0\t0\n+>AACGTTAGGTCAAGGTGTAGCCCATGGGATGGAGAGAAATGGGCTACATT\t0\n+1\t0\t0\n+>TGGAGACTAAAGGAGGATTTAGCAGTAAATTAAGAATAGAGAGCTTAATT\t0\n+1\t0\t0\n+>CACAAATCATAACATAACATAAAACCGTGACCCAAACATATGAAAGGAGA\t0\n+1\t0\t0\n+>TGTAGCTTAAACAAAGCATCCAGCTTACACCTAGAAGATTTCACTCAAAA\t0\n+1\t0\t0\n+>TTAGTCACTTAACTAAAACATTCACCAAACCATTAAAGTATAGGAGATAG\t0\n+1\t0\t0\n+>ATGCATTAAAAGTACTAAACAGCAAAGCTTACCCCTTTTACCTTTTGCAT\t0\n+1\t0\t0\n+>CGAAACCAGACGAGCTACCTATGAACAGTTACAAATGAACCAACTCATCT\t0\n+1\t0\t0\n+>AGCCTGGTGATAGCTGGTTGTCCAGAAACAGAATTTCAGTTCAAATTTAA\t0\n+1\t0\t0\n+>AAAGGTACAGCTTTTTAGATACAGGTTACAACCTTCATTAGAGAGTAAGA\t0\n+1\t0\t0\n+>TTCAAGCTCAACGACACATCTATCTTAATCCCAACAATCAACCCAAACTA\t0\n+1\t0\t0\n+>TTAATATGAGTAACAAGAATTATTTCTCCTTGCATAAGCTTATATCAGAA\t0\n+1\t0\t0\n+>TCATCTATTTAAACCATTGTTAACCCAACACAGGCATGCATCTATAAGGA\t0\n+1\t0\t0\n+>ACCAAAAACATCACCTCTAGCATTTCCAGTATTAGAGGCACTGCCTGCCC\t0\n+1\t0\t0\n+>taatcacttgttccctaaatagggacttgtatgaatggccacacgagggt\t0\n+1\t0\t0\n+>cgggaatgactaaataagacgagaagaccctatggagcttTAATTAACTG\t0\n+1\t0\t0\n+>TTGATTGAATCAGCAATTTCGGTTGGGGTGACCTCGGAGAACAAAACAAC\t0\n+1\t0\t0\n+>TTGATCCAAACCATTGATCAACGGAACAAGTTACCCTAGGGATAACAGCG\t0\n+1\t0\t0\n+>TTGGATCAAGACATCCTAATGGTGCAACCGCTATTAAGGGTTCGTTTGTT\t0\n+1\t0\t0\n+>CGGTTTCTATCTATTCTATACTTTTCCCAGTACGAAAGGACAAGAAAAGT\t0\n+1\t0\t0\n+>AATCTAACTAATTTATAACTTCTACCGCCCTAGAACAGGGCTCgttaggg\t0\n+1\t0\t0\n+>caactcctctccctaacaacaTGTTCATAATTAACGTCCTCCTCCTAATT\t0\n+1\t0\t0\n+>CTTAGGCTATATGCAACTTCGCAAAGGACCCAACATCGTAGGCCCCTATG\t0\n+1\t0\t0\n+>CTACAACCACTAACATCATCGACATCCATATTCATCATCGCACCAATCCT\t0\n+1\t0\t0\n+>CACTAATCAACATAAACCTAGGAATTCTATTCATACTAGCCATGTCCAGC\t0\n+1\t0\t0\n+>CGCCCTAATTGGAGCTCTACGAGCAGTAGCACAAACCATCTCATACGAAG\t0\n+1\t0\t0\n+>ACATTATCAACACTTATTATTACCCAAGAATACCTCTGATTAATCTTCCC\t0\n+1\t0\t0\n+>ACCGAGCTCCATTTGACCTAACAGAAGGAGAATCAGAACTCGTCTCTGGA\t0\n+1\t0\t0\n+>ATACGCAAACATCATCATGATAAACATCTTCACAACAACCCTATTTCTAG\t0\n+1\t0\t0\n+>ATTAAAGCTCTCCTTCTAACATGTTCCTTCCTATGAATCCGAGCATCCTA\t0\n+1\t0\t0\n+>TACCACTCACACTAGCCCTCTGCATATGACACGTCTCACTTCCAATCATA\t0\n+1\t0\t0\n+>ACTTTGATAGAGTAAAACATAGAGGCTCAAACCCTCTTATTTctagaact\t0\n+1\t0\t0\n+>ttacaccatgtcctaCAAGTAAGGTCAGCTAAATAAGCTATCGGGCCCAT\t0\n+1\t0\t0\n+>CTTCACAACTATTCTAATAACAGTTCTTCTAGGAACTATAATCGTTATAA\t0\n+1\t0\t0\n+>GCCATTATCCCTATCCTAATAAAAAAGTACAATCCCCGAACCATAGAAGC\t0\n+1\t0\t0\n+>TAGCGATCATCATTAACCTCATACACTCAGGCCAATGAACAATCACAAAA\t0\n+1\t0\t0\n+>ACTTGGACTCACACCATTCCACTTCTGAGTACCCGAAGTCACACAGGGCA\t0\n+1\t0\t0\n+>ATATCAATCCTATATCAAATCTCACCCTCAATTAACCTAAATATCTTATT\t0\n+1\t0\t0\n+>AAACCCAACTACGAAAAATCATAGCATACTCGTCAATCGCGCATATAGGA\t0\n+1\t0\t0\n+>ATTAATTTACATTATAATAACACTCACAATATTCATACTATTTATCCACA\t0\n+1\t0\t0\n+>CTAACCACTACACTAATCTTAATTACCTTACTATCCATAGGAGGCCTCCC\t0\n+1\t0\t0\n+>AAAATAGCAGCATCATCCTCCCCACACTAATAGCCATTATAGCACTACTC\t0\n+1\t0\t0\n+>CCCATCCACAAACAACATAAAAATAAAATGACAATTCGAAACCAAACGAA\t0\n+1\t0\t0\n+>ACCCCCATACTATCAATTTTGGACTAGGAATTTAGGTTAACATCCCAGAC\t0\n+1\t0\t0\n+>TAAGGACTGCGAGACTCTATCTCACATCAATTGAACGCAAATCAAACTCT\t0\n+1\t0\t0\n+>TTTAGTTAACAGCTAAATACCCTAATCAACTGGCTTCAATCTACTTCTCC\t0\n+1\t0\t0\n+>TCCTTTGAATTTGCAATTCAATGTGAAAATTCACCACGGGACTTGATAAG\t0\n+1\t0\t0\n+>CCATCTTACCTATGTTCATCAACCGCTGACTATTTTCAACTAACCACAAA\t0\n+1\t0\t0\n+>AACTGCCCTAAGCCTCCTAATCCGTGCTGAATTAGGCCAACCTGGGACCC\t0\n+1\t0\t0\n+>GTAATAATTTTCTTTATGGTCATACCCATTATAATCGGAGGATTCGGAAA\t0\n+1\t0\t0\n+>TAAACAACATAAGCTTCTGATTACTTCCCCCATCATTCCTACTTCTTCTC\t0\n+1\t0\t0\n+>TCCTCTAGCTGGAAATCTGGCGCATGCAGGAGCCTCTGTTGACTTAACCA\t0\n+1\t0\t0\n+>TTTATTACCACAATCATTAACATAAAACCACCAGCCCTATCCCAATATCA\t0\n+1\t0\t0\n+>TAGCCCTCCCGGTCCTAGCAGCAGGCATTACCATGCTTCTCACAGACCGT\t0\n+1\t0\t0\n+>TTATCAACACCTATTCTGATTCTTCGGACACCCCGAAGTCTATATTCTTA\t0\n+1\t0\t0\n+>AAAAAGGAACCTTTTGGCTACATGGGTATAGTGTGAGCTATAATATCCAT\t0\n+1\t0\t0\n+>TAGACGTTGACACACGAGCATACTTCACATCAGCTACCATAATCATCGCT\t0\n+1\t0\t0\n+>AAATATCAAATGATCTCCAGCTATACTCTGAGCTCTAGGCTTCATCTTCT\t0\n+1\t'..b'0\n+1\t0\t0\n+>GACTATCAAAAAAGAATATAATCTGAATCAACACTACAACCTATAGTCTA\t0\n+1\t0\t0\n+>CCTAAACTTCTCACTAATATTCTTCTCCGATCCCCTATCAGCCCCACTTC\t0\n+1\t0\t0\n+>CATCTATCTAAGGAACCACTAATCCGAAAAAAACTCTACATCACCATGCT\t0\n+1\t0\t0\n+>TCTCCTTCTACATCCTATTTGAAGCCACATTAGTTCCAACACTAATTATC\t0\n+1\t0\t0\n+>CCTATTCTACACACTAATAGGTTCCCTCCCACTCTTAGTTGCACTAATCT\t0\n+1\t0\t0\n+>AACCAAGCACTACCCGACTCTTGATCCAATATTTTCCTATGACTAGCATG\t0\n+1\t0\t0\n+>TCCCAAAAGCCCATGTAGAAGCCCCAATTGCCGGATCCATAGTGCTAGCA\t0\n+1\t0\t0\n+>ACTAAACCCCCAAACTAGCTTTATAGCCTACCCCTTCCTCATACTATCCC\t0\n+1\t0\t0\n+>AAATCACTTATTGCATACTCCTCTGTCAGCCACATAGCCCTAGTAATCGT\t0\n+1\t0\t0\n+>TAATCGCTCACGGCCTTACATCATCAATACTATTCTGCCTGGCAAACTCA\t0\n+1\t0\t0\n+>AACACTTCTTCCCCTTATAGCAGCCTGATGACTATTAGCCAGCCTAACCA\t0\n+1\t0\t0\n+>ATATCATCATTCTCATGATCAAATATTACCATTATCCTAATAGGAGCCAA\t0\n+1\t0\t0\n+>GAGGGAAATACACACACCATATCAACAGCATTAAACCTTCATTTACACGA\t0\n+1\t0\t0\n+>TAACCCTAAAATTATCCTAGGCTTTACGTACTGTAAATATAGTTTAACAA\t0\n+1\t0\t0\n+>CGAGAAAGTATGCAAGAACTGCTAATTCATGCCCCCATGTCCAACAAACA\t0\n+1\t0\t0\n+>CCAAAAAATTGGTGCAACTCCAAATAAAAGTAATCAACATGTTCTCCTCC\t0\n+1\t0\t0\n+>CTTCAATACCTACAAAAACAGCACGTTCCCGCATCATGTAAAAAACACTA\t0\n+1\t0\t0\n+>TCTGGACAAGAAACAATTATCTCAAACTGACACTGAATAACCATACAAAC\t0\n+1\t0\t0\n+>TACCAGTAGCCCTATTCGTAACATGATCTATTATGGAATTCTCCCTATGA\t0\n+1\t0\t0\n+>ATTCCTCATCACTATAATAATTCTAGTCACAGCTAACAACCTTTTCCAAC\t0\n+1\t0\t0\n+>TGATGATACGGCCGAACAGATGCCAACACCGCGGCCCTTCAAGCAATCCT\t0\n+1\t0\t0\n+>TATTCAACACCAACACATGAGACCTCCAACAAATCTTCATACTCGACCCC\t0\n+1\t0\t0\n+>ATCCGCTCAATTTGGACTCCACCCATGACTTCCTTCAGCCATAGAGGGCC\t0\n+1\t0\t0\n+>GTCTTCCTGCTAATCCGCTTCCATCCACTAATAGAAAACAACAAAACAAT\t0\n+1\t0\t0\n+>TCTGCGCACTCACTCAAAACGATATCAAAAAAATCATTGCTTTCTCCACC\t0\n+1\t0\t0\n+>CCTAGCATTCCTCCACATTTGCACTCACGCATTCTTCAAAGCTATACTAT\t0\n+1\t0\t0\n+>CGAAAAATAGGCGGACTATTTAATGCAATACCCTTCACCACCACATCTCT\t0\n+1\t0\t0\n+>ACTCCAAAGACCTCATCATCGAAACCGCCAACACATCGTACACCAACGCC\t0\n+1\t0\t0\n+>TACCCGAATCATCTTCTTTGCACTCCTAGGGCAACCCCGCTTCCTCCCTC\t0\n+1\t0\t0\n+>CTCTTAATTGGCAGCATTTTTGCCGGATTCTTCATCTCCAACAATATCTA\t0\n+1\t0\t0\n+>CCCTCGCAGTAACCATCCTAGGATTTACACTAGCCCTAGAACTAAGCTTG\t0\n+1\t0\t0\n+>CAACCTCCTAGGATACTACCCAACAATTATACACCGACTCCCACCGCTCG\t0\n+1\t0\t0\n+>TGACTAGAAAACATCCTGCCAAAATCTATCTCCCAGTTCCAAATAAAAAC\t0\n+1\t0\t0\n+>CATTCCTCATCACCCTTACCCTAAGCATACTACTTTTTAATCTCCACGAG\t0\n+1\t0\t0\n+>ATCACAACCCAAGCCCCATAACTATACAATGCAGCAGCCCCTATAATTTC\t0\n+1\t0\t0\n+>CACCACTAAACTTAAACACTACCCCCACTTCCTCACTCTTCAGAACATAT\t0\n+1\t0\t0\n+>AGTCGTATTAGACACCCATACCTCAGGATACTGCTCAGTAGCCATAGCCG\t0\n+1\t0\t0\n+>ATCAACCCCAAAAAGGACCCTCCAAAATTCATAATAATACCACAACCTAC\t0\n+1\t0\t0\n+>AAGAAAACCCCACAAAACTAACAACAAAAATAACACTCAAAATAAACACA\t0\n+1\t0\t0\n+>GAAAAATCATCGTTGTATTTCAACTATAAGAACACCAATGACAAACATCC\t0\n+1\t0\t0\n+>CCAGCCCCCTCAAACATTTCATCATGATGAAACTTCGGCTCCCTCCTAGG\t0\n+1\t0\t0\n+>ACACATCAGACACGACAACTGCCTTCTCATCCGTCACTCACATCTGCCGA\t0\n+1\t0\t0\n+>AATATTTTTTATCTGCCTCTTCATTCACGTAGGACGCGGCCTCTACTACG\t0\n+1\t0\t0\n+>ACAGTTATAGCTACAGCATTCATGGGCTATGTCCTACCATGAGGCCAAAT\t0\n+1\t0\t0\n+>ACATCGGTACTACCCTCGTCGAGTGAATCTGAGGTGGATTCTCAGTAGAC\t0\n+1\t0\t0\n+>CATCACAGCCCTGGTAGTCGTACATTTACTATTTCTTCACGAAACAGGAT\t0\n+1\t0\t0\n+>CCATATTATACAATTAAAGACATCCTAGGACTCCTCCTCCTGATCTTGCT\t0\n+1\t0\t0\n+>ACTACACCCCAGCTAACCCTCTCAGCACTCCCCCTCATATTAAACCAGAA\t0\n+1\t0\t0\n+>AGGCGGCGTATTAGCCCTAATCCTCTCCATCCTGATCCTAGCACTCATCC\t0\n+1\t0\t0\n+>CAATGCGTATTCTGACTCTTAGTGGCAGACTTACTGACACTAACATGAAT\t0\n+1\t0\t0\n+>CAATCCTCTACTTCTCCCTAATTCTCATTTTTATACCACTCGCAAGCACC\t0\n+1\t0\t0\n+>ACCCTGGTCTTGTAAACCAGAAAAGGGGGAAAACGTTTCCTCCCAAGGAC\t0\n+1\t0\t0\n+>TACTTAAACTATTCCTTGATTTCTTCCCCTAAACGACAACAATTTACCCT\t0\n+1\t0\t0\n+>CTGACATGCAATATCTTATGAATGGCCTATGTACGTCGTGCATTAAATTG\t0\n+1\t0\t0\n+>GTACATTATATTATTGATCGTGCATACCCCATCCAAGTCAAATCATTTCC\t0\n+1\t0\t0\n+>GCGGGAAATCAGCAACCCTCCCAACTACGTGTCCCAATCCTCGCTCCGGG\t0\n+1\t0\t0\n+>TCTTTCTTCAGGGCCATTCCCACCCAACCTCGCCCATTCTTTCCCCTTAA\t0\n+1\t0\t0\n+>CTGTGATTTCATGCATTTGGTATCTTTTTATATTTGGGGATGCTATGACT\t0\n+1\t0\t0\n+>CTTAAATTGAACGTTATTCCTCCGCATCAGCAACCATAAGGTGTTATTCA\t0\n+1\t0\t0\n+>ctgtgcacctgtgcacctgtgcacctgtgcacctgtgcacctgtgcacct\t0\n+1\t0\t0\n+>gcacctgtgcacctgtgcacctgtgcacctgtgcacctgtgcacctgtgc\t0\n+1\t0\t0\n+>ctgtgcacctACCCGCGCAGTAAGCAAGTAATATAGCTTTCTTAATCAAA\t0\n+1\t0\t0\n+>GCCAAACCCCAAAAACAAGACTAAACAATGCACAATACTTCATGAAGCTT\t0\n+1\t0\t0\n+>GAACTTTCCCCCCGCCATTAATACCAACATGCTACTTTAATCAATAAAAT\t0\n+1\t0\t0\n+>TTCTTCCCCC\t0\n+1\t0\t0\n'
b
diff -r 000000000000 -r 8ec117da1796 test-data/out.cov
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/out.cov Fri Feb 05 17:52:51 2021 +0000
b
@@ -0,0 +1,14 @@
+>gi|528476637:29857558-29915771 58214
+1 29093 0
+29094 29356 2
+29357 33376 0
+33377 41951 1
+41952 58214 0
+>gi|157734152:29655295-29712160 56866
+1 29214 0
+29215 29477 1
+29478 33498 0
+33499 42073 1
+42074 48471 0
+48472 56865 1
+56866 56866 0
b
diff -r 000000000000 -r 8ec117da1796 test-data/out.wig
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/out.wig Fri Feb 05 17:52:51 2021 +0000
b
@@ -0,0 +1,116 @@
+track type="wiggle_0" name="PB"
+fixedStep chrom=gi|528476637:29857558-29915771 start=1 step=1024 span=1024
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+1
+1
+1
+1
+1
+1
+1
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+variableStep chrom=gi|528476637:29857558-29915771 span=1894
+56321 0
+fixedStep chrom=gi|157734152:29655295-29712160 start=1 step=1024 span=1024
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+1
+1
+1
+1
+1
+1
+1
+1
+0
+0
+0
+0
+0
+0
+0
+1
+1
+1
+1
+1
+1
+variableStep chrom=gi|157734152:29655295-29712160 span=1570
+55297 0
b
diff -r 000000000000 -r 8ec117da1796 test-data/purge_dups_out.bed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/purge_dups_out.bed Fri Feb 05 17:52:51 2021 +0000
b
@@ -0,0 +1,11 @@
+gi|568815454 1200216 1203631 JUNK
+gi|568815567 1196244 1200852 JUNK
+gi|568815551 1197321 1201446 JUNK
+gi|568815561 1196951 1200436 JUNK
+gi|568815569 1240288 1243708 JUNK
+gi|568815529 1421891 1425306 JUNK
+gi|568815564 1286641 1289973 JUNK
+gi|568815592 29942469 29945883 JUNK
+gi|342187237 5004 8419 JUNK
+gi|528476637 29857558 29915771 JUNK
+gi|157734152 29655295 29712160 JUNK
b
diff -r 000000000000 -r 8ec117da1796 test-data/purged_out.fa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/purged_out.fa Fri Feb 05 17:52:51 2021 +0000
b
@@ -0,0 +1,2 @@
+>Sequence:1-608_1
+gttcgatgcc taaaatacct tcttttgtcc ctacacagac cacagttttc ctaatggctttacaccgact agaaattctt gtgcaagcac taattgaaag cggttggcct agagtgttaccggtttgtat agctgagcgc gtctcttgcc ctgatcaaag gttcattttc tctactttggaagacgttgt ggaagaatac aacaagtacg agtctctccc ccctggtttg ctgattactggatacagttg taataccctt cgcaacaccg cgtaactatc tatatgaatt attttccctttattatatgt agtaggttcg tctttaatct tcctttagca agtcttttac tgttttcgacctcaatgttc atgttcttag gttgttttgg ataatatgcg gtcagtttaa tcttcgttgtttcttcttaa aatatttatt catggtttaa tttttggttt gtacttgttc aggggccagttcattattta ctctgtttgt atacagcagt tcttttattt ttagtatgat tttaatttaaaacaattcta atggtcaaaa a
b
diff -r 000000000000 -r 8ec117da1796 test-data/split_out.fasta
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/split_out.fasta Fri Feb 05 17:52:51 2021 +0000
b
@@ -0,0 +1,2 @@
+>Sequence:1-608
+gttcgatgcc taaaatacct tcttttgtcc ctacacagac cacagttttc ctaatggctttacaccgact agaaattctt gtgcaagcac taattgaaag cggttggcct agagtgttaccggtttgtat agctgagcgc gtctcttgcc ctgatcaaag gttcattttc tctactttggaagacgttgt ggaagaatac aacaagtacg agtctctccc ccctggtttg ctgattactggatacagttg taataccctt cgcaacaccg cgtaactatc tatatgaatt attttccctttattatatgt agtaggttcg tctttaatct tcctttagca agtcttttac tgttttcgacctcaatgttc atgttcttag gttgttttgg ataatatgcg gtcagtttaa tcttcgttgtttcttcttaa aatatttatt catggtttaa tttttggttt gtacttgttc aggggccagttcattattta ctctgtttgt atacagcagt tcttttattt ttagtatgat tttaatttaaaacaattcta atggtcaaaa a
b
diff -r 000000000000 -r 8ec117da1796 test-data/test.bam
b
Binary file test-data/test.bam has changed
b
diff -r 000000000000 -r 8ec117da1796 test-data/test.cov
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/test.cov Fri Feb 05 17:52:51 2021 +0000
b
@@ -0,0 +1,13 @@
+>gi|528476637:29857558-29915771 58214
+1 29092 0
+29093 29357 2
+29358 33375 0
+33376 41952 1
+41953 58214 0
+>gi|157734152:29655295-29712160 56866
+1 29213 0
+29214 29478 1
+29479 33497 0
+33498 42074 1
+42075 48470 0
+48471 56866 1
b
diff -r 000000000000 -r 8ec117da1796 test-data/test.fasta
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/test.fasta Fri Feb 05 17:52:51 2021 +0000
b
@@ -0,0 +1,11 @@
+>Sequence 561 BP; 135 A; 106 C; 98 G; 222 T; 0 other;
+gttcgatgcc taaaatacct tcttttgtcc ctacacagac cacagttttc ctaatggctt
+tacaccgact agaaattctt gtgcaagcac taattgaaag cggttggcct agagtgttac
+cggtttgtat agctgagcgc gtctcttgcc ctgatcaaag gttcattttc tctactttgg
+aagacgttgt ggaagaatac aacaagtacg agtctctccc ccctggtttg ctgattactg
+gatacagttg taataccctt cgcaacaccg cgtaactatc tatatgaatt attttccctt
+tattatatgt agtaggttcg tctttaatct tcctttagca agtcttttac tgttttcgac
+ctcaatgttc atgttcttag gttgttttgg ataatatgcg gtcagtttaa tcttcgttgt
+ttcttcttaa aatatttatt catggtttaa tttttggttt gtacttgttc aggggccagt
+tcattattta ctctgtttgt atacagcagt tcttttattt ttagtatgat tttaatttaa
+aacaattcta atggtcaaaa a
\ No newline at end of file
b
diff -r 000000000000 -r 8ec117da1796 test-data/test.paf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/test.paf Fri Feb 05 17:52:51 2021 +0000
b
b'@@ -0,0 +1,245 @@\n+gi|568815454:1200216-1203631\t3416\t0\t3416\t+\tgi|568815529:1421891-1425306\t3416\t0\t3416\t3416\t3416\t0\tNM:i:0\tms:i:6832\tAS:i:6832\tnn:i:0\ttp:A:S\tcm:i:637\ts1:i:3404\tde:f:0\trl:i:0\tcg:Z:3416M\n+gi|568815454:1200216-1203631\t3416\t0\t3416\t+\tgi|568815592:29942469-29945883\t3415\t0\t3415\t3371\t3416\t0\tNM:i:45\tms:i:6560\tAS:i:6560\tnn:i:0\ttp:A:S\tcm:i:540\ts1:i:3085\tde:f:0.0132\trl:i:0\tcg:Z:1212M1I2203M\n+gi|568815454:1200216-1203631\t3416\t0\t3411\t+\tgi|568815567:1196244-1200852\t4609\t1184\t4609\t3297\t3432\t0\tNM:i:135\tms:i:6090\tAS:i:6090\tnn:i:0\ttp:A:S\tcm:i:381\ts1:i:2452\tde:f:0.0329\trl:i:0\tcg:Z:1339M4D149M17D495M3I183M1I238M3I1000M\n+gi|568815454:1200216-1203631\t3416\t0\t3411\t+\tgi|568815551:1197321-1201446\t4126\t701\t4126\t3289\t3432\t0\tNM:i:143\tms:i:6038\tAS:i:6038\tnn:i:0\ttp:A:S\tcm:i:385\ts1:i:2485\tde:f:0.0355\trl:i:0\tcg:Z:1343M3D1M1D144M17D495M3I183M1I238M3I1000M\n+gi|568815454:1200216-1203631\t3416\t0\t3411\t+\tgi|568815561:1196951-1200436\t3486\t60\t3486\t3290\t3434\t0\tNM:i:144\tms:i:6038\tAS:i:6038\tnn:i:0\ttp:A:S\tcm:i:371\ts1:i:2447\tde:f:0.0352\trl:i:0\tcg:Z:175M1I1163M4D149M17D495M3I165M2D18M1I238M3I1000M\n+gi|568815454:1200216-1203631\t3416\t5\t3411\t+\tgi|568815569:1240288-1243708\t3421\t0\t3421\t3284\t3429\t0\tNM:i:145\tms:i:6022\tAS:i:6022\tnn:i:0\ttp:A:S\tcm:i:383\ts1:i:2483\tde:f:0.0355\trl:i:0\tcg:Z:170M1I1163M4D149M17D495M3I165M2D18M1I238M3I1000M\n+gi|568815454:1200216-1203631\t3416\t92\t3411\t+\tgi|568815564:1286641-1289973\t3333\t0\t3333\t3198\t3340\t0\tNM:i:142\tms:i:5860\tAS:i:5860\tnn:i:0\ttp:A:S\tcm:i:372\ts1:i:2412\tde:f:0.0362\trl:i:0\tcg:Z:1251M3D1M1D144M17D495M3I183M1I238M3I1000M\n+gi|568815529:1421891-1425306\t3416\t0\t3416\t+\tgi|568815592:29942469-29945883\t3415\t0\t3415\t3371\t3416\t0\tNM:i:45\tms:i:6560\tAS:i:6560\tnn:i:0\ttp:A:S\tcm:i:540\ts1:i:3085\tde:f:0.0132\trl:i:0\tcg:Z:1212M1I2203M\n+gi|568815529:1421891-1425306\t3416\t0\t3411\t+\tgi|568815567:1196244-1200852\t4609\t1184\t4609\t3297\t3432\t0\tNM:i:135\tms:i:6090\tAS:i:6090\tnn:i:0\ttp:A:S\tcm:i:381\ts1:i:2452\tde:f:0.0329\trl:i:0\tcg:Z:1339M4D149M17D495M3I183M1I238M3I1000M\n+gi|568815529:1421891-1425306\t3416\t0\t3411\t+\tgi|568815561:1196951-1200436\t3486\t60\t3486\t3290\t3434\t0\tNM:i:144\tms:i:6038\tAS:i:6038\tnn:i:0\ttp:A:S\tcm:i:371\ts1:i:2447\tde:f:0.0352\trl:i:0\tcg:Z:175M1I1163M4D149M17D495M3I165M2D18M1I238M3I1000M\n+gi|568815529:1421891-1425306\t3416\t0\t3411\t+\tgi|568815551:1197321-1201446\t4126\t701\t4126\t3289\t3432\t0\tNM:i:143\tms:i:6038\tAS:i:6038\tnn:i:0\ttp:A:S\tcm:i:385\ts1:i:2485\tde:f:0.0355\trl:i:0\tcg:Z:1343M3D1M1D144M17D495M3I183M1I238M3I1000M\n+gi|568815529:1421891-1425306\t3416\t5\t3411\t+\tgi|568815569:1240288-1243708\t3421\t0\t3421\t3284\t3429\t0\tNM:i:145\tms:i:6022\tAS:i:6022\tnn:i:0\ttp:A:S\tcm:i:383\ts1:i:2483\tde:f:0.0355\trl:i:0\tcg:Z:170M1I1163M4D149M17D495M3I165M2D18M1I238M3I1000M\n+gi|568815529:1421891-1425306\t3416\t92\t3411\t+\tgi|568815564:1286641-1289973\t3333\t0\t3333\t3198\t3340\t0\tNM:i:142\tms:i:5860\tAS:i:5860\tnn:i:0\ttp:A:S\tcm:i:372\ts1:i:2412\tde:f:0.0362\trl:i:0\tcg:Z:1251M3D1M1D144M17D495M3I183M1I238M3I1000M\n+gi|568815551:1197321-1201446\t4126\t0\t4126\t+\tgi|568815567:1196244-1200852\t4609\t483\t4609\t4061\t4126\t0\tNM:i:65\tms:i:7862\tAS:i:7862\tnn:i:0\ttp:A:S\tcm:i:604\ts1:i:3595\tde:f:0.0158\trl:i:0\tcg:Z:4126M\n+gi|568815551:1197321-1201446\t4126\t793\t4126\t+\tgi|568815564:1286641-1289973\t3333\t0\t3333\t3333\t3333\t0\tNM:i:0\tms:i:6666\tAS:i:6666\tnn:i:0\ttp:A:S\tcm:i:615\ts1:i:3324\tde:f:0\trl:i:0\tcg:Z:3333M\n+gi|568815551:1197321-1201446\t4126\t641\t4126\t+\tgi|568815561:1196951-1200436\t3486\t0\t3486\t3409\t3487\t0\tNM:i:78\tms:i:6504\tAS:i:6504\tnn:i:0\ttp:A:S\tcm:i:456\ts1:i:2855\tde:f:0.0221\trl:i:0\tcg:Z:235M1I1996M2D1253M\n+gi|568815551:1197321-1201446\t4126\t706\t4126\t+\tgi|568815569:1240288-1243708\t3421\t0\t3421\t3343\t3422\t0\tNM:i:79\tms:i:6368\tAS:i:6368\tnn:i:0\ttp:A:S\tcm:i:455\ts1:i:2819\tde:f:0.0228\trl:i:0\tcg:Z:170M1I1996M2D1253M\n+gi|568815551:1197321-1201446\t4126\t701\t4126\t+\tgi|568815592:29942469-29945883\t3415\t0\t3410\t3296\t3432\t0\tNM:i:136\tms:i:6078\tAS:i:6078\tnn:i:0\ttp:A:S\tcm:i:381\ts1:i:2471\tde:f:0.0334\trl:i:0\tcg:Z:1212M1I130M3I1M1I144M17I495M3D183M1D238M3D1000M\n+gi|568815561:1196951-1200436\t3486\t65\t3486\t+\tgi|568815569:1240288-1243708\t3421\t0\t3421\t3398\t3421\t0\tNM:i:23\t'..b'1I7M3D7M1D90M1I5M1D37M1D49M1D30M4D4M3I3M1I53M\n+gi|157734152:29655295-29712160\t56866\t47858\t48472\t+\tgi|528476637:29857558-29915771\t58214\t7043\t7661\t488\t641\t0\tNM:i:153\tms:i:364\tAS:i:364\tnn:i:0\ttp:A:S\tcm:i:5\ts1:i:48\tde:f:0.2078\trl:i:96\tcg:Z:26M4I20M1D64M2I7M1D1M1D39M9D5M2D5M4D75M2I9M1D3M2I25M1I11M1D5M1D3M1I8M1D7M3I7M1I90M1D5M1I37M1I49M1I30M4I4M3D3M1D53M\n+gi|157734152:29655295-29712160\t56866\t47858\t48472\t+\tgi|157734152:29655295-29712160\t56866\t7021\t7639\t488\t641\t0\tNM:i:153\tms:i:364\tAS:i:364\tnn:i:0\ttp:A:S\tcm:i:5\ts1:i:48\tde:f:0.2078\trl:i:96\tcg:Z:26M4I20M1D64M2I7M1D1M1D39M9D5M2D5M4D75M2I9M1D3M2I25M1I11M1D5M1D3M1I8M1D7M3I7M1I90M1D5M1I37M1I49M1I30M4I4M3D3M1D53M\n+gi|157734152:29655295-29712160\t56866\t28499\t28764\t-\tgi|528476637:29857558-29915771\t58214\t29092\t29357\t235\t265\t41\tNM:i:30\tms:i:350\tAS:i:350\tnn:i:0\ttp:A:P\tcm:i:4\ts1:i:46\ts2:i:0\tde:f:0.1132\tzd:i:2\trl:i:96\tcg:Z:265M\n+gi|157734152:29655295-29712160\t56866\t14465\t14764\t-\tgi|528476637:29857558-29915771\t58214\t45149\t45463\t266\t316\t0\tNM:i:50\tms:i:350\tAS:i:350\tnn:i:0\ttp:A:S\tcm:i:3\ts1:i:40\tde:f:0.1192\trl:i:96\tcg:Z:5M1I26M2D116M14D2M1D114M1I34M\n+gi|157734152:29655295-29712160\t56866\t29213\t29478\t-\tgi|528476637:29857558-29915771\t58214\t28378\t28643\t234\t265\t0\tNM:i:31\tms:i:344\tAS:i:344\tnn:i:0\ttp:A:S\tcm:i:4\ts1:i:46\tde:f:0.1170\tzd:i:1\trl:i:96\tcg:Z:265M\n+gi|157734152:29655295-29712160\t56866\t28499\t28764\t-\tgi|157734152:29655295-29712160\t56866\t29213\t29478\t233\t265\t40\tNM:i:32\tms:i:338\tAS:i:338\tnn:i:0\ttp:A:P\tcm:i:4\ts1:i:46\ts2:i:0\tde:f:0.1208\tzd:i:2\trl:i:96\tcg:Z:265M\n+gi|157734152:29655295-29712160\t56866\t29213\t29478\t-\tgi|157734152:29655295-29712160\t56866\t28499\t28764\t233\t265\t0\tNM:i:32\tms:i:338\tAS:i:338\tnn:i:0\ttp:A:S\tcm:i:4\ts1:i:46\tde:f:0.1208\tzd:i:1\trl:i:96\tcg:Z:265M\n+gi|157734152:29655295-29712160\t56866\t17792\t17978\t+\tgi|157734152:29655295-29712160\t56866\t17883\t18067\t176\t186\t0\tNM:i:10\tms:i:312\tAS:i:312\tnn:i:0\ttp:A:S\tcm:i:11\ts1:i:86\tde:f:0.0486\trl:i:96\tcg:Z:6M2I178M\n+gi|157734152:29655295-29712160\t56866\t17883\t18067\t+\tgi|157734152:29655295-29712160\t56866\t17792\t17978\t176\t186\t0\tNM:i:10\tms:i:312\tAS:i:312\tnn:i:0\ttp:A:S\tcm:i:11\ts1:i:86\tde:f:0.0486\trl:i:96\tcg:Z:6M2D178M\n+gi|157734152:29655295-29712160\t56866\t6285\t6982\t-\tgi|528476637:29857558-29915771\t58214\t6307\t7004\t528\t727\t0\tNM:i:199\tms:i:272\tAS:i:272\tnn:i:0\ttp:A:S\tcm:i:4\ts1:i:44\tde:f:0.2392\trl:i:96\tcg:Z:11M1D155M1I43M2D64M2I1M1I6M3I5M2I1M2I6M1D9M2I3M3D6M8I5M1I8M1I5M1I9M1D6M1D5M1D8M8D5M3I4M2D3M2D13M2D7M5D70M2I43M1D154M1I12M\n+gi|157734152:29655295-29712160\t56866\t6285\t6982\t-\tgi|157734152:29655295-29712160\t56866\t6285\t6982\t528\t723\t0\tNM:i:195\tms:i:272\tAS:i:272\tnn:i:0\ttp:A:S\tcm:i:4\ts1:i:44\tde:f:0.2436\trl:i:96\tcg:Z:11M1D155M1I43M2D64M2I1M1I6M3I5M2I1M2I6M1D9M2I3M3D6M1I7M2D2M2I3M2D26M2I3M2D2M2I7M1D5M3I4M2D3M2D13M2D7M5D70M2I43M1D154M1I12M\n+gi|157734152:29655295-29712160\t56866\t8039\t8361\t+\tgi|157734152:29655295-29712160\t56866\t8039\t8285\t228\t323\t0\tNM:i:95\tms:i:262\tAS:i:281\tnn:i:0\ttp:A:S\tcm:i:8\ts1:i:53\tde:f:0.0769\trl:i:96\tcg:Z:131M77I89M1D25M\n+gi|157734152:29655295-29712160\t56866\t8039\t8285\t+\tgi|157734152:29655295-29712160\t56866\t8039\t8361\t228\t323\t0\tNM:i:95\tms:i:262\tAS:i:281\tnn:i:0\ttp:A:S\tcm:i:8\ts1:i:53\tde:f:0.0769\trl:i:96\tcg:Z:131M77D89M1I25M\n+gi|157734152:29655295-29712160\t56866\t46497\t46603\t-\tgi|157734152:29655295-29712160\t56866\t46497\t46603\t92\t106\t0\tNM:i:14\tms:i:128\tAS:i:128\tnn:i:0\ttp:A:S\tcm:i:4\ts1:i:54\tde:f:0.1321\trl:i:96\tcg:Z:106M\n+gi|157734152:29655295-29712160\t56866\t8206\t8392\t+\tgi|157734152:29655295-29712160\t56866\t8003\t8199\t154\t201\t0\tNM:i:47\tms:i:116\tAS:i:116\tnn:i:0\ttp:A:S\tcm:i:5\ts1:i:41\tde:f:0.1979\trl:i:96\tcg:Z:14M3D43M2I1M1I28M1D2M2D3M1D14M1D11M2D3M2D5M2I5M3D52M\n+gi|157734152:29655295-29712160\t56866\t8003\t8199\t+\tgi|157734152:29655295-29712160\t56866\t8206\t8392\t154\t201\t0\tNM:i:47\tms:i:116\tAS:i:116\tnn:i:0\ttp:A:S\tcm:i:5\ts1:i:41\tde:f:0.1979\trl:i:96\tcg:Z:14M3I43M2D1M1D28M1I2M2I3M1I14M1I11M2I3M2I5M2D5M3I52M\n+gi|157734152:29655295-29712160\t56866\t46537\t46603\t-\tgi|157734152:29655295-29712160\t56866\t46537\t46603\t60\t66\t0\tNM:i:6\tms:i:96\tAS:i:96\tnn:i:0\ttp:A:S\tcm:i:4\ts1:i:48\tde:f:0.0909\trl:i:96\tcg:Z:66M\n'
b
diff -r 000000000000 -r 8ec117da1796 test-data/test.stat
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/test.stat Fri Feb 05 17:52:51 2021 +0000
b
@@ -0,0 +1,501 @@
+0 89000
+1 25815
+2 265
+3 100
+4 25
+5 3
+6 2
+7 1
+8 1
+9 1
+10 1
+11 0
+12 0
+13 0
+14 0
+15 0
+16 0
+17 0
+18 0
+19 0
+20 0
+21 0
+22 0
+23 0
+24 0
+25 0
+26 0
+27 0
+28 0
+29 0
+30 0
+31 0
+32 0
+33 0
+34 0
+35 0
+36 0
+37 0
+38 0
+39 0
+40 0
+41 0
+42 0
+43 0
+44 0
+45 0
+46 0
+47 0
+48 0
+49 0
+50 0
+51 0
+52 0
+53 0
+54 0
+55 0
+56 0
+57 0
+58 0
+59 0
+60 0
+61 0
+62 0
+63 0
+64 0
+65 0
+66 0
+67 0
+68 0
+69 0
+70 0
+71 0
+72 0
+73 0
+74 0
+75 0
+76 0
+77 0
+78 0
+79 0
+80 0
+81 0
+82 0
+83 0
+84 0
+85 0
+86 0
+87 0
+88 0
+89 0
+90 0
+91 0
+92 0
+93 0
+94 0
+95 0
+96 0
+97 0
+98 0
+99 0
+100 0
+101 0
+102 0
+103 0
+104 0
+105 0
+106 0
+107 0
+108 0
+109 0
+110 0
+111 0
+112 0
+113 0
+114 0
+115 0
+116 0
+117 0
+118 0
+119 0
+120 0
+121 0
+122 0
+123 0
+124 0
+125 0
+126 0
+127 0
+128 0
+129 0
+130 0
+131 0
+132 0
+133 0
+134 0
+135 0
+136 0
+137 0
+138 0
+139 0
+140 0
+141 0
+142 0
+143 0
+144 0
+145 0
+146 0
+147 0
+148 0
+149 0
+150 0
+151 0
+152 0
+153 0
+154 0
+155 0
+156 0
+157 0
+158 0
+159 0
+160 0
+161 0
+162 0
+163 0
+164 0
+165 0
+166 0
+167 0
+168 0
+169 0
+170 0
+171 0
+172 0
+173 0
+174 0
+175 0
+176 0
+177 0
+178 0
+179 0
+180 0
+181 0
+182 0
+183 0
+184 0
+185 0
+186 0
+187 0
+188 0
+189 0
+190 0
+191 0
+192 0
+193 0
+194 0
+195 0
+196 0
+197 0
+198 0
+199 0
+200 0
+201 0
+202 0
+203 0
+204 0
+205 0
+206 0
+207 0
+208 0
+209 0
+210 0
+211 0
+212 0
+213 0
+214 0
+215 0
+216 0
+217 0
+218 0
+219 0
+220 0
+221 0
+222 0
+223 0
+224 0
+225 0
+226 0
+227 0
+228 0
+229 0
+230 0
+231 0
+232 0
+233 0
+234 0
+235 0
+236 0
+237 0
+238 0
+239 0
+240 0
+241 0
+242 0
+243 0
+244 0
+245 0
+246 0
+247 0
+248 0
+249 0
+250 0
+251 0
+252 0
+253 0
+254 0
+255 0
+256 0
+257 0
+258 0
+259 0
+260 0
+261 0
+262 0
+263 0
+264 0
+265 0
+266 0
+267 0
+268 0
+269 0
+270 0
+271 0
+272 0
+273 0
+274 0
+275 0
+276 0
+277 0
+278 0
+279 0
+280 0
+281 0
+282 0
+283 0
+284 0
+285 0
+286 0
+287 0
+288 0
+289 0
+290 0
+291 0
+292 0
+293 0
+294 0
+295 0
+296 0
+297 0
+298 0
+299 0
+300 0
+301 0
+302 0
+303 0
+304 0
+305 0
+306 0
+307 0
+308 0
+309 0
+310 0
+311 0
+312 0
+313 0
+314 0
+315 0
+316 0
+317 0
+318 0
+319 0
+320 0
+321 0
+322 0
+323 0
+324 0
+325 0
+326 0
+327 0
+328 0
+329 0
+330 0
+331 0
+332 0
+333 0
+334 0
+335 0
+336 0
+337 0
+338 0
+339 0
+340 0
+341 0
+342 0
+343 0
+344 0
+345 0
+346 0
+347 0
+348 0
+349 0
+350 0
+351 0
+352 0
+353 0
+354 0
+355 0
+356 0
+357 0
+358 0
+359 0
+360 0
+361 0
+362 0
+363 0
+364 0
+365 0
+366 0
+367 0
+368 0
+369 0
+370 0
+371 0
+372 0
+373 0
+374 0
+375 0
+376 0
+377 0
+378 0
+379 0
+380 0
+381 0
+382 0
+383 0
+384 0
+385 0
+386 0
+387 0
+388 0
+389 0
+390 0
+391 0
+392 0
+393 0
+394 0
+395 0
+396 0
+397 0
+398 0
+399 0
+400 0
+401 0
+402 0
+403 0
+404 0
+405 0
+406 0
+407 0
+408 0
+409 0
+410 0
+411 0
+412 0
+413 0
+414 0
+415 0
+416 0
+417 0
+418 0
+419 0
+420 0
+421 0
+422 0
+423 0
+424 0
+425 0
+426 0
+427 0
+428 0
+429 0
+430 0
+431 0
+432 0
+433 0
+434 0
+435 0
+436 0
+437 0
+438 0
+439 0
+440 0
+441 0
+442 0
+443 0
+444 0
+445 0
+446 0
+447 0
+448 0
+449 0
+450 0
+451 0
+452 0
+453 0
+454 0
+455 0
+456 0
+457 0
+458 0
+459 0
+460 0
+461 0
+462 0
+463 0
+464 0
+465 0
+466 0
+467 0
+468 0
+469 0
+470 0
+471 0
+472 0
+473 0
+474 0
+475 0
+476 0
+477 0
+478 0
+479 0
+480 0
+481 0
+482 0
+483 0
+484 0
+485 0
+486 0
+487 0
+488 0
+489 0
+490 0
+491 0
+492 0
+493 0
+494 0
+495 0
+496 0
+497 0
+498 0
+499 0
+500 0