Package org.biojava.nbio.alignment.io
Class StockholmFileAnnotation
java.lang.Object
org.biojava.nbio.alignment.io.StockholmFileAnnotation
Stores all the content parsed from the #=GF lines
- Since:
- 3.0.5
- Author:
- Amr AL-Hossary, Marko Vaz
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDBReference
(String dbReferenceRepresentingString) void
addGFBuildMethod
(String buildMethod) void
addGFFalseDiscoveryRate
(String falseDiscoveryRate) void
addGFNewHampshire
(String newHampshire) void
addGFTreeID
(String treeID) void
addToGFComment
(String comment) String[]
getClan()
float
float[]
Not always 2.
It may undergo further change.float[]
Not always 2.
It may undergo further change.int
String[]
float[]
Not always 2.
It may undergo further change.boolean
isPFam()
boolean
isRFam()
void
setAlignmentMethod
(String alignmentMethod) void
setDbComment
(String dbComment) void
setDbReferences
(Set<StockholmStructure.DatabaseReference> dbReferences) void
setFalseDiscoveryRate
(float falseDiscoveryRate) void
void
setGFAccessionNumber
(String accessionNumber) void
setGFAuthors
(String authors) void
void
setGFDBComment
(String dbComment) void
setGFDefinition
(String definition) void
setGFGatheringThreshs
(String gatheringThresh) void
setGFIdentification
(String identification) void
setGFKeywords
(String keywords) void
setGFLocation
(String location) void
setGFMembership
(String membership) void
setGFNoiseCutoffs
(String noiseCutoff) void
setGFNumSequences
(String numSequences) void
setGFPfamAccession
(String pfamAccession) void
setGFPreviousIDs
(String previousIDs) void
setGFRefComment
(String refComment) void
setGFSearchMethod
(String searchMethod) void
setGFSourceSeed
(String sourceSeed) void
setGFSourceStructure
(String sourceStructure) void
setGFTrustedCutoffs
(String trustedCutoff) void
setGFTypeField
(String typeField) void
setGFWikipediaLink
(String wikipediaLink) void
setNumSequences
(int numSequences) void
void
setVersion
(String version) float[]
stringToFloats
(String string)
-
Constructor Details
-
StockholmFileAnnotation
public StockholmFileAnnotation()
-
-
Method Details
-
getDbComment
-
setDbComment
-
getDbReferences
-
setDbReferences
-
addDBReference
- Parameters:
dbReference
- the string without the initial annotation identifier ( #=GS DR )
-
getFalseDiscoveryRate
public float getFalseDiscoveryRate() -
setFalseDiscoveryRate
public void setFalseDiscoveryRate(float falseDiscoveryRate) -
getRefComment
-
getKeywords
-
getComment
-
getPfamAccession
-
getLocation
-
getWikipediaLink
-
getClan
-
getMembership
-
getEmbTrees
-
setNumSequences
public void setNumSequences(int numSequences) -
getIdentification
-
setGFIdentification
-
getDefinition
-
setGFDefinition
-
getAuthors
-
setGFAuthors
-
getBuildMethod
-
addGFBuildMethod
-
getSearchMethod
-
setGFSearchMethod
-
getSourceSeed
-
setGFSourceSeed
-
getSourceStructure
-
setGFSourceStructure
-
getGatheringThreshs
public float[] getGatheringThreshs()Not always 2.
It may undergo further change.- Returns:
-
setGFGatheringThreshs
-
getNoiseCutoffs
public float[] getNoiseCutoffs()Not always 2.
It may undergo further change.- Returns:
-
setGFNoiseCutoffs
-
getTrustedCutoffs
public float[] getTrustedCutoffs()Not always 2.
It may undergo further change.- Returns:
-
setGFTrustedCutoffs
-
stringToFloats
-
getTypeField
-
setGFTypeField
-
getPreviousIDs
-
setGFPreviousIDs
-
getFormat
-
setFormat
-
getVersion
-
setVersion
-
getAccessionNumber
-
setGFAccessionNumber
-
isPFam
public boolean isPFam() -
isRFam
public boolean isRFam() -
getNumSequences
public int getNumSequences() -
setGFNumSequences
-
setGFDBComment
-
setGFRefComment
-
setGFKeywords
-
addToGFComment
-
setGFPfamAccession
-
setGFLocation
-
setGFWikipediaLink
-
setGFClan
-
setGFMembership
-
addGFNewHampshire
-
addGFTreeID
-
addGFFalseDiscoveryRate
-
getAlignmentMethod
-
setAlignmentMethod
-
getReferences
-
setReferences
public void setReferences(Vector<StockholmFileAnnotation.StockholmFileAnnotationReference> references)
-