This is a test version of Biostars. For the public version, visit https://www.biostars.org.
What Does Lowercase Base Mean?(The Result From Samtools Pileup Output)

By running the command:

samtools pileup -cf ref.fa aln.bam | samtools.pl pileup2fq -D100 > cns.fastq

I found that there are a lot of lowercase base such as agctn. So the fastq file is a a mixture of upper case bases and lowercase bases! Does it mean lowercase base letter have a poor quality?Should they be discarded or translated to upper case? If I am am going to discard them, what option or method?

Thanks.

Updated per suggestion.

samtools fastq

Can you (or someone else) please edit this question so as (1) it says "lowercase base" not "lower base" and (2) the title is meaningful (i.e. it mentions samtools pileup output). I'd do it myself but it's better if people learn to improve their own questions.

@neilfws, what do you mean wit improving the question?, it couldn't be clearer

1 answer

The output from the pileup matches the case in your fasta. So your ref.fa must have mixed case.

Log in to answer this question.