public class CollectAlignmentSummaryMetrics extends SinglePassSamProgram
| Modifier and Type | Field | Description |
|---|---|---|
List<String> |
ADAPTER_SEQUENCE |
|
Set<htsjdk.samtools.SamPairUtil.PairOrientation> |
EXPECTED_PAIR_ORIENTATIONS |
|
boolean |
IS_BISULFITE_SEQUENCED |
|
int |
MAX_INSERT_SIZE |
|
Set<MetricAccumulationLevel> |
METRIC_ACCUMULATION_LEVEL |
|
File |
REFERENCE_SEQUENCE |
COMPRESSION_LEVEL, CREATE_INDEX, CREATE_MD5_FILE, GA4GH_CLIENT_SECRETS, MAX_RECORDS_IN_RAM, QUIET, TMP_DIR, VALIDATION_STRINGENCY, VERBOSITYASSUME_SORTED, INPUT, OUTPUT, STOP_AFTER| Constructor | Description |
|---|---|
CollectAlignmentSummaryMetrics() |
| Modifier and Type | Method | 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(String[] argv) |
Required main method implementation.
|
protected void |
setup(htsjdk.samtools.SAMFileHeader header,
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()
|
customCommandLineValidation, getCommandLine, getCommandLineParser, getDefaultHeaders, getMetricsFile, getNestedOptions, getNestedOptionsForHelp, getStandardUsagePreamble, getVersion, instanceMain, instanceMainWithExit, parseArgs, setDefaultHeadersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoWork, makeItSo, usesNoRefReads@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 Set<htsjdk.samtools.SamPairUtil.PairOrientation> EXPECTED_PAIR_ORIENTATIONS
@Option(doc="List of adapter sequences to use when processing the alignment metrics.") public List<String> ADAPTER_SEQUENCE
@Option(shortName="LEVEL", doc="The level(s) at which to accumulate metrics.") public 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 File REFERENCE_SEQUENCE
public static void main(String[] argv)
protected final int testDoWork()
protected void setup(htsjdk.samtools.SAMFileHeader header,
File samFile)
SinglePassSamProgramsetup in class SinglePassSamProgramprotected void acceptRead(htsjdk.samtools.SAMRecord rec,
htsjdk.samtools.reference.ReferenceSequence ref)
SinglePassSamProgramacceptRead in class SinglePassSamProgramprotected void finish()
SinglePassSamProgramfinish in class SinglePassSamProgram