Hi, everyone,
The -k <int>
parameter in HISAT2 is explained by the following in the manual: It searches for at most <int> distinct, primary alignments for each read.
If I use -k 1
, does it mean unique mapping? Thank you very much!
Hi, everyone,
The -k <int>
parameter in HISAT2 is explained by the following in the manual: It searches for at most <int> distinct, primary alignments for each read.
If I use -k 1
, does it mean unique mapping? Thank you very much!
As far as I understood it will then only produce 1 alignment per read - even if there are multiple locations in the genome to which that read would fit. So you would indeed get unique mappings, but that's cheating and incorrect.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
See this for more: Does Bowtie2 Preform Unique Mapping
If you are interested in removing multi-mapped reads then see @Devon's answer here: How to extract unique mapped results from Bowtie2 bam results?
Thank you very much, genomax, these posts are very helpful.