Package org.biojava3.core.sequence.io
Class ProteinSequenceCreator
java.lang.Object
org.biojava3.core.sequence.io.ProteinSequenceCreator
- All Implemented Interfaces:
SequenceCreatorInterface<AminoAcidCompound>
- Direct Known Subclasses:
CasePreservingProteinSequenceCreator
public class ProteinSequenceCreator
extends Object
implements SequenceCreatorInterface<AminoAcidCompound>
Used to create a ProteinSequence from a String to allow for details about the location of the
sequence etc.
- Author:
- Scooter Willis
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSequence
(String sequence, long index) getSequence
(List<AminoAcidCompound> list) getSequence
(ProxySequenceReader<AminoAcidCompound> proxyLoader, long index)
-
Constructor Details
-
ProteinSequenceCreator
- Parameters:
compoundSet
-
-
-
Method Details
-
getSequence
- Specified by:
getSequence
in interfaceSequenceCreatorInterface<AminoAcidCompound>
- Parameters:
sequence
-index
- not used in this implementation- Returns:
-
getSequence
- Specified by:
getSequence
in interfaceSequenceCreatorInterface<AminoAcidCompound>
- Parameters:
list
-- Returns:
-
getSequence
public AbstractSequence<AminoAcidCompound> getSequence(ProxySequenceReader<AminoAcidCompound> proxyLoader, long index) - Specified by:
getSequence
in interfaceSequenceCreatorInterface<AminoAcidCompound>
- Parameters:
proxyLoader
-index
- not used in this implementation- Returns:
-