I'm quite new in the world of bioinformatics and am self learning (no science degree). As the title of the post asks, how do I generate a list of every nucleotide that is present at any one given site? (a range would be great too) I'm looking for results similar to how IGV represents each site when you click on coverage.
My current commands are
bcftools mpileup -Ou -f SARS-CoV-2_reference.fasta {accession}.sorted.bam | bcftools call -mv -Ob -o {accession}.bcf
bcftools query -f '{accession} %REF%POS%ALT\n' {accession}.bcf
Thank you for your help!
I'm not quite sure it is that you are looking for, but I have you considered a bedgraph or wig file?
I prefer
bedtools coveragefor parsing out coverage info from abamfile, for info at https://bedtools.readthedocs.io/en/latest/content/tools/coverage.html