Hi, I am running into the following error after annotating a few thousand variants in a VCF:
File "bin/spliceai.py", line 134, in spliceai
distance, mask, batch
File "processing.py", line 237, in annotate
preprocessed = [preprocess(reference, dist_var, var) for var in variants]
File "splicelib/processing.py", line 237, in
preprocessed = [preprocess(reference, dist_var, var) for var in variants]
File "splicelib/processing.py", line 95, in preprocess
x_ref = one_hot_encode(ref_pad)
File "splicelib/utils.py", line 27, in one_hot_encode
return BASE_MAP[np.frombuffer(translated, np.int8)]
IndexError: index 77 is out of bounds for axis 0 with size 5
Hi, I am running into the following error after annotating a few thousand variants in a VCF:
File "bin/spliceai.py", line 134, in spliceai distance, mask, batch File "processing.py", line 237, in annotate preprocessed = [preprocess(reference, dist_var, var) for var in variants] File "splicelib/processing.py", line 237, in
preprocessed = [preprocess(reference, dist_var, var) for var in variants]
File "splicelib/processing.py", line 95, in preprocess
x_ref = one_hot_encode(ref_pad)
File "splicelib/utils.py", line 27, in one_hot_encode
return BASE_MAP[np.frombuffer(translated, np.int8)]
IndexError: index 77 is out of bounds for axis 0 with size 5