I have paired end 101 bp reads for some yeast strains. I am currently using bwa to map reads and the GATK to call and filter SNPs and indels. For various reasons I would like to only deal with uniquely mappable reads. I would also like to know which regions of the genome are uniquely mappable.
Are there simple ways to do this?
Can I simply do the following...
samtools -bS -q 1 input.sam > output.bam
when doing my sam to bam conersions? Is there a more appropriate value than 0 for the "-q" argument?
In order to find non-uniquely mappable regions i found every 101 bp sequence in the reference genome and made a fastq of them. I then aligned these and filtered them for MAPQ scores of greater than 0. using the command shown above.
Is this an appropriate method? Is there a different standard method I should be applying?
Thanks so much.
Are there simple ways to do this?
Can I simply do the following...
samtools -bS -q 1 input.sam > output.bam
when doing my sam to bam conersions? Is there a more appropriate value than 0 for the "-q" argument?
In order to find non-uniquely mappable regions i found every 101 bp sequence in the reference genome and made a fastq of them. I then aligned these and filtered them for MAPQ scores of greater than 0. using the command shown above.
Is this an appropriate method? Is there a different standard method I should be applying?
Thanks so much.
Comment