Skip to content

Assertion error when trying to run with --resistance #69

@lknegendorf

Description

@lknegendorf

I tried running Kleborate v2.3.2 on a LinusMint 21.1 system using the --resistance option and got an Assertion Error:

Traceback (most recent call last):
File "/home/nanopore/Kleborate/./kleborate-runner.py", line 22, in
main()
File "/home/nanopore/Kleborate/kleborate/main.py", line 64, in main
results.update(get_resistance_results(data_folder, contigs, args, res_headers,
File "/home/nanopore/Kleborate/kleborate/main.py", line 570, in get_resistance_results
res_hits = resblast_one_assembly(contigs, gene_info, qrdr, trunc, omp, seqs,
File "/home/nanopore/Kleborate/kleborate/resBLAST.py", line 32, in resblast_one_assembly
hits_dict = blast_against_all(seqs, min_cov, min_ident, contigs, gene_info,
File "/home/nanopore/Kleborate/kleborate/resBLAST.py", line 115, in blast_against_all
aa_result = check_for_exact_aa_match(seqs, hit, contigs)
File "/home/nanopore/Kleborate/kleborate/resBLAST.py", line 189, in check_for_exact_aa_match
assert hit_seq == gene_nucl_seq
AssertionError

I would be really happy about any suggestions how to fix this.

Metadata

Metadata

Assignees

No one assigned

    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