sei-framework
sei-framework copied to clipboard
UnboundLocalError: local variable 'i' referenced before assignment
Hi, I was trying to predict the chromatin profiles by running sh 1_sequence_prediction.sh $input_filepath $genome_version $outdir --cuda
but got the following errors. Can anyone helps for this? Thanks in advance.
Input argments: test.vcf test hg19 --cuda
use_cuda: True
Setting random seed = 999
Traceback (most recent call last):
File "1_sequence_prediction.py", line 73, in
Hi @ghm17 , what version of selene are you using? This might be a bug that we fixed in the latest version.
The selene version is 0.5.1.
Change the file suffix to .fa or .fasta.
Thanks @lihaicheng7003 good catch -- @ghm17 did you ever figure this out? From your error it looks like you are passing in a VCF to sequence prediction, when VCF should be used with the variant effect prediction scripts?