Documentation

BedFeatureWriter implements BedFeatureWriterInterface

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.

Class BedFeatureWriter

Tags
author

Amélie DUVERNET aka Amelaye amelieonline@gmail.com

Table of Contents

Interfaces

BedFeatureWriterInterface
Interface BedFeatureWriterInterface - the inverse of BedFeatureReaderInterface : serializes PlasmidFeature instances into BED text.

Methods

write()  : string
writeFeatureLine()  : string

Methods

On this page

Search results