|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectapollo.datamodel.Range
apollo.datamodel.SeqFeature
apollo.datamodel.FeatureSet
apollo.datamodel.AnnotatedFeature
apollo.datamodel.Transcript
public class Transcript
| Field Summary | |
|---|---|
protected SequenceI |
cDNA
|
protected static org.apache.log4j.Logger |
logger
|
protected SequenceI |
peptide
|
static java.lang.String |
TRANSCRIPT_TYPE
|
| Fields inherited from class apollo.datamodel.AnnotatedFeature |
|---|
annotationRoot, owner |
| Fields inherited from class apollo.datamodel.FeatureSet |
|---|
features, flags, genericReadThroughStopResidue, hitSequence, minus1_frameshift, missing_3prime, missing_5prime, plus1_frameshift, POLYA_REMOVED, readthrough_stop, standard_start_codon, start_codon, trans_spliced |
| Fields inherited from class apollo.datamodel.SeqFeature |
|---|
biotype, edit_offset_adjust, id, phase, properties, ref_features, refFeature, refId, score, scores |
| Fields inherited from class apollo.datamodel.Range |
|---|
high, low, name, refSeq, strand, type |
| Fields inherited from interface apollo.datamodel.RangeI |
|---|
NO_NAME, NO_TYPE |
| Constructor Summary | |
|---|---|
Transcript()
|
|
Transcript(FeatureSetI fs)
|
|
| Method Summary | |
|---|---|
void |
addExon(ExonI exon)
If exon overlaps with other exons then it merges them, otherwise adds exon to transcript |
void |
addFeature(SeqFeatureI feature)
Add feature to end of features list, recalc low and high |
void |
deleteExon(ExonI exon)
|
java.lang.String |
get_cDNA()
Calls FeatureSet.get_cDNA which appends exon sequence (with getSplicedTranscript) where the actual sequence is retrieved from the ref sequence. |
SequenceI |
get_cDNASequence()
by default return null - overridden by Transcript subclass |
ExonI |
getExonAt(int i)
|
java.util.Vector |
getExons()
|
AnnotatedFeatureI |
getGene()
|
int |
getNonConsensusAcceptorNum()
This returns the exon index of the non-consensus acceptor (if any), or -1 if there aren't any non-consensus acceptors. |
int |
getNonConsensusDonorNum()
Returns transcript exon number with non consensus donor. |
SequenceI |
getPeptideSequence()
creates peptide sequence if dont have one && prot coding gene - also if pep is invalid retranslates |
boolean |
getPeptideValidity()
|
Protein |
getProteinFeat()
first cut - eventually grow into full fledged protein feat that has a pep seq - which will replace Transcripts peptide Seq probably will require a Protein class. |
java.lang.String |
getTopLevelType()
Transcript has the same biotype as its gene |
boolean |
hasPeptideSequence()
If we have a translation start(nonzero) we have a peptide seq do i have this right? translate may still return null if we have start but no transcript sequence(if theres no sequence for the entry). |
boolean |
hasProteinFeat()
|
boolean |
haveWholeSequence()
Returns true if transcript is hanging off the bounds of the entry Does this belong in FeatureSet? Or even SeqFeature? Delete this - replaced by isContainedByRefSeq |
boolean |
isProteinCodingGene()
This is the isProteinCodingGene method that really matters--the ones in other classes aren't really used. |
boolean |
isTranscript()
Returns true becuase we have a transcript - its ourself. |
boolean |
nonConsensusSplicingOkay()
Return true if non consensus splicing has been deemed ok. |
void |
nonConsensusSplicingOkay(boolean okay)
Set whether its ok to have non-consensus splice site - no-op overridden by Transcript |
void |
set_cDNASequence(SequenceI cDNA)
|
void |
setPeptideSequence(SequenceI pep)
|
void |
setPeptideValidity(boolean validity)
I think the idea here is if validity is false its saying the peptide is no longer valid and a new translation needs to be calculated - this is now part of TranslationI - move this method to FeatureSet? (cdna? peptide?) |
void |
sortExons()
|
void |
sortTransSpliced()
|
java.lang.String |
toString()
For debugging |
java.lang.String |
translate()
Creates SequenceI peptide if doesnt exist already - if translation is null or "" peptide will not be created - should it anyways? |
| Methods inherited from class apollo.datamodel.AnnotatedFeature |
|---|
accept, addComment, addComment, addEvidence, addEvidence, addEvidence, addEvidence, addSynonym, addSynonym, addSynonym, clearComments, clearSynonyms, clone, cloneAnnot, deleteComment, deleteComment, deleteEvidence, deleteSynonym, deleteSynonym, getAnnotatedFeature, getAnnotChild, getCommentIndex, getComments, getDescription, getEvidence, getEvidenceFinder, getOwner, getSynonym, getSynonyms, getSynonyms, getSynonymSize, hasAnnotatedFeature, hasSynonym, isAnnotTop, isFinished, isProblematic, setDescription, setEvidenceFinder, setIsProblematic, setOwner |
| Methods inherited from class apollo.datamodel.Range |
|---|
contains, contains, convertFromBaseOrientedToInterbase, convertFromInterbaseToBaseOriented, getEnd, getEndAsString, getFeatureType, getHigh, getLeftOverlap, getLow, getRangeClone, getRefSequence, getResidues, getRightOverlap, getStart, getStartAsString, getStrand, hasFeatureType, hasName, hasRefSequence, isContainedByRefSeq, isExactOverlap, isForwardStrand, isIdentical, isSequenceAvailable, length, overlaps, sameRange, setEnd, setFeatureType, setHigh, setLow, setName, setStart, setStrand |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface apollo.datamodel.AnnotatedFeatureI |
|---|
getIdentifier, setIdentifier |
| Methods inherited from interface apollo.datamodel.RangeI |
|---|
canHaveChildren, contains, contains, convertFromBaseOrientedToInterbase, convertFromInterbaseToBaseOriented, getEnd, getFeatureType, getHigh, getLeftOverlap, getLow, getName, getRangeClone, getRefSequence, getResidues, getRightOverlap, getStart, getStrand, hasFeatureType, hasName, hasRefSequence, isContainedByRefSeq, isExactOverlap, isForwardStrand, isIdentical, isSequenceAvailable, length, overlaps, rangeIsUnassigned, sameRange, setEnd, setFeatureType, setHigh, setLow, setName, setRefSequence, setStart, setStrand |
| Methods inherited from interface apollo.datamodel.TranslationI |
|---|
calcTranslationStartForLongestPeptide, getLastBaseOfStopCodon, getTranslationEnd, getTranslationRange, getTranslationStart, hasTranslationEnd, hasTranslationStart, isMissing3prime, isMissing5prime, setMissing3prime, setMissing5prime, setTranslationEnd, setTranslationEndFromStart, setTranslationStart, setTranslationStart |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger logger
public static final java.lang.String TRANSCRIPT_TYPE
protected SequenceI cDNA
protected SequenceI peptide
| Constructor Detail |
|---|
public Transcript()
public Transcript(FeatureSetI fs)
| Method Detail |
|---|
public void addExon(ExonI exon)
public void sortExons()
public void addFeature(SeqFeatureI feature)
FeatureSet
addFeature in interface SeqFeatureIaddFeature in class FeatureSetpublic void deleteExon(ExonI exon)
public java.util.Vector getExons()
public ExonI getExonAt(int i)
public java.lang.String get_cDNA()
get_cDNA in interface SeqFeatureIget_cDNA in class FeatureSetpublic boolean haveWholeSequence()
public SequenceI get_cDNASequence()
AnnotatedFeature
get_cDNASequence in interface AnnotatedFeatureIget_cDNASequence in class AnnotatedFeaturepublic void set_cDNASequence(SequenceI cDNA)
public java.lang.String translate()
translate in interface SeqFeatureItranslate in class FeatureSetpublic SequenceI getPeptideSequence()
getPeptideSequence in interface SeqFeatureIgetPeptideSequence in class SeqFeaturepublic void setPeptideSequence(SequenceI pep)
public void setPeptideValidity(boolean validity)
setPeptideValidity in interface TranslationIsetPeptideValidity in class FeatureSetpublic boolean getPeptideValidity()
public java.lang.String toString()
FeatureSet
toString in class AnnotatedFeaturepublic void sortTransSpliced()
public boolean hasPeptideSequence()
hasPeptideSequence in interface SeqFeatureIhasPeptideSequence in class SeqFeaturepublic java.lang.String getTopLevelType()
getTopLevelType in interface SeqFeatureIgetTopLevelType in class SeqFeaturepublic AnnotatedFeatureI getGene()
public boolean isProteinCodingGene()
AnnotatedFeature
isProteinCodingGene in interface FeatureSetIisProteinCodingGene in interface SeqFeatureIisProteinCodingGene in class AnnotatedFeatureFeatureSet.setProteinCodingGene(boolean)public int getNonConsensusAcceptorNum()
getNonConsensusAcceptorNum in interface AnnotatedFeatureIgetNonConsensusAcceptorNum in class AnnotatedFeaturepublic int getNonConsensusDonorNum()
AnnotatedFeature
getNonConsensusDonorNum in interface AnnotatedFeatureIgetNonConsensusDonorNum in class AnnotatedFeaturepublic boolean nonConsensusSplicingOkay()
AnnotatedFeature
nonConsensusSplicingOkay in interface AnnotatedFeatureInonConsensusSplicingOkay in class AnnotatedFeaturepublic void nonConsensusSplicingOkay(boolean okay)
AnnotatedFeature
nonConsensusSplicingOkay in interface AnnotatedFeatureInonConsensusSplicingOkay in class AnnotatedFeaturepublic boolean isTranscript()
isTranscript in interface SeqFeatureIisTranscript in class SeqFeaturepublic Protein getProteinFeat()
getProteinFeat in interface SeqFeatureIgetProteinFeat in class SeqFeaturepublic boolean hasProteinFeat()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||