metabograph.uniprot package

Submodules

metabograph.uniprot.id_mapping module

UniProt ID mapping.

exception metabograph.uniprot.id_mapping.MetabographIdMapperError[source]

Bases: MetabographException

Custom exception raised by IdMapper.

metabograph.uniprot.id_mapping.id_mapper_context(cache_man: CacheManager)[source]

Context manager to obtain an instance of uniprot_id_mapping.IdMapper configured to use Metabograph’s cache directory. The context will convert UniprotIdMappingExceptions to MetabographIdMapperErrors

Parameters:

cache_man – A CacheManager instance.

Returns:

A configured instance of uniprot_id_mapping.IdMapper

Module contents

Package stub.