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

KeyError: ('Y', 'C') #11

Open
ultimateabhi719 opened this issue May 15, 2023 · 1 comment
Open

KeyError: ('Y', 'C') #11

ultimateabhi719 opened this issue May 15, 2023 · 1 comment

Comments

@ultimateabhi719
Copy link

I am getting the following key error while running the default Full mode of the program. Is there anything you could tell me about the error?

...Processing contig chr10:123730140-127408506 Length = 3678366
multiprocessing.pool.RemoteTraceback:

Traceback (most recent call last):                                                                                                                                                           
  File "/usr/lib/python3.8/multiprocessing/pool.py", line 125, in worker                                                                                                                     
    result = (True, func(*args, **kwds))                                                                                                                                                     
  File "/usr/local/lib/python3.8/dist-packages/scAllele/scAllele.py", line 68, in process_read_cluster_1                                                                                     
    SetOfVariants = gqv_utils.assign_vars_to_reads(Src_Snk_pairs, SetOfReadIndexes,                                                                                                          
  File "/usr/local/lib/python3.8/dist-packages/scAllele/gqv_utils.py", line 66, in assign_vars_to_reads                                                                                      
    RI_alignment, var_list = _find_best_read_path(Read_Index, REF_INDEX, all_paths,                                                                                                          
  File "/usr/local/lib/python3.8/dist-packages/scAllele/gqv_utils.py", line 337, in _find_best_read_path                                                                                     
    VAROBJ_ED = gqv_vartool.calculate_edit_distance(VAR, Junctions, REFPOS)                                                                                                                  
  File "/usr/local/lib/python3.8/dist-packages/scAllele/gqv_vartool.py", line 272, in calculate_edit_distance                                                                                
    editd, var_set = split_complex_var(var, Junctions, REFPOS)                                                                                                                               
  File "/usr/local/lib/python3.8/dist-packages/scAllele/gqv_vartool.py", line 309, in split_complex_var                                                                                      
    var_set, editd = edit_distance_function_internal_aln(var, Junctions, REFPOS)                                                                                                             
  File "/usr/local/lib/python3.8/dist-packages/scAllele/gqv_vartool.py", line 546, in edit_distance_function_internal_aln                                                                    
    EDITVAL = calculate_edit_distance(_tmp_var, Junctions, REFPOS)                                                                                                                           
  File "/usr/local/lib/python3.8/dist-packages/scAllele/gqv_vartool.py", line 272, in calculate_edit_distance                                                                                
    editd, var_set = split_complex_var(var, Junctions, REFPOS)                                                                                                                               
  File "/usr/local/lib/python3.8/dist-packages/scAllele/gqv_vartool.py", line 298, in split_complex_var                                                                                      
    var_set, editd = edit_distance_function_msnp(var)                                                                                                                                        
  File "/usr/local/lib/python3.8/dist-packages/scAllele/gqv_vartool.py", line 330, in edit_distance_function_msnp                                                                            
    editd  += abs(_base_pair_score[(var.REF[i], var.ALT[i])])                                                                                                                                
KeyError: ('Y', 'C')             

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

  File "/usr/local/bin/scAllele", line 8, in <module>                                                                                                                                        
    sys.exit(main())                                                                                                                                                                         
  File "/usr/local/lib/python3.8/dist-packages/scAllele/scAllele.py", line 396, in main                                                                                                      
    for rc_output in pool.imap_unordered(process_read_cluster_1, ARGs): 
  File "/usr/lib/python3.8/multiprocessing/pool.py", line 868, in next
    raise value
KeyError: ('Y', 'C')
@giovanniquinones
Copy link
Contributor

Sorry for the very late reply.
We have addressed this issue in the current release.

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

No branches or pull requests

2 participants