public class CollectAlignmentSummaryMetrics extends SinglePassSamProgram
Modifier and Type | Field and Description |
---|---|
java.util.List<java.lang.String> |
ADAPTER_SEQUENCE |
java.util.Set<htsjdk.samtools.SamPairUtil.PairOrientation> |
EXPECTED_PAIR_ORIENTATIONS |
boolean |
IS_BISULFITE_SEQUENCED |
int |
MAX_INSERT_SIZE |
java.util.Set<MetricAccumulationLevel> |
METRIC_ACCUMULATION_LEVEL |
java.io.File |
REFERENCE_SEQUENCE |
ASSUME_SORTED, INPUT, OUTPUT, STOP_AFTER
COMPRESSION_LEVEL, CREATE_INDEX, CREATE_MD5_FILE, GA4GH_CLIENT_SECRETS, MAX_RECORDS_IN_RAM, QUIET, TMP_DIR, VALIDATION_STRINGENCY, VERBOSITY
Constructor and Description |
---|
CollectAlignmentSummaryMetrics() |
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[] argv)
Required main method implementation.
|
protected void |
setup(htsjdk.samtools.SAMFileHeader header,
java.io.File samFile)
Should be implemented by subclasses to do one-time initialization work.
|
protected int |
testDoWork()
Silly method that is necessary to give unit test access to call doWork()
|
doWork, makeItSo, usesNoRefReads
customCommandLineValidation, getCommandLine, getCommandLineParser, getDefaultHeaders, getMetricsFile, getNestedOptions, getNestedOptionsForHelp, getStandardUsagePreamble, getVersion, instanceMain, instanceMainWithExit, parseArgs, setDefaultHeaders
@Option(doc="Paired-end reads above this insert size will be considered chimeric along with inter-chromosomal pairs.") public int MAX_INSERT_SIZE
@Option(doc="Paired-end reads that do not have this expected orientation will be considered chimeric.") public java.util.Set<htsjdk.samtools.SamPairUtil.PairOrientation> EXPECTED_PAIR_ORIENTATIONS
@Option(doc="List of adapter sequences to use when processing the alignment metrics.") public java.util.List<java.lang.String> ADAPTER_SEQUENCE
@Option(shortName="LEVEL", doc="The level(s) at which to accumulate metrics.") public java.util.Set<MetricAccumulationLevel> METRIC_ACCUMULATION_LEVEL
@Option(shortName="BS", doc="Whether the SAM or BAM file consists of bisulfite sequenced reads.") public boolean IS_BISULFITE_SEQUENCED
@Option(shortName="R", doc="Reference sequence file. Note that while this argument isn\'t required, without it only a small subset of the metrics will be calculated. Note also that if a reference sequence is provided, it must be accompanied by a sequence dictionary.", optional=true, overridable=true) public java.io.File REFERENCE_SEQUENCE
public static void main(java.lang.String[] argv)
protected final int testDoWork()
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