Skip to content

Add a new genome to a Panaroo graph #153

Description

@fabgenomics

Hi,
I'm using a lot panaroo for a research project. I generated a gene_presence_absence matrix from 1500 bacterial genomes.
Then I used this matrix to train a supervised machine learning model. I got a decent accuracy so I wanted to dig in.
My interest now is to use the generated graph to include a new genome, extract the data from the new genome and do some prediction.
The problem behind the panaroo-integrate command is that all the groups are renamed in an order that is different from the original matrix.
For instance, in the whole matrix, the group_5637 represent the gene hemB but when I add a genome with panaroo-integrate the hemB gene is now in group_695.
As I'm only keeping some of the group for my trainning and predicting process, I would like to keep them identical when adding a genome. I want the group_5637 to represent the same hemB gene.
Is it dificult for you to implement this in the panaroo-integrate code ?
Thanks for all your work,
Fabien

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions