pLM-BLAST icon indicating copy to clipboard operation
pLM-BLAST copied to clipboard

Re-implement graphical display of database search results

Open staszekdh opened this issue 2 years ago • 3 comments

Rewrite https://github.com/labstructbioinf/pLM-BLAST/blob/main/scripts/plot.py and integrate with the current version.

staszekdh avatar Nov 09 '23 11:11 staszekdh

The plot.py script seems to be broken for me:

$ python $PLMBLAST_PATH/scripts/plot.py output.csv query.fasta plot.png -mode score -ecod Traceback (most recent call last): File "/home/bin/pLM-BLAST/scripts/plot.py", line 82, in query_seq = query_df.loc[qid].sequence File "/home/resources/conda_envs/env_dirs/plmblast/lib/python3.10/site-packages/pandas/core/indexing.py", line 1103, in getitem return self._getitem_axis(maybe_callable, axis=axis) File "/home/resources/conda_envs/env_dirs/plmblast/lib/python3.10/site-packages/pandas/core/indexing.py", line 1343, in _getitem_axis return self._get_label(key, axis=axis) File "/home/resources/conda_envs/env_dirs/plmblast/lib/python3.10/site-packages/pandas/core/indexing.py", line 1293, in _get_label return self.obj.xs(label, axis=axis) File "/home/resources/conda_envs/env_dirs/plmblast/lib/python3.10/site-packages/pandas/core/generic.py", line 4095, in xs loc = index.get_loc(key) File "/home/resources/conda_envs/env_dirs/plmblast/lib/python3.10/site-packages/pandas/core/indexes/range.py", line 349, in get_loc raise KeyError(key) KeyError: 'g001590.m1_alloascoidea_hylecoeti

`

DaRinker avatar Sep 13 '24 14:09 DaRinker

@DaRinker Thank you for reporting this issue. Could you please send me the data (query, command) to reproduce the problem? (here or if it is sensitive to my mail [email protected])

staszekdh avatar Sep 13 '24 14:09 staszekdh

@DaRinker Thank you for providing the sample data. The issue should now be resolved.

staszekdh avatar Sep 19 '24 13:09 staszekdh