KeyError: "['GIMC5015'] not in index"
0
0
Entering edit mode
2.1 years ago
Neel ▴ 20

Hi, I'm trying to run roary_plot.py and i got this error.. Please help me if anyone know anything about it.

python3.6 roary_plots.py accessory_binary_genes.fa.newick gene_presence_absence.csv Traceback (most recent call last): *

File "roary_plots.py", line 112, in <module> roary_sorted = roary_sorted[[x.name for x in t.get_terminals()]] File "/home/neel@m95/.local/lib/python3.6/site-packages/pandas/core/frame.py", line 2912, in __getitem__ indexer = self.loc._get_listlike_indexer(key, axis=1, raise_missing=True)[1] File "/home/neel@m95/.local/lib/python3.6/site-packages/pandas/core/indexing.py", line 1254, in _get_listlike_indexer self._validate_read_indexer(keyarr, indexer, axis, raise_missing=raise_missing) File "/home/neel@m95/.local/lib/python3.6/site-packages/pandas/core/indexing.py", line 1304, in _validate_read_indexer raise KeyError(f"{not_found} not in index") KeyError: "['GIMC5015'] not in index"

*

Thank you

roary • 843 views
ADD COMMENT
1
Entering edit mode

Your tip labels should be the same as in the gene presence-absence matrix.

ADD REPLY
0
Entering edit mode

Thank you so much

ADD REPLY

Login before adding your answer.

Traffic: 2512 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6