$entryName
$entryName : string
Class ParsePrositeManager A PROSITE entry describes a motif (pattern, or matrix/profile), not an annotated sequence, so - like ParsePdbManager - this class does not reuse the Sequence/Feature entities of ParseDbAbstractManager. It uses the same 2-char-tag/3-space layout as EMBL and Swiss-Prot, so multi-line fields are read with the same lookahead approach as ParseEmblManager. The MA (matrix) field, which Legacy/motif.inc.php itself only half-implemented (buggy 3-level nesting), is kept as a raw string here rather than ported as-is.
$dbRefs : \Amelaye\BioPHP\Domain\Parser\Interfaces\PrositeDbRefInterface[]
parseDataFile(array $aFlines) : \Amelaye\BioPHP\Domain\Sequence\Entity\Sequence
Parses a PROSITE data file and populates this manager's fields.
| array | $aFlines | The lines the script has to parse |
$oSequence
accumulate(\ArrayIterator $aLines, array $aFlines, string $sTag, string $sJoiner) : string
Accumulates a multi-line field: the current line's data, plus every following line still tagged $sTag, joined with $sJoiner. Advances $aLines past what it reads.
| \ArrayIterator | $aLines | |
| array | $aFlines | |
| string | $sTag | |
| string | $sJoiner |
parseDbRefs(string $sText) : \Amelaye\BioPHP\Domain\Parser\Interfaces\PrositeDbRefInterface[]
Turns the DR field into a list of PrositeDbRef.
Format : DR ACCESSION, ENTRY_NAME, T|F|N; ACCESSION, ENTRY_NAME, T|F|N; ...
| string | $sText |