COMPLEMENTS
COMPLEMENTS = []
Complement of each symbol of the alphabet, overridden by each concrete class.
Holds what DNA and RNA have in common : a complement table covering the IUPAC degenerated symbols, and the GC content.
Class AbstractNucleicSequence
__construct(string $sSequence) : mixed
AbstractMolecularSequence constructor.
Whitespace is stripped and the remaining symbols are upper-cased before validation, so raw lines coming from a GenBank, EMBL or FASTA file can be wrapped as they are read.
| string | $sSequence | The raw sequence string |
When a symbol does not belong to the alphabet
subSequence(int $iStart, int|null $iLength = null) : static
Extracts a portion of the sequence, keeping the same kind of value object.
| int | $iStart | Zero-based position of the first symbol |
| int|null | $iLength | Number of symbols, until the end when omitted |