@classmethod
def from_biom(cls, filepath: str, **kwargs: Any) -> 'RepTaxonomy':
    'Factory method to construct a :class:`.RepTaxonomy` from :mod:`biom`\n        file.\n\n        Parameters\n        ----------\n        filepath\n            :mod:`biom` file path.\n        kwargs\n            Passed to the constructor.\n\n        Returns\n        -------\n        Instance of\n            class:`.RepTaxonomy`\n        '
    (taxonomy_frame, new_metadata) = cls.__load_biom(filepath, **kwargs)
    tmp_metadata = kwargs.pop('metadata', {})
    tmp_metadata.update({'biom': new_metadata})
    return cls(taxonomy=taxonomy_frame, metadata=tmp_metadata, **kwargs)
Factory method to construct a :class:`.RepTaxonomy` from :mod:`biom`
file.

Parameters
----------
filepath
    :mod:`biom` file path.
kwargs
    Passed to the constructor.

Returns
-------
Instance of
    class:`.RepTaxonomy`
@classmethod
def from_biom(cls, filepath: str, **kwargs: Any) -> 'RepTaxonomy':
    'Factory method to construct a :class:`.RepTaxonomy` from :mod:`biom`\n        file.\n\n        Parameters\n        ----------\n        filepath\n            :mod:`biom` file path.\n        kwargs\n            Passed to the constructor.\n\n        Returns\n        -------\n        Instance of\n            class:`.RepTaxonomy`\n        '
    (taxonomy_frame, new_metadata) = cls.__load_biom(filepath, **kwargs)
    tmp_metadata = kwargs.pop('metadata', {})
    tmp_metadata.update({'biom': new_metadata})
    return cls(taxonomy=taxonomy_frame, metadata=tmp_metadata, **kwargs)