pypath.utils.pdb.Segment§

class pypath.utils.pdb.Segment(uniprot, pdb_start, pdb_end, uniprot_start, uniprot_end)§

Bases: tuple

__init__()§

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

pdb_end

Alias for field number 2

pdb_start

Alias for field number 1

uniprot

Alias for field number 0

uniprot_end

Alias for field number 4

uniprot_start

Alias for field number 3

count(value, /)§

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)§

Return first index of value.

Raises ValueError if the value is not present.

pdb_end§

Alias for field number 2

pdb_start§

Alias for field number 1

uniprot§

Alias for field number 0

uniprot_end§

Alias for field number 4

uniprot_start§

Alias for field number 3