Package picard.sam.markduplicates
Class CollectDuplicateMetrics
java.lang.Object
picard.cmdline.CommandLineProgram
picard.analysis.SinglePassSamProgram
picard.sam.markduplicates.CollectDuplicateMetrics
Collect DuplicateMark'ing metrics from an input file that was already Duplicate-Marked.
-
Field Summary
FieldsFields inherited from class picard.analysis.SinglePassSamProgram
ASSUME_SORTED, INPUT, output, OUTPUT, STOP_AFTER
Fields inherited from class picard.cmdline.CommandLineProgram
COMPRESSION_LEVEL, CREATE_INDEX, CREATE_MD5_FILE, MAX_ALLOWABLE_ONE_LINE_SUMMARY_LENGTH, MAX_RECORDS_IN_RAM, QUIET, REFERENCE_SEQUENCE, referenceSequence, specialArgumentsCollection, SYNTAX_TRANSITION_URL, TMP_DIR, USE_JDK_DEFLATER, USE_JDK_INFLATER, VALIDATION_STRINGENCY, VERBOSITY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
acceptRead
(htsjdk.samtools.SAMRecord rec, htsjdk.samtools.reference.ReferenceSequence ref) Should be implemented by subclasses to accept SAMRecords one at a time.protected void
finish()
Should be implemented by subclasses to do one-time finalization work.protected OutputArgumentCollection
protected boolean
protected void
Should be implemented by subclasses to do one-time initialization work.protected boolean
Can be overridden and set to false if the section of unmapped reads at the end of the file isn't needed.Methods inherited from class picard.analysis.SinglePassSamProgram
doWork, makeItSo, setReferenceSequence
Methods inherited from class picard.cmdline.CommandLineProgram
checkRInstallation, customCommandLineValidation, getCommandLine, getCommandLineParser, getCommandLineParserForArgs, getDefaultHeaders, getFaqLink, getMetricsFile, getPGRecord, getStandardUsagePreamble, getStandardUsagePreamble, getVersion, hasWebDocumentation, instanceMain, instanceMainWithExit, makeReferenceArgumentCollection, parseArgs, setDefaultHeaders, useLegacyParser
-
Field Details
-
METRICS_FILE
-
-
Constructor Details
-
CollectDuplicateMetrics
public CollectDuplicateMetrics()
-
-
Method Details
-
getOutputArgumentCollection
- Overrides:
getOutputArgumentCollection
in classSinglePassSamProgram
-
requiresReference
protected boolean requiresReference()- Overrides:
requiresReference
in classCommandLineProgram
-
usesNoRefReads
protected boolean usesNoRefReads()Description copied from class:SinglePassSamProgram
Can be overridden and set to false if the section of unmapped reads at the end of the file isn't needed.- Overrides:
usesNoRefReads
in classSinglePassSamProgram
-
setup
Description copied from class:SinglePassSamProgram
Should be implemented by subclasses to do one-time initialization work.- Specified by:
setup
in classSinglePassSamProgram
-
acceptRead
protected void acceptRead(htsjdk.samtools.SAMRecord rec, htsjdk.samtools.reference.ReferenceSequence ref) Description copied from class:SinglePassSamProgram
Should be implemented by subclasses to accept SAMRecords one at a time. If the read has a reference sequence and a reference sequence file was supplied to the program it will be passed as 'ref'. Otherwise 'ref' may be null.- Specified by:
acceptRead
in classSinglePassSamProgram
-
finish
protected void finish()Description copied from class:SinglePassSamProgram
Should be implemented by subclasses to do one-time finalization work.- Specified by:
finish
in classSinglePassSamProgram
-