Package org.biojava3.core.sequence.io
Class DNASequenceCreator
java.lang.Object
org.biojava3.core.sequence.io.DNASequenceCreator
- All Implemented Interfaces:
SequenceCreatorInterface<NucleotideCompound>
public class DNASequenceCreator
extends Object
implements SequenceCreatorInterface<NucleotideCompound>
A helper class that allows different ways to read a string and create a DNA sequence. Used in
FastaReaderHelper and probably a layer that isn't needed
- Author:
- Scooter Willis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSequence(String sequence, long index) getSequence(List<NucleotideCompound> list) getSequence(ProxySequenceReader<NucleotideCompound> proxyLoader, long index)
-
Constructor Details
-
DNASequenceCreator
- Parameters:
compoundSet-
-
-
Method Details
-
getSequence
- Specified by:
getSequencein interfaceSequenceCreatorInterface<NucleotideCompound>- Parameters:
sequence- The Sequence from a Stringindex- Currently not used- Returns:
-
getSequence
public AbstractSequence<NucleotideCompound> getSequence(ProxySequenceReader<NucleotideCompound> proxyLoader, long index) - Specified by:
getSequencein interfaceSequenceCreatorInterface<NucleotideCompound>- Parameters:
proxyLoader- The Sequence from a ProxySequenceReaderindex- Currently not used- Returns:
-
getSequence
- Specified by:
getSequencein interfaceSequenceCreatorInterface<NucleotideCompound>- Parameters:
list-- Returns:
-