Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gene positions not found #472

Closed
donkirkby opened this issue May 27, 2019 · 0 comments
Closed

Gene positions not found #472

donkirkby opened this issue May 27, 2019 · 0 comments

Comments

@donkirkby
Copy link
Member

In the MiCall resistance on 89295A run as part of 180504_M01841 v7.10, I got the following error:

Traceback (most recent call last):
  File "/opt/micall/micall_kive_resistance.py", line 62, in <module>
    main()
  File "/opt/micall/micall_kive_resistance.py", line 59, in main
    sample_group.process_resistance(RunInfo([sample_group]))
  File "/opt/micall/micall/drivers/sample_group.py", line 47, in process_resistance
    resistance_consensus_csv=resistance_consensus_csv)
  File "/opt/micall/micall/resistance/resistance.py", line 560, in report_resistance
    filtered_aminos = filter_aminos(aminos, algorithms)
  File "/opt/micall/micall/resistance/resistance.py", line 288, in filter_aminos
    all_aminos = list(all_aminos)
  File "/opt/micall/micall/resistance/resistance.py", line 256, in read_aminos
    key_positions = asi_algorithm.get_gene_positions(region)
  File "/opt/micall/micall/resistance/asi_algorithm.py", line 249, in get_gene_positions
    for drug_class in self.gene_def[gene]:
KeyError: 'HCV6-EUHK2-NS3'

It's probably supposed to be looking up "NS3", instead of the whole reference name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant