@DocumentedFeature public class CollectRnaSeqMetrics extends SinglePassSamProgram
| Modifier and Type | Field | Description |
|---|---|---|
File |
CHART_OUTPUT |
|
Set<String> |
IGNORE_SEQUENCE |
|
Set<MetricAccumulationLevel> |
METRIC_ACCUMULATION_LEVEL |
|
int |
MINIMUM_LENGTH |
|
File |
REF_FLAT |
|
File |
RIBOSOMAL_INTERVALS |
|
double |
RRNA_FRAGMENT_PERCENTAGE |
|
RnaSeqMetricsCollector.StrandSpecificity |
STRAND_SPECIFICITY |
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, VERBOSITYASSUME_SORTED, INPUT, OUTPUT, STOP_AFTER| Constructor | Description |
|---|---|
CollectRnaSeqMetrics() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
acceptRead(htsjdk.samtools.SAMRecord rec,
htsjdk.samtools.reference.ReferenceSequence refSeq) |
Should be implemented by subclasses to accept SAMRecords one at a time.
|
protected 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(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.
|
getCommandLine, getCommandLineParser, getDefaultHeaders, getFaqLink, getMetricsFile, getStandardUsagePreamble, getStandardUsagePreamble, getVersion, hasWebDocumentation, instanceMain, instanceMainWithExit, makeReferenceArgumentCollection, parseArgs, requiresReference, setDefaultHeaders, useLegacyParserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoWork, makeItSo, setReferenceSequence, usesNoRefReads@Argument(doc="Gene annotations in refFlat form. Format described here: http://genome.ucsc.edu/goldenPath/gbdDescriptionsOld.html#RefFlat") public File REF_FLAT
@Argument(doc="Location of rRNA sequences in genome, in interval_list format. If not specified no bases will be identified as being ribosomal. Format described <a href=\"http://samtools.github.io/htsjdk/javadoc/htsjdk/htsjdk/samtools/util/IntervalList.html\">here</a>:",
optional=true)
public File RIBOSOMAL_INTERVALS
@Argument(shortName="STRAND",
doc="For strand-specific library prep. For unpaired reads, use FIRST_READ_TRANSCRIPTION_STRAND if the reads are expected to be on the transcription strand.")
public RnaSeqMetricsCollector.StrandSpecificity STRAND_SPECIFICITY
@Argument(doc="When calculating coverage based values (e.g. CV of coverage) only use transcripts of this length or greater.") public int MINIMUM_LENGTH
@Argument(doc="The PDF file to write out a plot of normalized position vs. coverage.",
shortName="CHART",
optional=true)
public File CHART_OUTPUT
@Argument(doc="If a read maps to a sequence specified with this option, all the bases in the read are counted as ignored bases. These reads are not counted as ") public Set<String> IGNORE_SEQUENCE
@Argument(doc="This percentage of the length of a fragment must overlap one of the ribosomal intervals for a read or read pair to be considered rRNA.") public double RRNA_FRAGMENT_PERCENTAGE
@Argument(shortName="LEVEL",
doc="The level(s) at which to accumulate metrics. ")
public Set<MetricAccumulationLevel> METRIC_ACCUMULATION_LEVEL
public static void main(String[] argv)
protected String[] customCommandLineValidation()
CommandLineProgramcustomCommandLineValidation in class CommandLineProgramprotected void setup(htsjdk.samtools.SAMFileHeader header,
File samFile)
SinglePassSamProgramsetup in class SinglePassSamProgramprotected void acceptRead(htsjdk.samtools.SAMRecord rec,
htsjdk.samtools.reference.ReferenceSequence refSeq)
SinglePassSamProgramacceptRead in class SinglePassSamProgramprotected void finish()
SinglePassSamProgramfinish in class SinglePassSamProgram