STOP
STOP = "*"
The symbol marking the end of the translation.
Accepts the twenty amino acids in single-letter format, plus the two symbols already handled by SequenceManager::charge() and SequenceManager::chemicalGroup() : X for an unknown residue and the asterisk for a stop codon.
Class AminoAcidSequence
truncateAtStop() : \Amelaye\BioPHP\Domain\Sequence\ValueObject\AminoAcidSequence
Returns the residues preceding the first stop codon, the whole chain when there is none.
__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 |