LABEL_WIDTH
LABEL_WIDTH = 16
Width of the label column, the data starting right after it.
Class ParsePirManager A PIR entry qualifies most of its fields with "#key value" pairs, a pattern this class reads once and reuses everywhere. It exposes plain scalars rather than the Sequence/Feature entities of ParseDbAbstractManager.
getEntryId(array $aFlines, string $sLine) : string
Extracts the identifier uniquely naming a PIR entry, which is the entry name preceding the qualifiers.
Example: ENTRY RHTDTO #type complete
| array | $aFlines | The whole file, buffered |
| string | $sLine | The line opening the entry |
parseDataFile(array $aFlines) : \Amelaye\BioPHP\Domain\Sequence\Entity\Sequence
Parses a PIR data file and populates this manager's fields.
| array | $aFlines | The lines the script has to parse |
$oSequence