This is a test version of Biostars. For the public version, visit https://www.biostars.org.
HISAT2: does the parameter -k 1 means unique mapping?

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!

hisat2

Thank you very much, genomax, these posts are very helpful.

1 answer

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.

Hi, WouterDeCoster, thank you very much for your explanations.

Is it incorrect to include all reads even those that map >1 times? I have always kept uniquely mapped. Also is there an option to keep only uniquely mapped using HISAT2?

Log in to answer this question.