Class QualityFeature<S extends AbstractSequence<C>,C extends Compound>
java.lang.Object
org.biojava.nbio.core.sequence.features.AbstractFeature<S,C>
org.biojava.nbio.core.sequence.features.QualityFeature<S,C>
- All Implemented Interfaces:
FeatureInterface<S,
C>
public class QualityFeature<S extends AbstractSequence<C>,C extends Compound>
extends AbstractFeature<S,C>
DNA Sequences produced by modern sequencers usually have quality informaion
attached to them. This feature allows to store the information directly in
the DNASequence
- Since:
- 3.0.3
- Author:
- brandstaetter
-
Field Summary
Fields inherited from class org.biojava.nbio.core.sequence.features.AbstractFeature
LENGTH, LOCATION_LENGTH, TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetQualities
(int biostart, int bioend) getQualityAt
(int bioindex) void
setQualities
(List<Number> qualities) Methods inherited from class org.biojava.nbio.core.sequence.features.AbstractFeature
addQualifier, getChildrenFeatures, getDescription, getLocations, getParentFeature, getQualifiers, getShortDescription, getSource, getType, getUserObject, setChildrenFeatures, setDescription, setLocation, setParentFeature, setQualifiers, setShortDescription, setSource, setType, setUserObject
-
Constructor Details
-
QualityFeature
- Parameters:
type
-source
-
-
-
Method Details
-
getQualities
- Returns:
- the qualities
-
setQualities
- Parameters:
qualities
- the qualities to set
-
getQualityAt
- Parameters:
bioindex
- the biological index (starts with 1)- Returns:
- the quality value at the given biological index (starts with 1)
-
getQualities
- Parameters:
biostart
- biological start index (starts with 1)bioend
- biological end index (starts with 1)- Returns:
- a sublist of the qualities between the given biological indices
-