Skip to content

KeyError 50 #5

@rebeelouise

Description

@rebeelouise

Traceback (most recent call last):
File "/home/hlrpenri/anaconda3/bin/counterr", line 12, in
sys.exit(main())
File "/home/hlrpenri/anaconda3/lib/python3.7/site-packages/counterr/counterr.py", line 128, in main
qs, nums_match_q, nums_sub_q, nums_ins_q, nums_err_q, nums_tot_q = phredQ_vs_error(alns, verbose=verbose)
File "/home/hlrpenri/anaconda3/lib/python3.7/site-packages/counterr/counters.py", line 390, in phredQ_vs_error
Q_dict[q][cig[i]] += 1
KeyError: 50

Hi - I'm a bit of a coding noob, I've come across this error - half of the figures have been generated.
Could you help me resolve 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