Package org.biojava.nbio.core.sequence
Class ExonSequence
- java.lang.Object
- 
- org.biojava.nbio.core.sequence.template.AbstractSequence<NucleotideCompound>
- 
- org.biojava.nbio.core.sequence.DNASequence
- 
- org.biojava.nbio.core.sequence.ExonSequence
 
 
 
- 
- All Implemented Interfaces:
- Iterable<NucleotideCompound>,- Accessioned,- Sequence<NucleotideCompound>
 
 public class ExonSequence extends DNASequence A gene contains a collection of Exon sequences- Author:
- Scooter Willis
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.biojava.nbio.core.sequence.DNASequenceDNASequence.DNAType
 - 
Nested classes/interfaces inherited from class org.biojava.nbio.core.sequence.template.AbstractSequenceAbstractSequence.AnnotationType
 
- 
 - 
Constructor SummaryConstructors Constructor Description ExonSequence(GeneSequence parentGeneSequence, int bioBegin, int bioEnd)Need a parent gene sequence and the bioBegin and bioEnd.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLength()Returns the length of the Sequence- 
Methods inherited from class org.biojava.nbio.core.sequence.DNASequencegetComplement, getDNAType, getGCCount, getReverse, getReverseComplement, getRNASequence, getRNASequence, getRNASequence, getRNASequence, main, setDNAType
 - 
Methods inherited from class org.biojava.nbio.core.sequence.template.AbstractSequenceaddFeature, 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
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface java.lang.IterableforEach, spliterator
 
- 
 
- 
- 
- 
Constructor Detail- 
ExonSequencepublic ExonSequence(GeneSequence parentGeneSequence, int bioBegin, int bioEnd) Need a parent gene sequence and the bioBegin and bioEnd. An Exon sequence doesn't actually imply what the protein coding sequence will be. This is a little difficult to model and have it make sense. A gene has a collection of Exon and Intron sequences where the Exon sequences will join up. A gene sequences has a collection of different possible isoform proteins based on the transcription rules. A TranscriptionSequence will contain CDSSequence where the CDSSequence will be contained in the ExonSequence. Thus a ExonSequence is the union of overlapping CDSSequences.- Parameters:
- parentGeneSequence-
- bioBegin-
- bioEnd-
 
 
- 
 - 
Method Detail- 
getLengthpublic int getLength() Description copied from interface:SequenceReturns the length of the Sequence- Specified by:
- getLengthin interface- Sequence<NucleotideCompound>
- Overrides:
- getLengthin class- AbstractSequence<NucleotideCompound>
 
 
- 
 
-