public class GeneIDGFF2Reader extends Object
seqname source featureType start end score strand frame attributesThe 9th field consists of key-value pairs separated by semicolons, the first of which JavaGene interprets as the group id (as used in GFF1). It is the precise meaning of this 9th field that varies from week to week. The Feature and FeatureList objects provide various utility methods to ease the task of accessing and using the attributes. The proper interpretation of any particular attribute, however, is left to you.
Constructor and Description |
---|
GeneIDGFF2Reader() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
static FeatureList |
read(String filename)
Read a file into a FeatureList.
|
static void |
write(FeatureList features,
String filename)
Write features in FeatureList to file.
|
public static FeatureList read(String filename) throws IOException
filename
- The path to the GFF file.IOException
- Something went wrong -- check exception detail message.public static void write(FeatureList features, String filename) throws IOException
features
- The list of features to write.filename
- The path to the file.IOException
- Something went wrong -- check exception detail message.Copyright © 2000–2016 BioJava. All rights reserved.