Merck / Merck/deepbgc

Automatically re-annotate PFAM domains if they are incompatible

Open
#58 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Jupyter Notebook
Stars
161
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm running version 0.1.26 and I'm getting the same error as #47

part of error message is below:

ERROR   06/07 22:04:58   pfam_id
Traceback (most recent call last):
  File "/mnt/data/sbusi/antismash/.snakemake/conda/bf12a359/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 2656, in get_loc
    return self._engine.getloc(key)
  File "pandas/_libs/index.pyx", line 108, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/index.pyx", line 132, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/hashtable_class_helper.pxi", line 1601, in pandas._libs.hashtable.PyObjectHashTable.get_item
  File "pandas/_libs/hashtable_class_helper.pxi", line 1608, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'pfam_id'

Thank you for your help!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported failure on version 0.1.26 and trace the pandas KeyError for pfam_id. Then inspect the PFAM-domain annotation flow to determine how incompatible domains should be re-annotated; no repository file or test is named, so the expected behavior still needs to be defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
pandas, python
Domain
bioinformatics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.