This is a test version of Biostars. For the public version, visit https://www.biostars.org.
bam-readcount output: is case significant?

I've noticed that the output for bam-readcount sometimes has bases in uppercase, sometimes lowercase. This is in the reference column, and also for additional columns (after A, C, G, T, N) for indels. Sometimes an indel is even given in mixed case (like "aaaTT").

What is the significance of case in the bam-readcount output?

next-gen bam-readcount

1 answer

Answering my own question (I think): the lower case bases originate in my reference FASTA file (soft masked repeats). I re-wrote my reference as all uppercase and the bam-readcount output also became all uppercase (but otherwise the same).

Can anyone confirm or deny that bam-readcount maintains case based on the content of "-f ref.fa"? ...just for the sake of my own sanity.

This is correct. It's looking up the info from your fastq.

Log in to answer this question.