I have a highly repetitive, 3x versions of chromosome containing reference with a great deal of similarity to map to.
I've mapped reads using bowtie2 but want to exclude those of reads that could have mapped to two or more locations so were not identified a unique position. I was thinking best way was to filter SNP calling i.e. samtools mpileup based upon mapping score as the better the mapping the higher the score? But I don't know what value of mapping score (-q) to start filtering from because I don't know the scale or any experience where to start from. Any advise helpful.
Thanks
You're thinking of tophat2, bowtie2 produces smooth MAPQs.
Yup you are right. My bad. In that case going with a MAPQ of 20 will be better. Though this is not the best approach but it should be fine.
So 20 for Bowtie2 and BWA?
I will go with 20 for both.