pypath.utils.seq.Resource§

class pypath.utils.seq.Resource(loader, name=None)[source]§

Bases: object

__init__(loader, name=None)[source]§

Represents a resource of sequence features, e.g. domains, motifs or post-translational modification sites.

Methods

__init__(loader[, name])

Represents a resource of sequence features, e.g. domains, motifs or post-translational modification sites.

iterdb([ncbi_tax_id])

Iterates over all proteins and features of one organism.

iterprotein(uniprot[, ncbi_tax_id])

Iterates over the features of one protein.

load([ncbi_tax_id])

Loads the data from the resource for a given organism.

processor(raw)

Preprocesses the features loaded from a resource.

unload([ncbi_tax_id])

Removes data in order to free up memory.

iterdb(ncbi_tax_id=9606)[source]§

Iterates over all proteins and features of one organism.

iterprotein(uniprot, ncbi_tax_id=9606)[source]§

Iterates over the features of one protein.

load(ncbi_tax_id=9606)[source]§

Loads the data from the resource for a given organism.

processor(raw)[source]§

Preprocesses the features loaded from a resource.

unload(ncbi_tax_id=None)[source]§

Removes data in order to free up memory.