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

Gradual increase of pan-genomes #364

Open
Tonitsk8264 opened this issue Dec 15, 2023 · 1 comment
Open

Gradual increase of pan-genomes #364

Tonitsk8264 opened this issue Dec 15, 2023 · 1 comment

Comments

@Tonitsk8264
Copy link

Dear Developer.

I have a question about PGGB pan-genome construction. I hope you can help me answer:

Does PGGB support gradual increase? For instance, by initially building a pan-genome 'Pn' using n sequences, and subsequently adding a new sequence labeled 'x' to extend the pan-genome from 'Pn' to 'Pn+1', instead of starting the construction of the pan-genome from scratch with these n+1 sequences.

Looking forward to your reply

@subwaystation
Copy link
Member

Dear @Tonitsk8264,

PGGB does not support gradual interations of graph buildings. It is all or nothing. You could use GraphAligner to map your additional sequences, convert the mappings to BED and inject these as paths with odgi inject. However, GraphAligner is usually slow with PGGB graphs and it this would break the all-vs-all assumption.

What you could do is to run the pairwise alignments only for the newly introduced sequences. Then you can give SEQWISH the resulting PAF and the one previously created. From here continue PGGB as a usual run.

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