Class RNASequenceCreator
- java.lang.Object
-
- org.biojava.nbio.core.sequence.io.RNASequenceCreator
-
- All Implemented Interfaces:
SequenceCreatorInterface<NucleotideCompound>
public class RNASequenceCreator extends Object implements SequenceCreatorInterface<NucleotideCompound>
Used to create a RNA sequence- Author:
- Scooter Willis
-
-
Constructor Summary
Constructors Constructor Description RNASequenceCreator(CompoundSet<NucleotideCompound> compoundSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractSequence<NucleotideCompound>
getSequence(String sequence, long index)
AbstractSequence<NucleotideCompound>
getSequence(List<NucleotideCompound> list)
AbstractSequence<NucleotideCompound>
getSequence(ProxySequenceReader<NucleotideCompound> proxyLoader, long index)
-
-
-
Constructor Detail
-
RNASequenceCreator
public RNASequenceCreator(CompoundSet<NucleotideCompound> compoundSet)
- Parameters:
compoundSet
-
-
-
Method Detail
-
getSequence
public AbstractSequence<NucleotideCompound> getSequence(String sequence, long index) throws CompoundNotFoundException
- Specified by:
getSequence
in interfaceSequenceCreatorInterface<NucleotideCompound>
- Parameters:
sequence
-index
-- Returns:
- Throws:
CompoundNotFoundException
-
getSequence
public AbstractSequence<NucleotideCompound> getSequence(ProxySequenceReader<NucleotideCompound> proxyLoader, long index)
- Specified by:
getSequence
in interfaceSequenceCreatorInterface<NucleotideCompound>
- Parameters:
proxyLoader
-index
-- Returns:
-
getSequence
public AbstractSequence<NucleotideCompound> getSequence(List<NucleotideCompound> list)
- Specified by:
getSequence
in interfaceSequenceCreatorInterface<NucleotideCompound>
- Parameters:
list
-- Returns:
-
-