We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I like the cs-string optionally generated by minimap2 to assess mismatches. Can we get the option to generate cs-strings in mappy as well?
The text was updated successfully, but these errors were encountered:
It is hard to expose the cs tag to mappy due to the internal data structure of minimap2/mappy. I will think about it but can't make promise.
Sorry, something went wrong.
Done on the master branch. To enable the cs output, you need to add cs=True when calling Aligner.map(). Mappy doesn't write cs by default.
cs=True
Aligner.map()
a = mp.Aligner("ref.fa") for hit in a.map(seq, cs=True): print("{}\t{}\t{}\t{}".format(hit.ctg, hit.r_st, hit.r_en, hit.cigar_str))
I am closing this issue. If you see bugs, please create a new issue. Thank you.
No branches or pull requests
I like the cs-string optionally generated by minimap2 to assess mismatches. Can we get the option to generate cs-strings in mappy as well?
The text was updated successfully, but these errors were encountered: