skoblov-lab / spliceai-reforged

A GPU-friendly implementation of SpliceAI
10 stars 2 forks source link

IndexError #3

Open Luobiny opened 2 years ago

Luobiny commented 2 years ago

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