Documentation

GffFeatureWriterInterface

Interface GffFeatureWriterInterface - the inverse of GffFeatureReaderInterface : serializes PlasmidFeature instances into GFF3 text.

Tags
author

Amélie DUVERNET aka Amelaye amelieonline@gmail.com

Table of Contents

Methods

write()  : string

Methods

write()

public write(string $sSeqId, array<string|int, PlasmidFeature> $aFeatures[, int|null $iSequenceLength = null ]) : string
Parameters
$sSeqId : string

The GFF3 "seqid" column (e.g. the plasmid's name)

$aFeatures : array<string|int, PlasmidFeature>
$iSequenceLength : int|null = null

Length of the circular molecule the features lie on ; required to write an origin-crossing feature, which GFF3 encodes as end + this length on a landmark flagged Is_circular=true

Return values
string —

A complete GFF3 document, "##gff-version 3" pragma included

On this page

Search results