Constructor and Description |
---|
NucleotideSequenceImpl(java.lang.String aSequence)
This constructor allows the construction of an Object,
wrapping a nucleotidesequence.
|
NucleotideSequenceImpl(java.lang.String aSequence,
java.util.Properties aCodonUsageTable)
This constructor allows the construction of an Object,
wrapping a nucleotidesequence.
|
NucleotideSequenceImpl(java.lang.String aSequence,
java.lang.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.
|
java.lang.String |
getReverseComplementary()
This method returns the reverse complementary strand for the
sequence.
|
java.lang.String |
getSequence()
This method will retrieve the sequence.
|
void |
setSequence(java.lang.String aSequence)
This method will set the sequence.
|
AASequenceImpl[] |
translate()
This method translates the specified nucleotidesequence into
the six reading frames.
|
java.util.Vector |
translateToStopCodonSeparatedEntries(java.lang.String aDatabaseIdentifier,
java.lang.String aShortOrganism)
This method translates the specified nucleotidesequence into
the six reading frames.
|
public NucleotideSequenceImpl(java.lang.String aSequence)
aSequence
- String with the nucleotide sequence.public NucleotideSequenceImpl(java.lang.String aSequence, java.util.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(java.lang.String aSequence, java.lang.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(java.lang.String aSequence)
setSequence
in interface Sequence
aSequence
- String with the sequence.public int getLength()
public double getMass()
public java.lang.String getSequence()
getSequence
in interface Sequence
public AASequenceImpl[] translate()
public java.util.Vector translateToStopCodonSeparatedEntries(java.lang.String aDatabaseIdentifier, java.lang.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 java.lang.String getReverseComplementary()
Copyright © 2013. All Rights Reserved.