LABEL_WIDTH
LABEL_WIDTH = 16
Width of the label column, the data starting right after it.
Class ParsePmdManager A PMD entry describes a mutation reported in the literature, not a sequence, so this class exposes plain scalars rather than the Sequence/Feature entities of ParseDbAbstractManager.
The CHANGE, DISEASE and DBREF fields are left aside : their layout was never settled, and the original BioPHP parser declared them without ever filling them.
getEntryId(array $aFlines, string $sLine) : string
Extracts the identifier uniquely naming a PMD entry, which is the entry type followed by its number.
Example: ENTRY A000300 - Artificial 2607383
| array | $aFlines | The whole file, buffered |
| string | $sLine | The line opening the entry |
parseDataFile(array $aFlines) : \Amelaye\BioPHP\Domain\Sequence\Entity\Sequence
Parses a PMD data file and populates this manager's fields.
| array | $aFlines | The lines the script has to parse |
$oSequence