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

Add SV for Single end ONT reads #210

Open
saranya-work opened this issue Aug 8, 2022 · 3 comments
Open

Add SV for Single end ONT reads #210

saranya-work opened this issue Aug 8, 2022 · 3 comments

Comments

@saranya-work
Copy link

Hi Adam,

Thanks for the wonderful tool. I am trying to add a 8977 bp deletion in a BAM file aligned with ONT reads. I get the following error :

INFO 2022-08-08 14:27:09,208 chr5_70936274_70945251_DEL interval: chr5 70936274 70945251 DEL 1.0
INFO 2022-08-08 14:27:09,208 chr5_70936274_70945251_DEL length: 8977
INFO 2022-08-08 14:27:09,632 chr5_70936274_70945251_DEL discordant fraction: 1.000000
WARNING 2022-08-08 14:27:09,633 chr5_70936274_70945251_DEL discordant fraction > 0.100000 aborting mutation!

Is there a parameter that I can use for single-end reads for creating synthetic deletions?

Thanks,
Saranya

@adamewing
Copy link
Owner

Hi, If you're wanting to make mutations in a long-read genome (ONT) you could try addindel.py with the options --aligner minimap --alignopts x:map-ont --single --force and see how you go. Define the deletion you want to make as you would for an indel rather than as an SV e.g. chr5 70936274 70945251 1.0 DEL.

@saranya-work
Copy link
Author

Thank you. Will try this.

@saranya-work
Copy link
Author

Hello,

When I try with the option minimap, I get the following error -
ValueError: ERROR unsupported aligner: minimap
I use v1.3. Please let me know if I should pull for the latest code.

Thanks,
Saranya

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