public class CollectAlignmentSummaryMetrics extends SinglePassSamProgram
| Modifier and Type | Field and Description |
|---|---|
java.util.List<java.lang.String> |
ADAPTER_SEQUENCE |
boolean |
IS_BISULFITE_SEQUENCED |
int |
MAX_INSERT_SIZE |
java.io.File |
REFERENCE_SEQUENCE |
ASSUME_SORTED, INPUT, OUTPUT, STOP_AFTERCOMPRESSION_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, usesNoRefReadscustomCommandLineValidation, 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="List of adapter sequences to use when processing the alignment metrics") public java.util.List<java.lang.String> ADAPTER_SEQUENCE
@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.", 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)
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