public abstract class CollectTargetedMetrics<METRIC extends MultilevelMetrics,COLLECTOR extends TargetMetricsCollector<METRIC>> extends CommandLineProgram
| Modifier and Type | Field and Description |
|---|---|
java.io.File |
INPUT |
java.util.Set<MetricAccumulationLevel> |
METRIC_ACCUMULATION_LEVEL |
java.io.File |
OUTPUT |
java.io.File |
PER_TARGET_COVERAGE |
java.util.List<java.io.File> |
TARGET_INTERVALS |
COMPRESSION_LEVEL, CREATE_INDEX, CREATE_MD5_FILE, GA4GH_CLIENT_SECRETS, MAX_RECORDS_IN_RAM, QUIET, REFERENCE_SEQUENCE, TMP_DIR, VALIDATION_STRINGENCY, VERBOSITY| Constructor and Description |
|---|
CollectTargetedMetrics() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String[] |
customCommandLineValidation()
Put any custom command-line validation in an override of this method.
|
protected int |
doWork()
Asserts that files are readable and writable and then fires off an
HsMetricsCalculator instance to do the real work.
|
protected abstract htsjdk.samtools.util.IntervalList |
getProbeIntervals() |
protected abstract java.lang.String |
getProbeSetName() |
protected abstract COLLECTOR |
makeCollector(java.util.Set<MetricAccumulationLevel> accumulationLevels,
java.util.List<htsjdk.samtools.SAMReadGroupRecord> samRgRecords,
htsjdk.samtools.reference.ReferenceSequenceFile refFile,
java.io.File perTargetCoverage,
htsjdk.samtools.util.IntervalList targetIntervals,
htsjdk.samtools.util.IntervalList probeIntervals,
java.lang.String probeSetName)
A factory method for the TargetMetricsCollector to use this time.
|
getCommandLine, getCommandLineParser, getDefaultHeaders, getMetricsFile, getNestedOptions, getNestedOptionsForHelp, getStandardUsagePreamble, getVersion, instanceMain, instanceMainWithExit, parseArgs, setDefaultHeaders@Option(shortName="TI", doc="An interval list file that contains the locations of the targets.", minElements=1) public java.util.List<java.io.File> TARGET_INTERVALS
@Option(shortName="O", doc="The output file to write the metrics to.") public java.io.File OUTPUT
@Option(shortName="LEVEL", doc="The level(s) at which to accumulate metrics.") public java.util.Set<MetricAccumulationLevel> METRIC_ACCUMULATION_LEVEL
protected abstract htsjdk.samtools.util.IntervalList getProbeIntervals()
protected abstract java.lang.String getProbeSetName()
protected abstract COLLECTOR makeCollector(java.util.Set<MetricAccumulationLevel> accumulationLevels, java.util.List<htsjdk.samtools.SAMReadGroupRecord> samRgRecords, htsjdk.samtools.reference.ReferenceSequenceFile refFile, java.io.File perTargetCoverage, htsjdk.samtools.util.IntervalList targetIntervals, htsjdk.samtools.util.IntervalList probeIntervals, java.lang.String probeSetName)
protected int doWork()
doWork in class CommandLineProgramprotected java.lang.String[] customCommandLineValidation()
CommandLineProgramcustomCommandLineValidation in class CommandLineProgram