Constructor and Description |
---|
NucleotideSequenceImpl(String aSequence)
This constructor allows the construction of an Object,
wrapping a nucleotidesequence.
|
NucleotideSequenceImpl(String aSequence,
Properties aCodonUsageTable)
This constructor allows the construction of an Object,
wrapping a nucleotidesequence.
|
NucleotideSequenceImpl(String aSequence,
String aCodonUsageTable)
This constructor allows the construction of an Object,
wrapping a nucleotidesequence.
|
Modifier and Type | Method and Description |
---|---|
int |
getLength()
This method reports on the length of the current sequence.
|
double |
getMass()
This method will return the mass for the sequence.
|
String |
getReverseComplementary()
This method returns the reverse complementary strand for the
sequence.
|
String |
getSequence()
This method will retrieve the sequence.
|
void |
setSequence(String aSequence)
This method will set the sequence.
|
AASequenceImpl[] |
translate()
This method translates the specified nucleotidesequence into
the six reading frames.
|
Vector |
translateToStopCodonSeparatedEntries(String aDatabaseIdentifier,
String aShortOrganism)
This method translates the specified nucleotidesequence into
the six reading frames.
|
public NucleotideSequenceImpl(String aSequence)
aSequence
- String with the nucleotide sequence.public NucleotideSequenceImpl(String aSequence, Properties aCodonUsageTable)
aSequence
- String with the nucleotide sequence.aCodonUsageTable
- Properties instance with the codon usage table
(triplet is key, single-letter amino acid is value).public NucleotideSequenceImpl(String aSequence, String aCodonUsageTable)
aSequence
- String with the nucleotide sequence.aCodonUsageTable
- Properties instance with the codon usage table
(triplet is key, single-letter amino acid is value).public void setSequence(String aSequence)
setSequence
in interface Sequence
aSequence
- String with the sequence.public int getLength()
public double getMass()
public String getSequence()
getSequence
in interface Sequence
public AASequenceImpl[] translate()
public Vector translateToStopCodonSeparatedEntries(String aDatabaseIdentifier, String aShortOrganism)
aDatabaseIdentifier
- String to include the database origin in the protein entry annotation.aShortOrganism
- String to include the organism origin in the protein entry annotation.public String getReverseComplementary()
Copyright © 2016. All rights reserved.