public class CollectSequencingArtifactMetrics extends SinglePassSamProgram
| Modifier and Type | Field and Description |
|---|---|
int |
CONTEXT_SIZE |
java.util.Set<java.lang.String> |
CONTEXTS_TO_PRINT |
java.io.File |
DB_SNP |
java.lang.String |
FILE_EXTENSION |
boolean |
INCLUDE_UNPAIRED |
java.io.File |
INTERVALS |
int |
MAXIMUM_INSERT_SIZE |
int |
MINIMUM_INSERT_SIZE |
int |
MINIMUM_MAPPING_QUALITY |
int |
MINIMUM_QUALITY_SCORE |
boolean |
TANDEM_READS |
boolean |
USE_OQ |
ASSUME_SORTED, INPUT, OUTPUT, STOP_AFTERCOMPRESSION_LEVEL, CREATE_INDEX, CREATE_MD5_FILE, GA4GH_CLIENT_SECRETS, MAX_RECORDS_IN_RAM, QUIET, REFERENCE_SEQUENCE, TMP_DIR, VALIDATION_STRINGENCY, VERBOSITY| Constructor and Description |
|---|
CollectSequencingArtifactMetrics() |
| 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 java.lang.String[] |
customCommandLineValidation()
Put any custom command-line validation in an override of this method.
|
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.
|
protected boolean |
usesNoRefReads()
Can be overriden and set to false if the section of unmapped reads at the end of the file isn't needed.
|
doWork, makeItSogetCommandLine, getCommandLineParser, getDefaultHeaders, getMetricsFile, getNestedOptions, getNestedOptionsForHelp, getStandardUsagePreamble, getVersion, instanceMain, instanceMainWithExit, parseArgs, setDefaultHeaders@Option(doc="An optional list of intervals to restrict analysis to.", optional=true) public java.io.File INTERVALS
@Option(doc="VCF format dbSNP file, used to exclude regions around known polymorphisms from analysis.", optional=true) public java.io.File DB_SNP
@Option(shortName="Q", doc="The minimum base quality score for a base to be included in analysis.") public int MINIMUM_QUALITY_SCORE
@Option(shortName="MQ", doc="The minimum mapping quality score for a base to be included in analysis.") public int MINIMUM_MAPPING_QUALITY
@Option(shortName="MIN_INS", doc="The minimum insert size for a read to be included in analysis.") public int MINIMUM_INSERT_SIZE
@Option(shortName="MAX_INS", doc="The maximum insert size for a read to be included in analysis. Set to 0 to have no maximum.") public int MAXIMUM_INSERT_SIZE
@Option(shortName="UNPAIRED", doc="Include unpaired reads. If set to true then all paired reads will be included as well - MINIMUM_INSERT_SIZE and MAXIMUM_INSERT_SIZE will be ignored.") public boolean INCLUDE_UNPAIRED
@Option(shortName="TANDEM", doc="Set to true if mate pairs are being sequenced from the same strand, i.e. they\'re expected to face the same direction.") public boolean TANDEM_READS
@Option(doc="When available, use original quality scores for filtering.") public boolean USE_OQ
@Option(doc="The number of context bases to include on each side of the assayed base.") public int CONTEXT_SIZE
@Option(doc="If specified, only print results for these contexts in the detail metrics output. However, the summary metrics output will still take all contexts into consideration.") public java.util.Set<java.lang.String> CONTEXTS_TO_PRINT
public static void main(java.lang.String[] args)
protected java.lang.String[] customCommandLineValidation()
CommandLineProgramcustomCommandLineValidation in class CommandLineProgramprotected 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 SinglePassSamProgramprotected boolean usesNoRefReads()
SinglePassSamProgramusesNoRefReads in class SinglePassSamProgram