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

Can I use pangraph for MAGs? #29

Open
SilasK opened this issue Mar 25, 2022 · 3 comments
Open

Can I use pangraph for MAGs? #29

SilasK opened this issue Mar 25, 2022 · 3 comments

Comments

@SilasK
Copy link

SilasK commented Mar 25, 2022

I wonder if it is possible to use pangraph for metagenome assembled genomes which are usually highly fragmented.

@mmolari
Copy link
Collaborator

mmolari commented Mar 30, 2022

I think in principle one could pass a set of fasta file, in which every record is a contig. At the moment we don't have an option for fragmented genomes, at the current state Pangraph would interpret every contig as a separate genome. Homologous contigs would still be merged in blocks (provided that they are not too small, or too diverged) but every contig would appear as separate "path" in the graph.
My guess is that this might be informative if restricted to long contigs (>10kbp?). But not very much for the shorter ones (<1kbp?). Hope this helps!

@SilasK
Copy link
Author

SilasK commented Mar 31, 2022

If i connect all contigs with NNNNs it will output a wholy conplicated graph, wouldn'it?

I have dificultiy to imagine thatbyou have many fully complete bacterial genomes .

@mmolari
Copy link
Collaborator

mmolari commented Mar 31, 2022

Yes this is also an option. If you connect contigs with long stretches of N's then one path would correspond to one set of contigs. This will however introduce spurious edges in the graph (these artificial connections between contigs), but homologous stretches of sequence should still be merged into one block. I haven't tested this yet though.

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