dinopy.exceptions¶
- exception dinopy.exceptions.ChromosomeFormatError[source]¶
Bases:
ValueError
Raised if a wrong format for a chromosome_info item is encountered by FastaWriter.
- exception dinopy.exceptions.InvalidDtypeError[source]¶
Bases:
ValueError
Exception raised for invalid dtypes.
Normally dtype should be on of:
str
bytes
bytearray
dinopy.basenumbers
For details please see Note about dtype.
- exception dinopy.exceptions.InvalidEncodingError[source]¶
Bases:
ValueError
Exception raised for invalid encoding type.
Encoding should be one of:
dinopy.two_bit
dinopy.four_bit
For details please see Note about dtype.
- exception dinopy.exceptions.InvalidIUPACAmbiguityCodeError(key_error)[source]¶
Bases:
KeyError
Indicated that a sequence contains a key-code which is not part of the set {A, C, G, T, …, N}
- exception dinopy.exceptions.InvalidLinetypeError[source]¶
Bases:
ValueError
Raised by FastqReader when a line cannot be typed as name, sequence, plus or quality values.
- exception dinopy.exceptions.InvalidStartingCharacterError[source]¶
Bases:
ValueError
Raised by Shape, if the shape string doesn’t start with a valid character.
- exception dinopy.exceptions.MalformedFASTAError[source]¶
Bases:
OSError
Exception raised for invalid FASTA files.