bamtocov icon indicating copy to clipboard operation
bamtocov copied to clipboard

It will be very useful to add an option "--rpm" to allow users to calculate the Reads per million mapped reads

Open kerenzhou062 opened this issue 3 years ago • 4 comments

kerenzhou062 avatar Dec 24 '21 02:12 kerenzhou062

Is this related to #6, and specifically, are you interested in read counts (counting the number of reads mapped) in both issues rather than nucleotide coverage?

telatin avatar Dec 27 '21 15:12 telatin

Is this related to #6, and specifically, are you interested in read counts (counting the number of reads mapped) in both issues rather than nucleotide coverage?

Hi telatin,

these are two independent issues. Both of them are preferred with read counts (per base is covered by how many reads). For example, if 3,000,000 reads were sequenced in total, chr1:123-123 covered by 3,00 reads, the RPM for this base will be 100.

Best, Keren

kerenzhou062 avatar Dec 27 '21 17:12 kerenzhou062

Ok, consider that bamtocov computes nucleotide coverage, while bamtocounts focuses on read counts on a target, and it has some options for normalization already built-in.

telatin avatar Dec 27 '21 18:12 telatin

Ok, consider that bamtocov computes nucleotide coverage, while bamtocounts focuses on read counts on a target, and it has some options for normalization already built-in.

Oh, I must misunderstand the read counts and nucleotide coverage. Both of these #6 and #7 are preferred with nucleotide coverage.

See the same example above, if 3,000,000 reads were sequenced in total, chr1:123-123 covered by 300 reads, then the nucleotide coverage and RPM for this base (chr1:123-123) will be 300 and 100.

Best,

kerenzhou062 avatar Dec 27 '21 22:12 kerenzhou062