Package org.snpsift
Class SnpSiftCmdRemoveReferenceGenotypes
- java.lang.Object
-
- org.snpsift.SnpSift
-
- org.snpsift.SnpSiftCmdRemoveReferenceGenotypes
-
- All Implemented Interfaces:
org.snpeff.snpEffect.commandLine.CommandLine,org.snpeff.snpEffect.VcfAnnotator
public class SnpSiftCmdRemoveReferenceGenotypes extends SnpSift
Removes reference genotypes. I.e. replaces the genotype string by the MISSING string ('.') if the genotype is just homozygous reference (e.g. '0/0')- Author:
- pablocingolani
-
-
Field Summary
Fields Modifier and Type Field Description static intSHOW_EVERYstatic intSHOW_EVERY_NL-
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 SnpSiftCmdRemoveReferenceGenotypes()SnpSiftCmdRemoveReferenceGenotypes(java.lang.String[] args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidparseArgs(java.lang.String[] args)Parse command line argumentsbooleanrun()Analyze the filevoidusage(java.lang.String errMsg)Show usage and exit-
Methods inherited from class org.snpsift.SnpSift
addHeaders, annotate, annotateFinish, annotateInit, cmd, commandLineStr, databaseDownload, databaseFind, error, getArgs, getConfig, getConfigFile, getOutput, headers, 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_EVERY
public static final int SHOW_EVERY
- See Also:
- Constant Field Values
-
SHOW_EVERY_NL
public static final int SHOW_EVERY_NL
- See Also:
- Constant Field Values
-
-
Method Detail
-
parseArgs
public void parseArgs(java.lang.String[] args)
Description copied from class:SnpSiftParse command line arguments
-
run
public boolean run()
Analyze the file
-
-