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
public abstract class CodonChangeStructural extends CodonChange
Calculate codon changes produced by a duplication- Author:
- pcingola
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringcdsAltprotected java.lang.StringcdsRefprotected booleancodingstatic booleandebugprotected intexonFullprotected intexonPartial-
Fields inherited from class org.snpeff.interval.codonChange.CodonChange
CODON_SIZE, showCodonChange
-
-
Constructor Summary
Constructors Constructor Description CodonChangeStructural(Variant variant, Transcript transcript, VariantEffects variantEffects)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcdsDiff()Differences between two CDSs after removing equal codons from the beginning and from the end of both stringsvoidcodonChange()Calculate a list of codon changesprotected voidcodonChangeSuper()protected voidcodonsRefAlt()Calculate codons by applying the variant and calculating the differences in CDS sequences This is a slow method, makes sense only for complex variantsprotected voidcountAffectedExons()How many full / partial exons does the variant affect?protected abstract voideffectTranscript()protected abstract voidexons()Variant affect one or more exonsprotected abstract voidexonsCoding()Variant affect one or more coding exonsprotected abstract voidexonsNoncoding()Variant affect one or more non-coding exonsprotected abstract voidintron()Variant affect one intron-
Methods inherited from class org.snpeff.interval.codonChange.CodonChange
additionalEffect, cdsBaseNumber, codonChange, codonsAlt, codonsRef, codonsRef, effect, effectNoCodon, effectNoCodon, factory, intersectsExons, netCdsChange, toString
-
-
-
-
Constructor Detail
-
CodonChangeStructural
public CodonChangeStructural(Variant variant, Transcript transcript, VariantEffects variantEffects)
-
-
Method Detail
-
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
-
-