Class GetNormalArtifactData
java.lang.Object
org.broadinstitute.hellbender.cmdline.CommandLineProgram
org.broadinstitute.hellbender.engine.GATKTool
org.broadinstitute.hellbender.engine.WalkerBase
org.broadinstitute.hellbender.engine.LocusWalker
org.broadinstitute.hellbender.tools.walkers.mutect.GetNormalArtifactData
- All Implemented Interfaces:
org.broadinstitute.barclay.argparser.CommandLinePluginProvider
Usage example
gatk GetNormalArtifactData \ -I tumor.bam \ -I normal.bam \ -normal normal_sample \ -L intervals.list \ -O normal-artifact.table
-
Nested Class Summary
Nested classes/interfaces inherited from class org.broadinstitute.hellbender.cmdline.CommandLineProgram
CommandLineProgram.AutoCloseableNoCheckedExceptions
-
Field Summary
FieldsFields inherited from class org.broadinstitute.hellbender.engine.LocusWalker
MAX_DEPTH_PER_SAMPLE_NAME, maxDepthPerSample
Fields inherited from class org.broadinstitute.hellbender.engine.GATKTool
addOutputSAMProgramRecord, addOutputVCFCommandLine, cloudIndexPrefetchBuffer, cloudPrefetchBuffer, createOutputBamIndex, createOutputBamMD5, createOutputVariantIndex, createOutputVariantMD5, disableBamIndexCaching, features, intervalArgumentCollection, lenientVCFProcessing, outputSitesOnlyVCFs, progressMeter, readArguments, referenceArguments, SECONDS_BETWEEN_PROGRESS_UPDATES_NAME, seqValidationArguments
Fields inherited from class org.broadinstitute.hellbender.cmdline.CommandLineProgram
GATK_CONFIG_FILE, logger, NIO_MAX_REOPENS, NIO_PROJECT_FOR_REQUESTER_PAYS, QUIET, specialArgumentsCollection, tmpDir, useJdkDeflater, useJdkInflater, VERBOSITY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(AlignmentContext alignmentContext, ReferenceContext referenceContext, FeatureContext featureContext) Process an individual AlignmentContext (with optional contextual information).Returns the default list of CommandLineReadFilters that are used for this tool.void
Operations performed just prior to the start of traversal.Operations performed immediately after a successful traversal (ie when no uncaught exceptions were thrown during the traversal).boolean
Does this tool require features? Traversals types and/or tools that do should override to return true.boolean
Does this tool require intervals? Traversals types and/or tools that do should override to return true.boolean
LocusWalkers requires read sourcesboolean
Does this tool require reference data? Traversals types and/or tools that do should override to return true.Methods inherited from class org.broadinstitute.hellbender.engine.LocusWalker
defaultMaxDepthPerSample, emitEmptyLoci, getDownsamplingInfo, getProgressMeterRecordLabel, includeDeletions, includeNs, onShutdown, onStartup, traverse
Methods inherited from class org.broadinstitute.hellbender.engine.WalkerBase
directlyAccessEngineFeatureManager, directlyAccessEngineReadsDataSource, directlyAccessEngineReferenceDataSource
Methods inherited from class org.broadinstitute.hellbender.engine.GATKTool
addFeatureInputsAfterInitialization, bamIndexCachingShouldBeEnabled, closeTool, createSAMWriter, createVCFWriter, createVCFWriter, createVCFWriter, disableProgressMeter, doWork, getBestAvailableSequenceDictionary, getDefaultCloudIndexPrefetchBufferSize, getDefaultCloudPrefetchBufferSize, getDefaultToolVCFHeaderLines, getDefaultVariantAnnotationGroups, getDefaultVariantAnnotations, getGenomicsDBOptions, getHeaderForFeatures, getHeaderForReads, getHeaderForSAMWriter, getMasterSequenceDictionary, getPluginDescriptors, getReferenceDictionary, getSequenceDictionaryValidationArgumentCollection, getToolName, getTransformedReadStream, getTraversalIntervals, getUserSuppliedIntervals, hasFeatures, hasReads, hasReference, hasUserSuppliedIntervals, initializeProgressMeter, makePostReadFilterTransformer, makePreReadFilterTransformer, makeReadFilter, makeSamReaderFactory, makeVariantAnnotations, transformTraversalIntervals, useVariantAnnotations
Methods inherited from class org.broadinstitute.hellbender.cmdline.CommandLineProgram
customCommandLineValidation, getCommandLine, getCommandLineParser, getDefaultHeaders, getMetricsFile, getSupportInformation, getToolkitName, getToolkitShortName, getToolStatusWarning, getUsage, getVersion, instanceMain, instanceMainPostParseArgs, isBetaFeature, isExperimentalFeature, parseArgs, printLibraryVersions, printSettings, printStartupMessage, runTool, setDefaultHeaders, warnOnToolStatus
-
Field Details
-
normalSamples
-
ERROR_PROB_NAME
- See Also:
-
errorProb
@Argument(fullName="error-prob", doc="Error probability for p-values", optional=true) protected double errorProb
-
-
Constructor Details
-
GetNormalArtifactData
public GetNormalArtifactData()
-
-
Method Details
-
requiresReads
public boolean requiresReads()Description copied from class:LocusWalker
LocusWalkers requires read sources- Overrides:
requiresReads
in classLocusWalker
- Returns:
- true if this tool requires reads, otherwise false
-
requiresReference
public boolean requiresReference()Description copied from class:GATKTool
Does this tool require reference data? Traversals types and/or tools that do should override to return true.- Overrides:
requiresReference
in classGATKTool
- Returns:
- true if this tool requires a reference, otherwise false
-
requiresIntervals
public boolean requiresIntervals()Description copied from class:GATKTool
Does this tool require intervals? Traversals types and/or tools that do should override to return true.- Overrides:
requiresIntervals
in classGATKTool
- Returns:
- true if this tool requires intervals, otherwise false
-
requiresFeatures
public boolean requiresFeatures()Description copied from class:GATKTool
Does this tool require features? Traversals types and/or tools that do should override to return true.- Overrides:
requiresFeatures
in classGATKTool
- Returns:
- true if this tool requires reads, otherwise false
-
getDefaultReadFilters
Description copied from class:LocusWalker
Returns the default list of CommandLineReadFilters that are used for this tool. The filters returned by this method are subject to selective enabling/disabling by the user via the command line. The default implementation uses theWellformedReadFilter
andReadFilterLibrary.MappedReadFilter
filter with all default options. Subclasses can override to provide alternative filters. Note: this method is called before command line parsing begins, and thus before a SAMFileHeader is available through {link #getHeaderForReads}.- Overrides:
getDefaultReadFilters
in classLocusWalker
- Returns:
- List of individual filters to be applied for this tool.
-
onTraversalStart
public void onTraversalStart()Description copied from class:GATKTool
Operations performed just prior to the start of traversal. Should be overridden by tool authors who need to process arguments local to their tool or perform other kinds of local initialization. Default implementation does nothing.- Overrides:
onTraversalStart
in classGATKTool
-
apply
public void apply(AlignmentContext alignmentContext, ReferenceContext referenceContext, FeatureContext featureContext) Description copied from class:LocusWalker
Process an individual AlignmentContext (with optional contextual information). Must be implemented by tool authors. In general, tool authors should simply stream their output from apply(), and maintain as little internal state as possible.- Specified by:
apply
in classLocusWalker
- Parameters:
alignmentContext
- current alignment contextreferenceContext
- Reference bases spanning the current locus. Will be an empty, but non-null, context object if there is no backing source of reference data (in which case all queries on it will return an empty array/iterator). Can request extra bases of context around the current locus by invokingReferenceContext.setWindow(int, int)
on this object before callingReferenceContext.getBases()
featureContext
- Features spanning the current locus. Will be an empty, but non-null, context object if there is no backing source of Feature data (in which case all queries on it will return an empty List).
-
onTraversalSuccess
Description copied from class:GATKTool
Operations performed immediately after a successful traversal (ie when no uncaught exceptions were thrown during the traversal). Should be overridden by tool authors who need to close local resources, etc., after traversal. Also allows tools to return a value representing the traversal result, which is printed by the engine. Default implementation does nothing and returns null.- Overrides:
onTraversalSuccess
in classGATKTool
- Returns:
- Object representing the traversal result, or null if a tool does not return a value
-