Package org.snpsift
Class SnpSiftCmdGeneSets
- java.lang.Object
-
- org.snpsift.SnpSift
-
- org.snpsift.SnpSiftCmdGeneSets
-
- All Implemented Interfaces:
org.snpeff.snpEffect.commandLine.CommandLine,org.snpeff.snpEffect.VcfAnnotator
public class SnpSiftCmdGeneSets extends SnpSift
Annotate a VCF file using Gene sets (MSigDb) or gene ontology (GO)- Author:
- pablocingolani
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringINFO_GENE_SETSstatic intSHOWstatic intSHOW_LINES-
Fields inherited from class org.snpsift.SnpSift
args, BUILD, command, config, configFile, dataDir, dbFileName, dbTabix, dbType, debug, download, EMPTY_ARGS, errCount, genomeVersion, help, log, needsConfig, needsDb, needsGenome, numWorkers, output, quiet, REVISION, saveOutput, shiftArgs, SHOW_EVERY_VCFLINES, showVcfHeader, showVersion, SOFTWARE_NAME, suppressOutput, vcfHeaderAddProgramVersion, vcfHeaderProcessed, vcfInputFile, verbose, VERSION, VERSION_MAJOR, VERSION_NO_NAME, VERSION_SHORT
-
-
Constructor Summary
Constructors Constructor Description SnpSiftCmdGeneSets()SnpSiftCmdGeneSets(java.lang.String[] args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanannotate(org.snpeff.vcf.VcfEntry vcfEntry)Annotate one entrybooleanannotateInit(org.snpeff.fileIterator.VcfFileIterator vcfFile)protected java.util.List<org.snpeff.vcf.VcfHeaderEntry>headers()Headers to addvoidparseArgs(java.lang.String[] args)Parse command line argumentsbooleanrun()Annotate entriesjava.util.List<org.snpeff.vcf.VcfEntry>run(boolean createList)voidsetMsigdb(java.lang.String msigdb)voidusage(java.lang.String msg)Show usage message-
Methods inherited from class org.snpsift.SnpSift
addHeaders, annotateFinish, cmd, commandLineStr, databaseDownload, databaseFind, error, getArgs, getConfig, getConfigFile, getOutput, init, isOpt, loadConfig, main, openVcfInputFile, processVcfHeader, setCommand, setCommand, setConfig, setConfigFile, setDbFileName, setDebug, setQuiet, setSaveOutput, setShowVcfHeader, setShowVersion, setSuppressOutput, setVcfHeaderAddProgramVersion, setVerbose, showCmd, showVersion, unSanitize, usageGenericAndDb
-
-
-
-
Field Detail
-
SHOW
public static final int SHOW
- See Also:
- Constant Field Values
-
SHOW_LINES
public static final int SHOW_LINES
- See Also:
- Constant Field Values
-
INFO_GENE_SETS
public static final java.lang.String INFO_GENE_SETS
- See Also:
- Constant Field Values
-
-
Method Detail
-
annotate
public boolean annotate(org.snpeff.vcf.VcfEntry vcfEntry)
Annotate one entry
-
annotateInit
public boolean annotateInit(org.snpeff.fileIterator.VcfFileIterator vcfFile)
- Specified by:
annotateInitin interfaceorg.snpeff.snpEffect.VcfAnnotator- Overrides:
annotateInitin classSnpSift
-
headers
protected java.util.List<org.snpeff.vcf.VcfHeaderEntry> headers()
Description copied from class:SnpSiftHeaders to add
-
parseArgs
public void parseArgs(java.lang.String[] args)
Parse command line arguments
-
run
public boolean run()
Annotate entries
-
run
public java.util.List<org.snpeff.vcf.VcfEntry> run(boolean createList)
-
setMsigdb
public void setMsigdb(java.lang.String msigdb)
-
-