@DocumentedFeature public class CollectGcBiasMetrics extends SinglePassSamProgram
Modifier and Type | Field and Description |
---|---|
boolean |
ALSO_IGNORE_DUPLICATES |
java.io.File |
CHART_OUTPUT |
boolean |
IS_BISULFITE_SEQUENCED |
java.util.Set<MetricAccumulationLevel> |
METRIC_ACCUMULATION_LEVEL |
double |
MINIMUM_GENOME_FRACTION |
int |
SCAN_WINDOW_SIZE |
java.io.File |
SUMMARY_OUTPUT |
ASSUME_SORTED, INPUT, OUTPUT, STOP_AFTER
COMPRESSION_LEVEL, CREATE_INDEX, CREATE_MD5_FILE, GA4GH_CLIENT_SECRETS, MAX_RECORDS_IN_RAM, QUIET, REFERENCE_SEQUENCE, referenceSequence, specialArgumentsCollection, TMP_DIR, USE_JDK_DEFLATER, USE_JDK_INFLATER, VALIDATION_STRINGENCY, VERBOSITY
Constructor and Description |
---|
CollectGcBiasMetrics() |
Modifier and Type | Method and Description |
---|---|
protected 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.
|
static void |
main(java.lang.String[] args) |
protected void |
setup(htsjdk.samtools.SAMFileHeader header,
java.io.File samFile)
Should be implemented by subclasses to do one-time initialization work.
|
doWork, makeItSo, setReferenceSequence, usesNoRefReads
customCommandLineValidation, getCommandLine, getCommandLineParser, getDefaultHeaders, getFaqLink, getMetricsFile, getStandardUsagePreamble, getStandardUsagePreamble, getVersion, hasWebDocumentation, instanceMain, instanceMainWithExit, makeReferenceArgumentCollection, parseArgs, requiresReference, setDefaultHeaders, useLegacyParser
@Argument(shortName="CHART", doc="The PDF file to render the chart to.") public java.io.File CHART_OUTPUT
@Argument(shortName="S", doc="The text file to write summary metrics to.") public java.io.File SUMMARY_OUTPUT
@Argument(shortName="WINDOW_SIZE", doc="The size of the scanning windows on the reference genome that are used to bin reads.") public int SCAN_WINDOW_SIZE
@Argument(shortName="MGF", doc="For summary metrics, exclude GC windows that include less than this fraction of the genome.") public double MINIMUM_GENOME_FRACTION
@Argument(shortName="BS", doc="Whether the SAM or BAM file consists of bisulfite sequenced reads.") public boolean IS_BISULFITE_SEQUENCED
@Argument(shortName="LEVEL", doc="The level(s) at which to accumulate metrics.") public java.util.Set<MetricAccumulationLevel> METRIC_ACCUMULATION_LEVEL
@Argument(shortName="ALSO_IGNORE_DUPLICATES", doc="Use to get additional results without duplicates. This option allows to gain two plots per level at the same time: one is the usual one and the other excludes duplicates.") public boolean ALSO_IGNORE_DUPLICATES
public static void main(java.lang.String[] args)
protected void setup(htsjdk.samtools.SAMFileHeader header, java.io.File samFile)
SinglePassSamProgram
setup
in class SinglePassSamProgram
protected void acceptRead(htsjdk.samtools.SAMRecord rec, htsjdk.samtools.reference.ReferenceSequence ref)
SinglePassSamProgram
acceptRead
in class SinglePassSamProgram
protected void finish()
SinglePassSamProgram
finish
in class SinglePassSamProgram