|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.biojava.bio.program.gff.SequencesAsGFF
Turns a sequence database into a GFF event stream.
Constructor Summary | |
SequencesAsGFF()
|
Method Summary | |
protected void |
doProcessSequence(Sequence seq,
GFFDocumentHandler handler,
java.lang.String id)
Internal method to process an individual Sequence. |
FeatureFilter |
getFeatureFilter()
Return the current FeatureFilter. |
boolean |
getRecurse()
Return whether features will be filtered recursively or not. |
void |
processDB(SequenceDB seqDB,
GFFDocumentHandler handler)
Process all Sequences within a SequenceDB, informing handler of any suitable features. |
void |
processSequence(Sequence seq,
GFFDocumentHandler handler)
Process an individual Sequence, informing handler of any suitable features. |
void |
setFeatureFilter(FeatureFilter filter)
Replace the current FeatureFilter with filter. |
void |
setRecurse(boolean recurse)
Set whether features will be filtered recursively to recurse. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public SequencesAsGFF()
Method Detail |
public FeatureFilter getFeatureFilter()
This is the object that will accept or reject individual features.
public void setFeatureFilter(FeatureFilter filter)
filter
- the new FeatureFilterpublic boolean getRecurse()
public void setRecurse(boolean recurse)
recurse
- true if you want to recurse,
false otherwiseprotected void doProcessSequence(Sequence seq, GFFDocumentHandler handler, java.lang.String id) throws BioException, BioException
seq
- the Sequence to GFFifyhandler
- the GFFDocumentHandler that will
receive the GFF for all suitable features within
seqid
- the value of the seqName field in any
GFFRecords producedpublic void processSequence(Sequence seq, GFFDocumentHandler handler) throws BioException, BioException
seq
- the Sequence to GFFifyhandler
- the GFFDocumentHandler that will
receive the GFF for all suitable features within
seqpublic void processDB(SequenceDB seqDB, GFFDocumentHandler handler) throws BioException, BioException
seqDB
- the SequenceDB to GFFifyhandler
- the GFFDocumentHandler that will
receive the GFF for all suitable features within
seqDB
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |