Package org.snpeff.interval.codonChange
Class CodonChangeStructural
java.lang.Object
org.snpeff.interval.codonChange.CodonChange
org.snpeff.interval.codonChange.CodonChangeStructural
- Direct Known Subclasses:
CodonChangeDel,CodonChangeDup
Calculate codon changes produced by a duplication
- Author:
- pcingola
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected booleanstatic booleanprotected intprotected intFields inherited from class org.snpeff.interval.codonChange.CodonChange
CODON_SIZE, showCodonChange -
Constructor Summary
ConstructorsConstructorDescriptionCodonChangeStructural(Variant variant, Transcript transcript, VariantEffects variantEffects) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcdsDiff()Differences between two CDSs after removing equal codons from the beginning and from the end of both stringsvoidCalculate a list of codon changesprotected voidprotected voidCalculate codons by applying the variant and calculating the differences in CDS sequences This is a slow method, makes sense only for complex variantsprotected voidHow many full / partial exons does the variant affect?protected abstract voidprotected abstract voidexons()Variant affect one or more exonsprotected abstract voidVariant affect one or more coding exonsprotected abstract voidVariant affect one or more non-coding exonsprotected abstract voidintron()Variant affect one intronMethods inherited from class org.snpeff.interval.codonChange.CodonChange
additionalEffect, cdsBaseNumber, codonChange, codonsAlt, codonsRef, codonsRef, effect, effectNoCodon, effectNoCodon, factory, intersectsExons, netCdsChange, toString
-
Field Details
-
debug
public static boolean debug -
coding
protected boolean coding -
exonFull
protected int exonFull -
exonPartial
protected int exonPartial -
cdsAlt
-
cdsRef
-
-
Constructor Details
-
CodonChangeStructural
-
-
Method Details
-
cdsDiff
protected void cdsDiff()Differences between two CDSs after removing equal codons from the beginning and from the end of both strings -
codonChange
public void codonChange()Description copied from class:CodonChangeCalculate a list of codon changes- Overrides:
codonChangein classCodonChange
-
codonChangeSuper
protected void codonChangeSuper() -
codonsRefAlt
protected void codonsRefAlt()Calculate codons by applying the variant and calculating the differences in CDS sequences This is a slow method, makes sense only for complex variants -
countAffectedExons
protected void countAffectedExons()How many full / partial exons does the variant affect? -
effectTranscript
protected abstract void effectTranscript() -
exons
protected abstract void exons()Variant affect one or more exons -
exonsCoding
protected abstract void exonsCoding()Variant affect one or more coding exons -
exonsNoncoding
protected abstract void exonsNoncoding()Variant affect one or more non-coding exons -
intron
protected abstract void intron()Variant affect one intron
-