Class TwoBitSequenceReader<C extends NucleotideCompound>
java.lang.Object
org.biojava3.core.sequence.storage.BitSequenceReader<C>
org.biojava3.core.sequence.storage.TwoBitSequenceReader<C>
- All Implemented Interfaces:
Iterable<C>
,Accessioned
,ProxySequenceReader<C>
,Sequence<C>
,SequenceReader<C>
Implementation of the 2bit encoding. This will default to the following encodings:
- 0 - T
- 1 - C
- 2 - A
- 3 - G
- Author:
- ayates
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Extension of the BitArrayWorker which provides the 2bit implementation code.Nested classes/interfaces inherited from class org.biojava3.core.sequence.storage.BitSequenceReader
BitSequenceReader.BitArrayWorker<C extends Compound>
-
Constructor Summary
ConstructorDescriptionTwoBitSequenceReader
(String sequence, CompoundSet<C> compoundSet) TwoBitSequenceReader
(String sequence, CompoundSet<C> compoundSet, AccessionID accession) TwoBitSequenceReader
(TwoBitSequenceReader.TwoBitArrayWorker<C> worker, AccessionID accession) TwoBitSequenceReader
(Sequence<C> sequence) -
Method Summary
Methods inherited from class org.biojava3.core.sequence.storage.BitSequenceReader
countCompounds, equals, getAccession, getAsList, getCompoundAt, getCompoundSet, getIndexOf, getInverse, getLastIndexOf, getLength, getSequenceAsString, getSubSequence, getSubSequence, hashCode, iterator, setCompoundSet, setContents
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TwoBitSequenceReader
-
TwoBitSequenceReader
-
TwoBitSequenceReader
-
TwoBitSequenceReader
-
TwoBitSequenceReader
public TwoBitSequenceReader(TwoBitSequenceReader.TwoBitArrayWorker<C> worker, AccessionID accession)
-