Package org.snpeff.snpEffect
Interface VcfAnnotator
- All Superinterfaces:
CommandLine
- All Known Implementing Classes:
SnpEffCmdEff,VcfAnnotatorChain
Annotate a VCF file: E.g. add information to INFO column
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddHeaders(VcfFileIterator vcfFile) Add annotation headers to VCF filebooleanAnnotate a VCF file entrybooleanannotateFinish(VcfFileIterator vcfFile) This method is called after all annotations have been performed.booleanannotateInit(VcfFileIterator vcfFile) Initialize annotator: This method is called after vcfFile is opened, but before the header is output.voidSet configurationvoidsetDebug(boolean debug) Set debug modevoidsetVerbose(boolean verbose) Set verbose modeMethods inherited from interface org.snpeff.snpEffect.commandLine.CommandLine
getArgs, parseArgs, run, usage
-
Method Details
-
addHeaders
Add annotation headers to VCF file- Returns:
- true if OK, false on error
-
annotate
Annotate a VCF file entry- Returns:
- true if the entry was annotated
-
annotateFinish
This method is called after all annotations have been performed. The vcfFile might have already been closed by this time (i.e. the VcfFileIterator reached the end).- Returns:
- true if OK, false on error
-
annotateInit
Initialize annotator: This method is called after vcfFile is opened, but before the header is output. The first vcfEntry might have (and often has) already been read from the file.- Returns:
- true if OK, false on error
-
setConfig
Set configuration -
setDebug
void setDebug(boolean debug) Set debug mode -
setVerbose
void setVerbose(boolean verbose) Set verbose mode
-