Skip to content

custom_types

pypythia.custom_types.DataType

Bases: Enum

Data type for MSAs. - DNA = DNA data - AA = Protein data - MORPH = morphological data

Source code in pypythia/custom_types.py
 5
 6
 7
 8
 9
10
11
12
13
14
class DataType(Enum):
    """Data type for MSAs.
    - DNA = DNA data
    - AA = Protein data
    - MORPH = morphological data
    """

    DNA = "DNA"
    AA = "AA"
    MORPH = "MORPH"

pypythia.custom_types.FileFormat

Bases: Enum

File formats for MSAs - PHYLIP = phylip-relaxed - FASTA = fasta

Source code in pypythia/custom_types.py
17
18
19
20
21
22
23
24
class FileFormat(Enum):
    """File formats for MSAs
    - PHYLIP = phylip-relaxed
    - FASTA = fasta
    """

    PHYLIP = "phylip-relaxed"
    FASTA = "fasta"