public interface GFFRecord
This object has fields for each GFF field. It also defines a couple of useful constants.
GFF is described at http://www.sanger.ac.uk/Software/formats/GFF/
Modifier and Type | Field and Description |
---|---|
static Comparator |
NATURAL_ORDER
Comparator which defines a useful sort order for GFF records.
|
static int |
NO_FRAME
Deprecated.
Use GFFTools.NO_FRAME instead
|
static double |
NO_SCORE
Deprecated.
Use GFFTools.NO_SCORE instead
|
Modifier and Type | Method and Description |
---|---|
String |
getComment()
The feature comment.
|
int |
getEnd()
The end of this feature within the source sequence.
|
String |
getFeature()
The feature type filed.
|
int |
getFrame()
The frame of the feature.
|
Map |
getGroupAttributes()
A Map containing the group / attribute information.
|
double |
getScore()
The score of the feature.
|
String |
getSeqName()
The sequence name field.
|
String |
getSource()
The source, or creator of this feature.
|
int |
getStart()
The start of this feature within the source sequence.
|
StrandedFeature.Strand |
getStrand()
The strand of the feature.
|
static final double NO_SCORE
static final int NO_FRAME
static final Comparator NATURAL_ORDER
Two records are equal iff their GFF lines are character-for-character identical.
String getSeqName()
This should be the name of the sequence that this GFF record is within.
String getSource()
This is usualy a program name.
String getFeature()
This is something like "exon" - usualy corresponds to an EMBL term.
int getStart()
int getEnd()
double getScore()
For sequences that have no score, this will be set to GFFRecord.NO_SCORE.
StrandedFeature.Strand getStrand()
This will be one of GFFRecord.POSITIVE_STRAND, GFFRecord.NEGATIVE_STRAND, or GFFRecord.NO_STRAND.
int getFrame()
This will be one of {1, 2, 3}
or
GFFRecord.NO_FRAME.
Map getGroupAttributes()
This will be a Map of group-names to List objects.
String getComment()
Copyright © 2014 BioJava. All rights reserved.