$accession
$accession : array
Class ParseGenbankManager
$sequence : \Amelaye\BioPHP\Domain\Sequence\Entity\Sequence
$srcForm : \Amelaye\BioPHP\Domain\Sequence\Entity\SrcForm
$gbSequence : \Amelaye\BioPHP\Domain\Sequence\Entity\GbSequence
parseDataFile(array $aFlines) : \Amelaye\BioPHP\Domain\Sequence\Entity\Sequence
Parses a GenBank data file and returns a Seq object containing parsed data.
| array | $aFlines | The lines the script has to parse |
$oSequence
parseLocationBounds(string $sLocation) : array
Parses an INSDC feature location (shared by GenBank and EMBL) into its outer bounds and strand. Strips the complement()/join() wrappers and the "<"/">" fuzzy-boundary markers.
For a join() of several comma-separated segments (a spliced feature), Feature has no room to keep each exon separately, so this returns the lowest start and the highest end across every segment.
| string | $sLocation | The raw location text, e.g. "complement(join(<1..10,50..>60))". |
[$iFrom, $iTo, $sStrand] - $sStrand is "-" when the location was wrapped in complement(...), "+" otherwise.