Skip to content
New issue

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

NanoSim for tuning Minimap2 parameters? #195

Open
ammaraziz opened this issue Sep 4, 2023 · 2 comments
Open

NanoSim for tuning Minimap2 parameters? #195

ammaraziz opened this issue Sep 4, 2023 · 2 comments

Comments

@ammaraziz
Copy link

Hi there,

Thank you for creating and maintaining NanoSim, great tool.

Could nanosim be used to fine tune the parameters of Minimap2? If so do you have any recommendation on how to extract the relevant data to help inform parameter selection.

A non complete list of minimap2 params I'd like to fine tune:

  • Gap open penalty
  • Minimizer window size
  • Mismatching penalty

Thanks!

@kmnip
Copy link
Collaborator

kmnip commented Sep 4, 2023

That's an interesting proposition; I think it can be done.

First, you will need to simulate a set of reads (with simulator.py). Note that each simulated read has the corresponding source region coordinates encoded within its read name in the FASTQ file.
You can then align these simulated reads with minimap2 with a sweep of relevant parameters. You will need to check the accuracy of each alignment against the read name information mentioned previously.

@ammaraziz
Copy link
Author

Thanks for the advice.

Is it possible to use the profiles generated using the different modes to help guide the parameter selection?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants