FASTAEntry#

class pyopenms.FASTAEntry#

Bases: object

Represents a single FASTA entry with identifier, description, and sequence

__init__() → None#
__init__(arg: pyopenms.FASTAEntry, /) → None

Methods

__init__()

headerMatches(rhs)

Returns True if identifier and description match the given entry

sequenceMatches(rhs)

Returns True if the sequence matches the given entry

Attributes

description

Description from FASTA header

identifier

Protein/sequence identifier

sequence

The amino acid or nucleotide sequence

property description: str#

Description from FASTA header

headerMatches(rhs: pyopenms.FASTAEntry) → bool#

Returns True if identifier and description match the given entry

property identifier: str#

Protein/sequence identifier

property sequence: str#

The amino acid or nucleotide sequence

sequenceMatches(rhs: pyopenms.FASTAEntry) → bool#

Returns True if the sequence matches the given entry