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

Changeset 2:d80c0fc14504 (2023-03-06)
Previous changeset 1:773615269d71 (2023-02-13) Next changeset 3:88d274322340 (2023-03-15)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
modified:
kreport2krona.xml
added:
test-data/mpa_output.tabular
test-data/mpa_output_intermediate.tabular
test-data/mpa_output_percentages.tabular
b
diff -r 773615269d71 -r d80c0fc14504 kreport2krona.xml
--- a/kreport2krona.xml Mon Feb 13 10:23:39 2023 +0000
+++ b/kreport2krona.xml Mon Mar 06 21:22:47 2023 +0000
b
@@ -41,22 +41,27 @@
 ------
 A krona-compatible TEXT file
 
-Example output:
-    --no-intermediate-ranks
-        6298        Unclassified
-        8           k__Bacteria
-        4           k__Bacteria     p_Proteobacteria
-        6           k__Bacteria     p_Proteobacteria    c__Gammaproteobacteria
-        ...
+**Example output:**
+
+``--no-intermediate-ranks``
+
+::
+
+    6298        Unclassified
+    8           k__Bacteria
+    4           k__Bacteria     p_Proteobacteria
+    6           k__Bacteria     p_Proteobacteria    c__Gammaproteobacteria
 
-    --intermediate-ranks
-        6298        Unclassified
-        79          x__root
-        0           x__root     x__cellular_organisms
-        8           x__root     x__cellular organisms   k__Bacteria
-        4           x__root     x__cellular organisms   k__Bacteria     p__Proteobacteria
-        6           x__root     x__cellular organisms   k__Bacteria     p__Proteobacteria   c__Gammaproteobacteria
-        ....
+``--intermediate-ranks``
+
+::
+
+    6298        Unclassified
+    79          x__root
+    0           x__root     x__cellular_organisms
+    8           x__root     x__cellular organisms   k__Bacteria
+    4           x__root     x__cellular organisms   k__Bacteria     p__Proteobacteria
+    6           x__root     x__cellular organisms   k__Bacteria     p__Proteobacteria   c__Gammaproteobacteria
 
     ]]></help>
     <expand macro="citations"/>
b
diff -r 773615269d71 -r d80c0fc14504 test-data/mpa_output.tabular
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/mpa_output.tabular Mon Mar 06 21:22:47 2023 +0000
b
b'@@ -0,0 +1,215 @@\n+k__Eukaryota\t756\n+k__Eukaryota|k__Metazoa\t402\n+k__Eukaryota|k__Metazoa|p__Chordata\t402\n+k__Eukaryota|k__Metazoa|p__Chordata|c__Mammalia\t402\n+k__Eukaryota|k__Metazoa|p__Chordata|c__Mammalia|o__Primates\t402\n+k__Eukaryota|k__Metazoa|p__Chordata|c__Mammalia|o__Primates|f__Hominidae\t402\n+k__Eukaryota|k__Metazoa|p__Chordata|c__Mammalia|o__Primates|f__Hominidae|g__Homo\t402\n+k__Eukaryota|k__Metazoa|p__Chordata|c__Mammalia|o__Primates|f__Hominidae|g__Homo|s__Homo_sapiens\t402\n+k__Eukaryota|k__Fungi\t342\n+k__Eukaryota|k__Fungi|p__Ascomycota\t341\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes\t336\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales\t336\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Saccharomycetaceae\t333\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Saccharomycetaceae|g__Saccharomyces\t329\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Saccharomycetaceae|g__Saccharomyces|s__Saccharomyces_cerevisiae\t293\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Saccharomycetaceae|g__Saccharomyces|s__Saccharomyces_paradoxus\t15\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Saccharomycetaceae|g__Saccharomyces|s__Saccharomyces_eubayanus\t10\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Saccharomycetaceae|g__Kluyveromyces\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Saccharomycetaceae|g__Kluyveromyces|s__Kluyveromyces_marxianus\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Trichomonascaceae\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Trichomonascaceae|g__Sugiyamaella\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Trichomonascaceae|g__Sugiyamaella|s__Sugiyamaella_lignohabitans\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Debaryomycetaceae\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Debaryomycetaceae|g__Candida\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Debaryomycetaceae|g__Candida|s__Candida_dubliniensis\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Sordariomycetes\t3\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Sordariomycetes|o__Sordariales\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Sordariomycetes|o__Sordariales|f__Sordariaceae\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Sordariomycetes|o__Sordariales|f__Sordariaceae|g__Neurospora\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Sordariomycetes|o__Sordariales|f__Sordariaceae|g__Neurospora|s__Neurospora_crassa\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Sordariomycetes|o__Magnaporthales\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Sordariomycetes|o__Magnaporthales|f__Pyriculariaceae\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Sordariomycetes|o__Magnaporthales|f__Pyriculariaceae|g__Pyricularia\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Sordariomycetes|o__Magnaporthales|f__Pyriculariaceae|g__Pyricularia|s__Pyricularia_pennisetigena\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Eurotiomycetes\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Eurotiomycetes|o__Eurotiales\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Eurotiomycetes|o__Eurotiales|f__Aspergillaceae\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Eurotiomycetes|o__Eurotiales|f__Aspergillaceae|g__Aspergillus\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Eurotiomycetes|o__Eurotiales|f__Aspergillaceae|g__Aspergillus|s__Aspergillus_luchuensis\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Schizosaccharomycetes\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Schizosaccharomycetes|o__Schizosaccharomycetales\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Schizosaccharomycetes|o__Schizosaccharomycetales|f__Schizosaccharomycetaceae\t1\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Schizosaccharomycetes|o__Schizosac'..b'__Flavobacteriales\t3\n+k__Bacteria|p__Bacteroidetes|c__Flavobacteriia|o__Flavobacteriales|f__Blattabacteriaceae\t1\n+k__Bacteria|p__Bacteroidetes|c__Flavobacteriia|o__Flavobacteriales|f__Blattabacteriaceae|g__Blattabacterium\t1\n+k__Bacteria|p__Bacteroidetes|c__Flavobacteriia|o__Flavobacteriales|f__Blattabacteriaceae|g__Blattabacterium|s__Blattabacterium_cuenoti\t1\n+k__Bacteria|p__Bacteroidetes|c__Flavobacteriia|o__Flavobacteriales|f__Flavobacteriaceae\t1\n+k__Bacteria|p__Bacteroidetes|c__Flavobacteriia|o__Flavobacteriales|f__Flavobacteriaceae|g__Olleya\t1\n+k__Bacteria|p__Bacteroidetes|c__Flavobacteriia|o__Flavobacteriales|f__Weeksellaceae\t1\n+k__Bacteria|p__Bacteroidetes|c__Flavobacteriia|o__Flavobacteriales|f__Weeksellaceae|g__Chryseobacterium\t1\n+k__Bacteria|p__Bacteroidetes|c__Flavobacteriia|o__Flavobacteriales|f__Weeksellaceae|g__Chryseobacterium|s__Chryseobacterium_sp._DH-B6\t1\n+k__Bacteria|p__Bacteroidetes|c__Bacteroidia\t2\n+k__Bacteria|p__Bacteroidetes|c__Bacteroidia|o__Bacteroidales\t2\n+k__Bacteria|p__Bacteroidetes|c__Sphingobacteriia\t1\n+k__Bacteria|p__Bacteroidetes|c__Sphingobacteriia|o__Sphingobacteriales\t1\n+k__Bacteria|p__Bacteroidetes|c__Sphingobacteriia|o__Sphingobacteriales|f__Sphingobacteriaceae\t1\n+k__Bacteria|p__Bacteroidetes|c__Sphingobacteriia|o__Sphingobacteriales|f__Sphingobacteriaceae|g__Sphingobacterium\t1\n+k__Bacteria|p__Bacteroidetes|c__Sphingobacteriia|o__Sphingobacteriales|f__Sphingobacteriaceae|g__Sphingobacterium|s__Sphingobacterium_multivorum\t1\n+k__Bacteria|p__Bacteroidetes|c__Cytophagia\t1\n+k__Bacteria|p__Bacteroidetes|c__Cytophagia|o__Cytophagales\t1\n+k__Bacteria|p__Bacteroidetes|c__Cytophagia|o__Cytophagales|f__Flammeovirgaceae\t1\n+k__Bacteria|p__Bacteroidetes|c__Cytophagia|o__Cytophagales|f__Flammeovirgaceae|g__Flammeovirga\t1\n+k__Bacteria|p__Bacteroidetes|c__Cytophagia|o__Cytophagales|f__Flammeovirgaceae|g__Flammeovirga|s__Flammeovirga_kamogawensis\t1\n+k__Bacteria|p__Fusobacteria\t2\n+k__Bacteria|p__Fusobacteria|c__Fusobacteriia\t2\n+k__Bacteria|p__Fusobacteria|c__Fusobacteriia|o__Fusobacteriales\t2\n+k__Bacteria|p__Fusobacteria|c__Fusobacteriia|o__Fusobacteriales|f__Fusobacteriaceae\t2\n+k__Bacteria|p__Fusobacteria|c__Fusobacteriia|o__Fusobacteriales|f__Fusobacteriaceae|g__Fusobacterium\t2\n+k__Bacteria|p__Fusobacteria|c__Fusobacteriia|o__Fusobacteriales|f__Fusobacteriaceae|g__Fusobacterium|s__Fusobacterium_nucleatum\t1\n+k__Bacteria|p__Fusobacteria|c__Fusobacteriia|o__Fusobacteriales|f__Fusobacteriaceae|g__Fusobacterium|s__Fusobacterium_hwasookii\t1\n+k__Bacteria|p__Spirochaetes\t1\n+k__Bacteria|p__Spirochaetes|c__Spirochaetia\t1\n+k__Bacteria|p__Spirochaetes|c__Spirochaetia|o__Brachyspirales\t1\n+k__Bacteria|p__Spirochaetes|c__Spirochaetia|o__Brachyspirales|f__Brachyspiraceae\t1\n+k__Bacteria|p__Spirochaetes|c__Spirochaetia|o__Brachyspirales|f__Brachyspiraceae|g__Brachyspira\t1\n+k__Bacteria|p__Spirochaetes|c__Spirochaetia|o__Brachyspirales|f__Brachyspiraceae|g__Brachyspira|s__Brachyspira_hyodysenteriae\t1\n+k__Archaea\t2\n+k__Archaea|p__Euryarchaeota\t1\n+k__Archaea|p__Euryarchaeota|c__Methanomicrobia\t1\n+k__Archaea|p__Euryarchaeota|c__Methanomicrobia|o__Methanosarcinales\t1\n+k__Archaea|p__Euryarchaeota|c__Methanomicrobia|o__Methanosarcinales|f__Methanosarcinaceae\t1\n+k__Archaea|p__Euryarchaeota|c__Methanomicrobia|o__Methanosarcinales|f__Methanosarcinaceae|g__Methanosarcina\t1\n+k__Archaea|p__Euryarchaeota|c__Methanomicrobia|o__Methanosarcinales|f__Methanosarcinaceae|g__Methanosarcina|s__Methanosarcina_barkeri\t1\n+k__Archaea|p__Thaumarchaeota\t1\n+k__Archaea|p__Thaumarchaeota|c__Nitrososphaeria\t1\n+k__Archaea|p__Thaumarchaeota|c__Nitrososphaeria|o__Nitrososphaerales\t1\n+k__Archaea|p__Thaumarchaeota|c__Nitrososphaeria|o__Nitrososphaerales|f__Nitrososphaeraceae\t1\n+k__Archaea|p__Thaumarchaeota|c__Nitrososphaeria|o__Nitrososphaerales|f__Nitrososphaeraceae|g__Candidatus_Nitrosocosmicus\t1\n+k__Archaea|p__Thaumarchaeota|c__Nitrososphaeria|o__Nitrososphaerales|f__Nitrososphaeraceae|g__Candidatus_Nitrosocosmicus|s__Candidatus_Nitrosocosmicus_franklandus\t1\n'
b
diff -r 773615269d71 -r d80c0fc14504 test-data/mpa_output_intermediate.tabular
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/mpa_output_intermediate.tabular Mon Mar 06 21:22:47 2023 +0000
b
b'@@ -0,0 +1,298 @@\n+x__cellular_organisms\t836\n+x__cellular_organisms|k__Eukaryota\t756\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta\t747\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa\t402\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa|x__Eumetazoa\t402\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa|x__Eumetazoa|x__Bilateria\t402\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa|x__Eumetazoa|x__Bilateria|x__Deuterostomia\t402\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa|x__Eumetazoa|x__Bilateria|x__Deuterostomia|p__Chordata\t402\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa|x__Eumetazoa|x__Bilateria|x__Deuterostomia|p__Chordata|x__Craniata\t402\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa|x__Eumetazoa|x__Bilateria|x__Deuterostomia|p__Chordata|x__Craniata|x__Vertebrata\t402\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa|x__Eumetazoa|x__Bilateria|x__Deuterostomia|p__Chordata|x__Craniata|x__Vertebrata|x__Gnathostomata\t402\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa|x__Eumetazoa|x__Bilateria|x__Deuterostomia|p__Chordata|x__Craniata|x__Vertebrata|x__Gnathostomata|x__Teleostomi\t402\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa|x__Eumetazoa|x__Bilateria|x__Deuterostomia|p__Chordata|x__Craniata|x__Vertebrata|x__Gnathostomata|x__Teleostomi|x__Euteleostomi\t402\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa|x__Eumetazoa|x__Bilateria|x__Deuterostomia|p__Chordata|x__Craniata|x__Vertebrata|x__Gnathostomata|x__Teleostomi|x__Euteleostomi|x__Sarcopterygii\t402\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa|x__Eumetazoa|x__Bilateria|x__Deuterostomia|p__Chordata|x__Craniata|x__Vertebrata|x__Gnathostomata|x__Teleostomi|x__Euteleostomi|x__Sarcopterygii|x__Dipnotetrapodomorpha\t402\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa|x__Eumetazoa|x__Bilateria|x__Deuterostomia|p__Chordata|x__Craniata|x__Vertebrata|x__Gnathostomata|x__Teleostomi|x__Euteleostomi|x__Sarcopterygii|x__Dipnotetrapodomorpha|x__Tetrapoda\t402\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa|x__Eumetazoa|x__Bilateria|x__Deuterostomia|p__Chordata|x__Craniata|x__Vertebrata|x__Gnathostomata|x__Teleostomi|x__Euteleostomi|x__Sarcopterygii|x__Dipnotetrapodomorpha|x__Tetrapoda|x__Amniota\t402\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa|x__Eumetazoa|x__Bilateria|x__Deuterostomia|p__Chordata|x__Craniata|x__Vertebrata|x__Gnathostomata|x__Teleostomi|x__Euteleostomi|x__Sarcopterygii|x__Dipnotetrapodomorpha|x__Tetrapoda|x__Amniota|c__Mammalia\t402\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa|x__Eumetazoa|x__Bilateria|x__Deuterostomia|p__Chordata|x__Craniata|x__Vertebrata|x__Gnathostomata|x__Teleostomi|x__Euteleostomi|x__Sarcopterygii|x__Dipnotetrapodomorpha|x__Tetrapoda|x__Amniota|c__Mammalia|x__Theria\t402\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa|x__Eumetazoa|x__Bilateria|x__Deuterostomia|p__Chordata|x__Craniata|x__Vertebrata|x__Gnathostomata|x__Teleostomi|x__Euteleostomi|x__Sarcopterygii|x__Dipnotetrapodomorpha|x__Tetrapoda|x__Amniota|c__Mammalia|x__Theria|x__Eutheria\t402\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa|x__Eumetazoa|x__Bilateria|x__Deuterostomia|p__Chordata|x__Craniata|x__Vertebrata|x__Gnathostomata|x__Teleostomi|x__Euteleostomi|x__Sarcopterygii|x__Dipnotetrapodomorpha|x__Tetrapoda|x__Amniota|c__Mammalia|x__Theria|x__Eutheria|x__Boreoeutheria\t402\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa|x__Eumetazoa|x__Bilateria|x__Deuterostomia|p__Chordata|x__Craniata|x__Vertebrata|x__Gnathostomata|x__Teleostomi|x__Euteleostomi|x__Sarcopterygii|x__Dipnotetrapodomorpha|x__Tetrapoda|x__Amniota|c__Mammalia|x__Theria|x__Eutheria|x__Boreoeutheria|x__Euarchontoglires\t402\n+x__cellular_organisms|k__Eukaryota|x__Opisthokonta|k__Metazoa|x__Eumetazoa|x__Bilateria|x__Deuterostomia|p__Chordata|'..b'oup|x__Bacteroidetes/Chlorobi_group|p__Bacteroidetes|c__Cytophagia|o__Cytophagales\t1\n+x__cellular_organisms|k__Bacteria|x__FCB_group|x__Bacteroidetes/Chlorobi_group|p__Bacteroidetes|c__Cytophagia|o__Cytophagales|f__Flammeovirgaceae\t1\n+x__cellular_organisms|k__Bacteria|x__FCB_group|x__Bacteroidetes/Chlorobi_group|p__Bacteroidetes|c__Cytophagia|o__Cytophagales|f__Flammeovirgaceae|g__Flammeovirga\t1\n+x__cellular_organisms|k__Bacteria|x__FCB_group|x__Bacteroidetes/Chlorobi_group|p__Bacteroidetes|c__Cytophagia|o__Cytophagales|f__Flammeovirgaceae|g__Flammeovirga|s__Flammeovirga_kamogawensis\t1\n+x__cellular_organisms|k__Bacteria|p__Fusobacteria\t2\n+x__cellular_organisms|k__Bacteria|p__Fusobacteria|c__Fusobacteriia\t2\n+x__cellular_organisms|k__Bacteria|p__Fusobacteria|c__Fusobacteriia|o__Fusobacteriales\t2\n+x__cellular_organisms|k__Bacteria|p__Fusobacteria|c__Fusobacteriia|o__Fusobacteriales|f__Fusobacteriaceae\t2\n+x__cellular_organisms|k__Bacteria|p__Fusobacteria|c__Fusobacteriia|o__Fusobacteriales|f__Fusobacteriaceae|g__Fusobacterium\t2\n+x__cellular_organisms|k__Bacteria|p__Fusobacteria|c__Fusobacteriia|o__Fusobacteriales|f__Fusobacteriaceae|g__Fusobacterium|s__Fusobacterium_nucleatum\t1\n+x__cellular_organisms|k__Bacteria|p__Fusobacteria|c__Fusobacteriia|o__Fusobacteriales|f__Fusobacteriaceae|g__Fusobacterium|s__Fusobacterium_nucleatum|x__Fusobacterium_nucleatum_subsp._polymorphum\t1\n+x__cellular_organisms|k__Bacteria|p__Fusobacteria|c__Fusobacteriia|o__Fusobacteriales|f__Fusobacteriaceae|g__Fusobacterium|s__Fusobacterium_hwasookii\t1\n+x__cellular_organisms|k__Bacteria|p__Spirochaetes\t1\n+x__cellular_organisms|k__Bacteria|p__Spirochaetes|c__Spirochaetia\t1\n+x__cellular_organisms|k__Bacteria|p__Spirochaetes|c__Spirochaetia|o__Brachyspirales\t1\n+x__cellular_organisms|k__Bacteria|p__Spirochaetes|c__Spirochaetia|o__Brachyspirales|f__Brachyspiraceae\t1\n+x__cellular_organisms|k__Bacteria|p__Spirochaetes|c__Spirochaetia|o__Brachyspirales|f__Brachyspiraceae|g__Brachyspira\t1\n+x__cellular_organisms|k__Bacteria|p__Spirochaetes|c__Spirochaetia|o__Brachyspirales|f__Brachyspiraceae|g__Brachyspira|s__Brachyspira_hyodysenteriae\t1\n+x__cellular_organisms|k__Archaea\t2\n+x__cellular_organisms|k__Archaea|p__Euryarchaeota\t1\n+x__cellular_organisms|k__Archaea|p__Euryarchaeota|x__Stenosarchaea_group\t1\n+x__cellular_organisms|k__Archaea|p__Euryarchaeota|x__Stenosarchaea_group|c__Methanomicrobia\t1\n+x__cellular_organisms|k__Archaea|p__Euryarchaeota|x__Stenosarchaea_group|c__Methanomicrobia|o__Methanosarcinales\t1\n+x__cellular_organisms|k__Archaea|p__Euryarchaeota|x__Stenosarchaea_group|c__Methanomicrobia|o__Methanosarcinales|f__Methanosarcinaceae\t1\n+x__cellular_organisms|k__Archaea|p__Euryarchaeota|x__Stenosarchaea_group|c__Methanomicrobia|o__Methanosarcinales|f__Methanosarcinaceae|g__Methanosarcina\t1\n+x__cellular_organisms|k__Archaea|p__Euryarchaeota|x__Stenosarchaea_group|c__Methanomicrobia|o__Methanosarcinales|f__Methanosarcinaceae|g__Methanosarcina|s__Methanosarcina_barkeri\t1\n+x__cellular_organisms|k__Archaea|p__Euryarchaeota|x__Stenosarchaea_group|c__Methanomicrobia|o__Methanosarcinales|f__Methanosarcinaceae|g__Methanosarcina|s__Methanosarcina_barkeri|x__Methanosarcina_barkeri_3\t1\n+x__cellular_organisms|k__Archaea|x__TACK_group\t1\n+x__cellular_organisms|k__Archaea|x__TACK_group|p__Thaumarchaeota\t1\n+x__cellular_organisms|k__Archaea|x__TACK_group|p__Thaumarchaeota|c__Nitrososphaeria\t1\n+x__cellular_organisms|k__Archaea|x__TACK_group|p__Thaumarchaeota|c__Nitrososphaeria|o__Nitrososphaerales\t1\n+x__cellular_organisms|k__Archaea|x__TACK_group|p__Thaumarchaeota|c__Nitrososphaeria|o__Nitrososphaerales|f__Nitrososphaeraceae\t1\n+x__cellular_organisms|k__Archaea|x__TACK_group|p__Thaumarchaeota|c__Nitrososphaeria|o__Nitrososphaerales|f__Nitrososphaeraceae|g__Candidatus_Nitrosocosmicus\t1\n+x__cellular_organisms|k__Archaea|x__TACK_group|p__Thaumarchaeota|c__Nitrososphaeria|o__Nitrososphaerales|f__Nitrososphaeraceae|g__Candidatus_Nitrosocosmicus|s__Candidatus_Nitrosocosmicus_franklandus\t1\n'
b
diff -r 773615269d71 -r d80c0fc14504 test-data/mpa_output_percentages.tabular
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/mpa_output_percentages.tabular Mon Mar 06 21:22:47 2023 +0000
b
b'@@ -0,0 +1,215 @@\n+k__Eukaryota\t56.0\n+k__Eukaryota|k__Metazoa\t29.78\n+k__Eukaryota|k__Metazoa|p__Chordata\t29.78\n+k__Eukaryota|k__Metazoa|p__Chordata|c__Mammalia\t29.78\n+k__Eukaryota|k__Metazoa|p__Chordata|c__Mammalia|o__Primates\t29.78\n+k__Eukaryota|k__Metazoa|p__Chordata|c__Mammalia|o__Primates|f__Hominidae\t29.78\n+k__Eukaryota|k__Metazoa|p__Chordata|c__Mammalia|o__Primates|f__Hominidae|g__Homo\t29.78\n+k__Eukaryota|k__Metazoa|p__Chordata|c__Mammalia|o__Primates|f__Hominidae|g__Homo|s__Homo_sapiens\t29.78\n+k__Eukaryota|k__Fungi\t25.33\n+k__Eukaryota|k__Fungi|p__Ascomycota\t25.26\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes\t24.89\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales\t24.89\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Saccharomycetaceae\t24.67\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Saccharomycetaceae|g__Saccharomyces\t24.37\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Saccharomycetaceae|g__Saccharomyces|s__Saccharomyces_cerevisiae\t21.7\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Saccharomycetaceae|g__Saccharomyces|s__Saccharomyces_paradoxus\t1.11\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Saccharomycetaceae|g__Saccharomyces|s__Saccharomyces_eubayanus\t0.74\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Saccharomycetaceae|g__Kluyveromyces\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Saccharomycetaceae|g__Kluyveromyces|s__Kluyveromyces_marxianus\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Trichomonascaceae\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Trichomonascaceae|g__Sugiyamaella\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Trichomonascaceae|g__Sugiyamaella|s__Sugiyamaella_lignohabitans\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Debaryomycetaceae\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Debaryomycetaceae|g__Candida\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Saccharomycetes|o__Saccharomycetales|f__Debaryomycetaceae|g__Candida|s__Candida_dubliniensis\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Sordariomycetes\t0.22\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Sordariomycetes|o__Sordariales\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Sordariomycetes|o__Sordariales|f__Sordariaceae\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Sordariomycetes|o__Sordariales|f__Sordariaceae|g__Neurospora\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Sordariomycetes|o__Sordariales|f__Sordariaceae|g__Neurospora|s__Neurospora_crassa\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Sordariomycetes|o__Magnaporthales\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Sordariomycetes|o__Magnaporthales|f__Pyriculariaceae\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Sordariomycetes|o__Magnaporthales|f__Pyriculariaceae|g__Pyricularia\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Sordariomycetes|o__Magnaporthales|f__Pyriculariaceae|g__Pyricularia|s__Pyricularia_pennisetigena\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Eurotiomycetes\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Eurotiomycetes|o__Eurotiales\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Eurotiomycetes|o__Eurotiales|f__Aspergillaceae\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Eurotiomycetes|o__Eurotiales|f__Aspergillaceae|g__Aspergillus\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Eurotiomycetes|o__Eurotiales|f__Aspergillaceae|g__Aspergillus|s__Aspergillus_luchuensis\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Schizosaccharomycetes\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Schizosaccharomycetes|o__Schizosaccharomycetales\t0.07\n+k__Eukaryota|k__Fungi|p__Ascomycota|c__Schizosaccharomycetes|o__Schizosaccharomycetales|'..b'oidetes|c__Flavobacteriia|o__Flavobacteriales|f__Blattabacteriaceae|g__Blattabacterium\t0.07\n+k__Bacteria|p__Bacteroidetes|c__Flavobacteriia|o__Flavobacteriales|f__Blattabacteriaceae|g__Blattabacterium|s__Blattabacterium_cuenoti\t0.07\n+k__Bacteria|p__Bacteroidetes|c__Flavobacteriia|o__Flavobacteriales|f__Flavobacteriaceae\t0.07\n+k__Bacteria|p__Bacteroidetes|c__Flavobacteriia|o__Flavobacteriales|f__Flavobacteriaceae|g__Olleya\t0.07\n+k__Bacteria|p__Bacteroidetes|c__Flavobacteriia|o__Flavobacteriales|f__Weeksellaceae\t0.07\n+k__Bacteria|p__Bacteroidetes|c__Flavobacteriia|o__Flavobacteriales|f__Weeksellaceae|g__Chryseobacterium\t0.07\n+k__Bacteria|p__Bacteroidetes|c__Flavobacteriia|o__Flavobacteriales|f__Weeksellaceae|g__Chryseobacterium|s__Chryseobacterium_sp._DH-B6\t0.07\n+k__Bacteria|p__Bacteroidetes|c__Bacteroidia\t0.15\n+k__Bacteria|p__Bacteroidetes|c__Bacteroidia|o__Bacteroidales\t0.15\n+k__Bacteria|p__Bacteroidetes|c__Sphingobacteriia\t0.07\n+k__Bacteria|p__Bacteroidetes|c__Sphingobacteriia|o__Sphingobacteriales\t0.07\n+k__Bacteria|p__Bacteroidetes|c__Sphingobacteriia|o__Sphingobacteriales|f__Sphingobacteriaceae\t0.07\n+k__Bacteria|p__Bacteroidetes|c__Sphingobacteriia|o__Sphingobacteriales|f__Sphingobacteriaceae|g__Sphingobacterium\t0.07\n+k__Bacteria|p__Bacteroidetes|c__Sphingobacteriia|o__Sphingobacteriales|f__Sphingobacteriaceae|g__Sphingobacterium|s__Sphingobacterium_multivorum\t0.07\n+k__Bacteria|p__Bacteroidetes|c__Cytophagia\t0.07\n+k__Bacteria|p__Bacteroidetes|c__Cytophagia|o__Cytophagales\t0.07\n+k__Bacteria|p__Bacteroidetes|c__Cytophagia|o__Cytophagales|f__Flammeovirgaceae\t0.07\n+k__Bacteria|p__Bacteroidetes|c__Cytophagia|o__Cytophagales|f__Flammeovirgaceae|g__Flammeovirga\t0.07\n+k__Bacteria|p__Bacteroidetes|c__Cytophagia|o__Cytophagales|f__Flammeovirgaceae|g__Flammeovirga|s__Flammeovirga_kamogawensis\t0.07\n+k__Bacteria|p__Fusobacteria\t0.15\n+k__Bacteria|p__Fusobacteria|c__Fusobacteriia\t0.15\n+k__Bacteria|p__Fusobacteria|c__Fusobacteriia|o__Fusobacteriales\t0.15\n+k__Bacteria|p__Fusobacteria|c__Fusobacteriia|o__Fusobacteriales|f__Fusobacteriaceae\t0.15\n+k__Bacteria|p__Fusobacteria|c__Fusobacteriia|o__Fusobacteriales|f__Fusobacteriaceae|g__Fusobacterium\t0.15\n+k__Bacteria|p__Fusobacteria|c__Fusobacteriia|o__Fusobacteriales|f__Fusobacteriaceae|g__Fusobacterium|s__Fusobacterium_nucleatum\t0.07\n+k__Bacteria|p__Fusobacteria|c__Fusobacteriia|o__Fusobacteriales|f__Fusobacteriaceae|g__Fusobacterium|s__Fusobacterium_hwasookii\t0.07\n+k__Bacteria|p__Spirochaetes\t0.07\n+k__Bacteria|p__Spirochaetes|c__Spirochaetia\t0.07\n+k__Bacteria|p__Spirochaetes|c__Spirochaetia|o__Brachyspirales\t0.07\n+k__Bacteria|p__Spirochaetes|c__Spirochaetia|o__Brachyspirales|f__Brachyspiraceae\t0.07\n+k__Bacteria|p__Spirochaetes|c__Spirochaetia|o__Brachyspirales|f__Brachyspiraceae|g__Brachyspira\t0.07\n+k__Bacteria|p__Spirochaetes|c__Spirochaetia|o__Brachyspirales|f__Brachyspiraceae|g__Brachyspira|s__Brachyspira_hyodysenteriae\t0.07\n+k__Archaea\t0.15\n+k__Archaea|p__Euryarchaeota\t0.07\n+k__Archaea|p__Euryarchaeota|c__Methanomicrobia\t0.07\n+k__Archaea|p__Euryarchaeota|c__Methanomicrobia|o__Methanosarcinales\t0.07\n+k__Archaea|p__Euryarchaeota|c__Methanomicrobia|o__Methanosarcinales|f__Methanosarcinaceae\t0.07\n+k__Archaea|p__Euryarchaeota|c__Methanomicrobia|o__Methanosarcinales|f__Methanosarcinaceae|g__Methanosarcina\t0.07\n+k__Archaea|p__Euryarchaeota|c__Methanomicrobia|o__Methanosarcinales|f__Methanosarcinaceae|g__Methanosarcina|s__Methanosarcina_barkeri\t0.07\n+k__Archaea|p__Thaumarchaeota\t0.07\n+k__Archaea|p__Thaumarchaeota|c__Nitrososphaeria\t0.07\n+k__Archaea|p__Thaumarchaeota|c__Nitrososphaeria|o__Nitrososphaerales\t0.07\n+k__Archaea|p__Thaumarchaeota|c__Nitrososphaeria|o__Nitrososphaerales|f__Nitrososphaeraceae\t0.07\n+k__Archaea|p__Thaumarchaeota|c__Nitrososphaeria|o__Nitrososphaerales|f__Nitrososphaeraceae|g__Candidatus_Nitrosocosmicus\t0.07\n+k__Archaea|p__Thaumarchaeota|c__Nitrososphaeria|o__Nitrososphaerales|f__Nitrososphaeraceae|g__Candidatus_Nitrosocosmicus|s__Candidatus_Nitrosocosmicus_franklandus\t0.07\n'