Skip to content

[BUG] KeyError during anvi-refine #2474

@alexanderjaffe

Description

@alexanderjaffe

Hi team,

I am trying to run anvi-refine (v7) on a set of bin-level contig/profile splits and keep encountering an HMM KeyError when running the anvi-refine command, e.g.:

[ajaffe@sh03-ln03 login /scratch/users/ajaffe/ocdata/anvio/refine]$ singularity exec /home/groups/dekas/software/anvio/anvio_7.sif anvi-refine -p /scratch/users/ajaffe/ocdata/anvio/profiles/split/A4500m50m/A4500m50m_157_fa/PROFILE.db -c /scratch/users/ajaffe/ocdata/anvio//profiles/split/A4500m50m/A4500m50m_157_fa/CONTIGS.db -C DEFAULT --show-all-layers --server-only -P 8080 Contigs DB ...................................: Initialized: /scratch/users/ajaffe/ocdata/anvio//profiles/split/A4500m50m/A4500m50m_157_fa/CONTIGS.db (v. 20) Traceback (most recent call last): File "/opt/conda/envs/anvioenv/bin/anvi-refine", line 124, in <module> d = interactive.Interactive(args) File "/opt/conda/envs/anvioenv/lib/python3.6/site-packages/anvio/interactive.py", line 211, in __init__ self.completeness = Completeness(self.contigs_db_path) File "/opt/conda/envs/anvioenv/lib/python3.6/site-packages/anvio/completeness.py", line 156, in __init__ hmm_hit = self.hmm_hits_table[entry['hmm_hit_entry_id']] KeyError: 2245

I have tried regenerating the split once or twice (read about race issues somehwere else on here) but that does not seem to resolve the issue. Any advice for how to regenerate the split profiles correctly, or just ignore HMM information during the refine call?

Thanks so much,

Alex

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions