I am analysing RNA-seq data and I require read/allele depth information for a particular base position (I need this information for about 50 positions scattered around the genome in 8 individuals). As variant callers only give read depth information for variants, most of the positions I need are not SNV's in many of my samples (they are reference homozygotes) and so will not be called by variant callers. VCF files give the information I need but only for variants. Does anybody know a way I can get this information quickly? I really do not want to go into IGV and manually look for allele depth for by 50 bases in all 8 samples. Any help will be very appreciated. Thanks
Will this provide a read depth for every base in my bam file?
Yes it can.
Use
mosdepth
( https://github.com/brentp/mosdepth ) for faster turnaround.In the end I used samtool depth a1.bed f1.bam, f2.ba etc.... a1.bed is a bed file with my positions. This worked perfectly! Thank you very much for your help.