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, getAccession, getAnnotationType, getAsList, getBioBegin, getBioEnd, getCompoundAt, getCompoundSet, getDatabaseReferences, getDescription, getFeatureRetriever, getFeatures, getFeatures, getFeatures, getFeaturesByType, getFeaturesKeyWord, getIndexOf, getInverse, getLastIndexOf, getNotesList, getOriginalHeader, getParentSequence, getProxySequenceReader, getSequenceAsString, getSequenceAsString, getSequenceScore, getSource, getSubSequence, getTaxonomy, getUserCollection, iterator, removeFeature, removeNote, setAccession, setAnnotationType, setBioBegin, setBioEnd, setCompoundSet, setDatabaseReferences, setDescription, setFeatureRetriever, setFeaturesKeyWord, setNotesList, setOriginalHeader, setParentSequence, setProxySequenceReader, setSequenceScore, setSource, setTaxonomy, setUserCollection, toString
clone, equals, finalize, getClass, hashCode, 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 Integer getPhase()
public Strand getStrand()
public String getCodingSequence()
http://www.sequenceontology.org/gff3.shtml
http://biowiki.org/~yam/bioe131/GFF.ppt
Copyright © 2000–2016 BioJava. All rights reserved.