BedFeatureWriter.php
Serializes PlasmidFeature instances into BED text Freely inspired by BioPHP's project biophp.org Created 30 September 2026 Last modified 6 October 2026
Table of Contents
Classes
- BedFeatureWriter
- The inverse of BedFeatureReader. PlasmidFeature's 1-based inclusive coordinates are converted back to BED's zero-based, half-open ones the same way the reader converted them in : chromStart = start - 1, chromEnd = end. An origin-crossing feature (start > end) has no BED representation - BedFeatureReader already rejects one coming in with a warning, and this writer rejects one going out by throwing, for the same reason GffFeatureWriter does.