Showing docs for version 3.6-0 | The latest version is 4.1.4.0


CountReads

Count the number of reads

Category Diagnostics and Quality Control Tools

Traversal ReadWalker

PartitionBy READ


Overview

This is especially useful in combination with read filters (see the --read-filter command line argument) which allow you to count reads matching specific criteria (e.g. read group tags or quality parameters).

Input

One or more BAM files.

Output

Number of reads seen. This is output to the terminal/stdout.

Usage example

 java -jar GenomeAnalysisTK.jar \
   -R reference.fasta \
   -T CountReads \
   -I input.bam \
   [-L input.intervals]
 

Additional Information

Read filters

These Read Filters are automatically applied to the data by the Engine before processing by CountReads.

Parallelism options

This tool can be run in multi-threaded mode using this option.

Downsampling settings

This tool does not apply any downsampling by default.


Command-line Arguments

Engine arguments

All tools inherit arguments from the GATK Engine' "CommandLineGATK" argument collection, which can be used to modify various aspects of the tool's function. For example, the -L argument directs the GATK engine to restrict processing to specific genomic intervals; or the -rf argument allows you to apply certain read filters to exclude some of the data from the analysis.


Return to top


See also GATK Documentation Index | Tool Docs Index | Support Forum

GATK version 3.6-0-g89b7209 built at 2017/02/09 12:52:48.