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

KeyError issue when running roary_plots.py on nwk #624

Open
aryehjc opened this issue Aug 19, 2024 · 0 comments
Open

KeyError issue when running roary_plots.py on nwk #624

aryehjc opened this issue Aug 19, 2024 · 0 comments

Comments

@aryehjc
Copy link

aryehjc commented Aug 19, 2024

Hello,
I ran Roary on prokka files and then created a nwk tree on BVBRC, and then I ran my command as such

python3 /home/aryeh/roary_plots.py treeWithGenomeNames.nwk gene_presence_absence.csv

and obtained the error

raise KeyError(f"None of [{key}] are in the [{axis_name}]")
KeyError: 'None of [Index(['Tree"', 'Tree"', 'Tree"', 'Tree"', 'Tree"', 'D2013"', 'Tree"', 'Tree"',\n 'Tree"', 'Tree"', 'Tree"', 'Tree"', 'Tree"', 'Tree"', 'Tree"', 'Tree"',\n 'Tree"', 'Tree"', 'Tree"', 'Tree"', 'Tree"', 'Tree"', 'Tree"', 'Tree"',\n 'Tree"', 'Tree"', 'Tree"'],\n dtype='object')] are in the [columns]'

Please help thank you!

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

1 participant