Class Gff
Complete GFF file
Constructors
Name | Description |
this
()
|
Empty GFF
|
this
(data)
|
Create a Gff by parsing the binary format
|
this
(file)
|
Create a Gff by parsing a file in binary format
|
this
(path)
|
|
this
(json)
|
Create a Gff by parsing JSON
|
Properties
Name | Type | Description |
fileType [get, set]
|
string | GFF type name stored in the GFF file
Max width: 4 chars
|
fileVersion [get, set]
|
string | GFF version stored in the GFF file. Usually "V3.2"
Max width: 4 chars
|
Methods
Name | Description |
serialize
()
|
Convert to binary format
|
toJson
(structAsList)
|
Convert to JSON
|
toPrettyString
()
|
Converts the GFF into a user-friendly string
|