GenbankPlasmidMapper.php
Transforms an already-parsed circular GenBank record into a Plasmid Freely inspired by BioPHP's project biophp.org Created 30 September 2026 Last modified 9 October 2026
Table of Contents
Classes
- GenbankPlasmidMapper
- `ParseGenbankManager` emits one `Feature` row per `/qualifier=value` line, several rows sharing the same key/coordinates/strand for a single GenBank feature ; this class groups them back into one PlasmidFeature each. Coordinates from `Feature::getFtFrom()/getFtTo()` are already 1-based inclusive, GenBank's own convention, and a single-segment `complement(4900..100)` wrap already comes through as `from > to`, matching PlasmidFeature's own origin-crossing convention : both pass straight through with no conversion.