You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/opt/conda/bin/scAllele", line 8, in
sys.exit(main())
File "/opt/conda/lib/python3.9/site-packages/scAllele/scAllele.py", line 388, in main
RCs = gqv_bam_utils.find_read_clusters(bam_file, options, chrom, fetch_start, fetch_end)
File "/opt/conda/lib/python3.9/site-packages/scAllele/gqv_bam_utils.py", line 196, in find_read_clusters
new_read = remove_homopolymer_ends(read, r_blocks)
File "/opt/conda/lib/python3.9/site-packages/scAllele/gqv_bam_utils.py", line 397, in remove_homopolymer_ends
aligned_qual = read.query_alignment_qualities[prefix : sufix]
TypeError: 'NoneType' object is not subscriptable
The text was updated successfully, but these errors were encountered:
It seems some reads in your bam file don't have a base quality string.
You will need to remove such reads as scAllele needs the base quality information to score variants.
Error message:
Traceback (most recent call last):
File "/opt/conda/bin/scAllele", line 8, in
sys.exit(main())
File "/opt/conda/lib/python3.9/site-packages/scAllele/scAllele.py", line 388, in main
RCs = gqv_bam_utils.find_read_clusters(bam_file, options, chrom, fetch_start, fetch_end)
File "/opt/conda/lib/python3.9/site-packages/scAllele/gqv_bam_utils.py", line 196, in find_read_clusters
new_read = remove_homopolymer_ends(read, r_blocks)
File "/opt/conda/lib/python3.9/site-packages/scAllele/gqv_bam_utils.py", line 397, in remove_homopolymer_ends
aligned_qual = read.query_alignment_qualities[prefix : sufix]
TypeError: 'NoneType' object is not subscriptable
The text was updated successfully, but these errors were encountered: