diff --git a/public/java/src/org/broadinstitute/sting/gatk/walkers/qc/CountBasesWalker.java b/public/java/src/org/broadinstitute/sting/gatk/walkers/qc/CountBasesWalker.java new file mode 100755 index 000000000..b846ce6b0 --- /dev/null +++ b/public/java/src/org/broadinstitute/sting/gatk/walkers/qc/CountBasesWalker.java @@ -0,0 +1,51 @@ +package org.broadinstitute.sting.gatk.walkers.qc; + +import org.broadinstitute.sting.gatk.contexts.ReferenceContext; +import org.broadinstitute.sting.gatk.refdata.ReadMetaDataTracker; +import org.broadinstitute.sting.gatk.walkers.DataSource; +import org.broadinstitute.sting.gatk.walkers.ReadWalker; +import org.broadinstitute.sting.gatk.walkers.Requires; +import org.broadinstitute.sting.utils.sam.GATKSAMRecord; + +/** + * Walks over the input data set, calculating the number of reads seen for diagnostic purposes. + * + *
+ * Can also count the number of reads matching a given criterion using read filters (see the + * --read-filter command line argument). Simplest example of a read-backed analysis. + * + * + *
+ * One or more BAM files. + *
+ * + *+ * Number of reads seen. + *
+ * + *+ * java -Xmx2g -jar GenomeAnalysisTK.jar \ + * -R ref.fasta \ + * -T CountReads \ + * -o output.txt \ + * -I input.bam \ + * [-L input.intervals] + *+ * + */ +@Requires({DataSource.READS, DataSource.REFERENCE}) +public class CountBasesWalker extends ReadWalker