PeteHaitch / methtuple

methtuple is a methylation caller for methylation events that co-occur on the same DNA fragment from high-throughput bisulfite sequencing data, such as methylC-seq.
MIT License
12 stars 3 forks source link

Write `QNAME` of reads that failed QC to a separate file #50

Closed PeteHaitch closed 10 years ago

PeteHaitch commented 10 years ago

Rather than just output these to STDOUT, create a file of the QNAME and the reason a read was filtered out during QC steps. Add the option to not create this file which instead would direct this output to /dev/null

PeteHaitch commented 10 years ago

Reasons that reads can fail QC:

This will be simplified to the following categories:

PeteHaitch commented 10 years ago

Reads that fail QC will be written to the file <sampleName>.reads_that_failed_QC.txt along with a message describing why the read failed. It might be a good idea to gzip this file to save space.

Additionally, a tally of the number of reads that failed each QC step will be reported to STDOUT.