@DocumentedFeature public class QualityScoreDistribution extends SinglePassSamProgram
Modifier and Type | Field and Description |
---|---|
boolean |
ALIGNED_READS_ONLY |
java.io.File |
CHART_OUTPUT |
boolean |
INCLUDE_NO_CALLS |
boolean |
PF_READS_ONLY |
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 |
---|
QualityScoreDistribution() |
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)
Required main method.
|
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="A file (with .pdf extension) to write the chart to.") public java.io.File CHART_OUTPUT
@Argument(doc="If set to true calculate mean quality over aligned reads only.") public boolean ALIGNED_READS_ONLY
@Argument(shortName="PF", doc="If set to true calculate mean quality over PF reads only.") public boolean PF_READS_ONLY
@Argument(doc="If set to true, include quality for no-call bases in the distribution.") public boolean INCLUDE_NO_CALLS
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