Class TestCasesHgvsBase
- java.lang.Object
-
- org.snpeff.snpEffect.testCases.integration.TestCasesHgvsBase
-
- Direct Known Subclasses:
TestCasesHgvsExon,TestCasesHgvsIntron
public class TestCasesHgvsBase extends java.lang.ObjectTest random SNP changes- Author:
- pcingola
-
-
Field Summary
Fields Modifier and Type Field Description protected char[]chromoBasesprotected java.lang.StringchromoSequenceprotected Chromosomechromosomeprotected Configconfigprotected booleandebugprotected Genegeneprotected Genomegenomeprotected java.util.Randomrandprotected SnpEffectPredictorsnpEffectPredictorprotected Transcripttranscriptprotected booleanverbose
-
Constructor Summary
Constructors Constructor Description TestCasesHgvsBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intexonBase(char[] bases, int pos, int direction)Count how many bases are there until the exonprotected voidinit()protected voidinitRand()protected voidinitSnpEffPredictor(boolean addUtrs, boolean onlyPlusStrand)Create a predictorprotected java.lang.StringintronHgsv(char[] bases, int j, int pos, java.lang.String refStr, java.lang.String altStr)Intronic HGS notationvoidsnpEffect(java.lang.String genomeVer, java.lang.String vcfFile)Run SnpEff on VCF file
-
-
-
Field Detail
-
debug
protected boolean debug
-
verbose
protected boolean verbose
-
rand
protected java.util.Random rand
-
config
protected Config config
-
genome
protected Genome genome
-
chromosome
protected Chromosome chromosome
-
gene
protected Gene gene
-
transcript
protected Transcript transcript
-
snpEffectPredictor
protected SnpEffectPredictor snpEffectPredictor
-
chromoSequence
protected java.lang.String chromoSequence
-
chromoBases
protected char[] chromoBases
-
-
Method Detail
-
exonBase
protected int exonBase(char[] bases, int pos, int direction)Count how many bases are there until the exon
-
init
protected void init()
-
initRand
protected void initRand()
-
initSnpEffPredictor
protected void initSnpEffPredictor(boolean addUtrs, boolean onlyPlusStrand)Create a predictor
-
intronHgsv
protected java.lang.String intronHgsv(char[] bases, int j, int pos, java.lang.String refStr, java.lang.String altStr)Intronic HGS notation
-
snpEffect
public void snpEffect(java.lang.String genomeVer, java.lang.String vcfFile)Run SnpEff on VCF file
-
-