Sequence Description (pyncbitk.objects.seqdesc)#

Sequence description data model.

A SeqDesc is meant to describe a BioSeq in a biological and/or bibliographic context.

See also

The Seq-descr section of the NCBI C++ Toolkit documentation.

Description#

class pyncbitk.objects.seqdesc.SeqDesc(Serial)#

An abstract base storage of sequence description.

classmethod __new__(*args, **kwargs)#
__init__(*args, **kwargs)#
__reduce__()#

Helper for pickle.

class pyncbitk.objects.seqdesc.NameDesc(SeqDesc)#

A description storing the name of a sequence.

classmethod __new__(*args, **kwargs)#
__init__(*args, **kwargs)#
__reduce__()#

Helper for pickle.

__repr__()#

Return repr(self).

__str__()#

Return str(self).

class pyncbitk.objects.seqdesc.TitleDesc(SeqDesc)#

A description storing the title of a sequence.

classmethod __new__(*args, **kwargs)#
__init__(*args, **kwargs)#
__reduce__()#

Helper for pickle.

__repr__()#

Return repr(self).

__str__()#

Return str(self).

class pyncbitk.objects.seqdesc.RegionDesc(SeqDesc)#
classmethod __new__(*args, **kwargs)#
__init__(*args, **kwargs)#
__reduce__()#

Helper for pickle.

__repr__()#

Return repr(self).

__str__()#

Return str(self).

Set#

class pyncbitk.objects.seqdesc.SeqDescSet(Serial)#

A set of sequence descriptions.

classmethod __new__(*args, **kwargs)#
__init__(items=())#

Create a new set of sequence descriptions.

Parameters:

items (iterable of SeqDesc) – An iterable of sequence descriptions to add to the set.

__iter__()#

Implement iter(self).

__len__()#

Return len(self).

__reduce__()#

Helper for pickle.