public class CDSSequence extends DNASequence
TranscriptSequence
where a TranscriptSequence is the child of a GeneSequence
Not important for protein construction but the phase is used if outputting the gene
to a gff3 file. http://www.sequenceontology.org/gff3.shtml
DNASequence.DNAType
AbstractSequence.AnnotationType
Constructor and Description |
---|
CDSSequence(TranscriptSequence parentSequence,
int bioBegin,
int bioEnd,
int phase) |
Modifier and Type | Method and Description |
---|---|
String |
getCodingSequence()
A CDS sequence if negative stranded needs to be reverse complement
to represent the actual coding sequence.
|
int |
getLength()
Returns the length of the Sequence
|
Integer |
getPhase() |
Strand |
getStrand() |
getComplement, getDNAType, getGCCount, getReverse, getReverseComplement, getRNASequence, getRNASequence, getRNASequence, getRNASequence, main, setDNAType
addFeature, addFeature, addNote, countCompounds, equals, getAccession, getAnnotationType, getAsList, getBioBegin, getBioEnd, getComments, getCompoundAt, getCompoundSet, getDatabaseReferences, getDescription, getFeatureRetriever, getFeatures, getFeatures, getFeatures, getFeaturesByType, getFeaturesKeyWord, getIndexOf, getInverse, getLastIndexOf, getNotesList, getOriginalHeader, getParentSequence, getProxySequenceReader, getReferences, getSequenceAsString, getSequenceAsString, getSequenceScore, getSource, getSubSequence, getTaxonomy, getUserCollection, hashCode, iterator, removeFeature, removeNote, setAccession, setAnnotationType, setBioBegin, setBioEnd, setComments, setCompoundSet, setDatabaseReferences, setDescription, setFeatureRetriever, setFeaturesKeyWord, setNotesList, setOriginalHeader, setParentSequence, setProxySequenceReader, setReferences, setSequenceScore, setSource, setTaxonomy, setUserCollection, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public CDSSequence(TranscriptSequence parentSequence, int bioBegin, int bioEnd, int phase)
parentSequence
- bioBegin
- bioEnd
- phase
- public int getLength()
Sequence
getLength
in interface Sequence<NucleotideCompound>
getLength
in class AbstractSequence<NucleotideCompound>
public String getCodingSequence()
http://www.sequenceontology.org/gff3.shtml
http://biowiki.org/~yam/bioe131/GFF.ppt
Copyright © 2000–2018 BioJava. All rights reserved.