Skip to content

All-vs-all PAF adapter #4985

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

All-vs-all PAF adapter #4985

wants to merge 2 commits into from

Conversation

cmdcolin
Copy link
Collaborator

@cmdcolin cmdcolin commented May 1, 2025

This is an experimental stub for an "all vs all" PAF adapter. It is similar to the normal PAF adapter, except it assumes all refNames are prefixed with a assembly name

All-vs-all PAF can be produced by concatenating multiple genome assemblies into a single FASTA file, and running

minimap2 file.fa file.fa > out.paf

A command similar to the above is run by the PGGB workflow as a step (https://github.com/pangenome/pggb)

It is often advisable to include the assembly name in the FASTA file, so there is the PanSN spec that recommends prepending the assembly name (and haplotype number), example tool https://github.com/ekg/fastix

I ran this with about 14 different c.elegans assemblies and results look like this

image

Potentially this type of workflow can be leveraged to produce multi-way synteny visualizations in a more intuitive way. Instead of a user having to configure A vs B and B vs C manually, it is just known that all comparisons exist, so it can be automatically prepared.

Not all situations have all vs all, but for those that do, this can work

@cmdcolin
Copy link
Collaborator Author

cmdcolin commented May 1, 2025

Another example showing the all-vs-all PAF (top) versus the multi-sample VCF (bottom) of the same region

image

@cmdcolin
Copy link
Collaborator Author

cmdcolin commented May 1, 2025

There could be a need for a 'multi-lgv synteny display', this would put each alignment data in it's own 'row'

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

Successfully merging this pull request may close these issues.

1 participant