Technical note · SAMtools and FreeBayes
Inspecting RNA-seq variant evidence
When a mutation list and a variant-call file disagree, I start with a simpler question: what reads actually overlap the locus?
Inspect the interval before interpreting the call
Check that the BAM, reference FASTA, and reported coordinates use the same assembly and contig names. With an indexed BAM, SAMtools view can show alignments overlapping an interval. Use the read sequence, alignment, CIGAR, and base quality together; overlap alone does not mean a read supports the alternate allele.
# Illustrative coordinates; replace with the actual region and reference.
samtools view example.bam chr1:100001-100020
freebayes -f reference.fa -r chr1:100000-100020 example.bam
SAMtools region strings are one-based and inclusive; FreeBayes uses a zero-based, half-open interval for its region option. The two example intervals cover the same reference bases.
Count molecules carefully
When paired reads overlap the same position, agreement between mates is evidence from one fragment, not two independent observations. Check mapping and base quality, duplicates, and depth before interpreting a fraction. A missing VCF record can reflect insufficient usable evidence or filtering. In RNA, even a confident call describes expressed evidence; it does not by itself determine DNA genotype or whether a variant is somatic.