My goal is to align Illumina reads to the reference genome and look at variants within each read. The eventual goal is to look at co-occurrence of variants on the two side of the paired end read, in a metagenomic sample.
I found many tools that would call variants from the whole sample: iVar, bcftools+samtools, etc. However, I need variants called for every read
I also found that minimap2 can output the "--cs" tag in bam files. But that seems to be far from the proper variant calls (A25101G would be what I need).
so you want to look at each paired read and detect each SNV occuring in the overlapping interval ?
I want to look at each paired read and detect each SNV occurring in the read. Paired end sequencing is used just to increase a chance of a read hitting several SNPs with one read.