Source code for moonstone.parsers.counts.picrust2

from moonstone.parsers.base import BaseParser


[docs]class Picrust2PathwaysParser(BaseParser): """ Predicted sample pathway abundances output file from `Picrust2 <https://github.com/picrust/picrust2/wiki/>`_. Format is the following: +-----------+----------+----------+ | pathways | sample_1 | sample_2 | +===========+==========+==========+ | pathway_1 | 14.3 | 123.4 | +-----------+----------+----------+ | pathway_2 | 94.1 | 1232.1 | +-----------+----------+----------+ """
[docs] def __init__(self, *args, **kwargs): parsing_options = { 'index_col': 0 } super().__init__(*args, **kwargs, parsing_options=parsing_options)