constants Module

platform:Unix
synopsis:Define different constants needed in the modules.
constants.ALPHABET = ['A', 'C', 'G', 'T']

Defines the nucleotide alphabet.

constants.BLACK = (0, 0, 0)

Defines the color black in RGB used in logos.

constants.BLUE = (0, 0, 128)

Defines the color blue in RGB used in logos.

constants.EXTENDED_ALPHABET = ['A', 'C', 'G', 'T', 'N', 'M', 'K']

Defines the extended nucleotide alphabet.

constants.GREEN = (0, 100, 0)

Defines the color green in RGB used in logos.

constants.LOGO_TYPE

Defines the two kinds of logos.

alias of Enum

constants.RED = (178, 34, 34)

Defines the color red in RGB used in logos.

constants.TFFM_KIND

Defines the three kinds of TFFMs (1st-order, detailed, 0-order).

alias of Enum

constants.WHITE = (255, 255, 255)

Defines the color white in RGB used in logos.

constants.YELLOW = (255, 165, 0)

Defines the color yellow in RGB used in logos.

constants.enum(**enums)[source]

Create an enumerated type.

Module author: Anthony Mathelier <amathelier@cmmt.ubc.ca>

Previous topic

utils Module

Next topic

exceptions_errors Module

This Page