Hello,
while I was utilizing the recent GFF file for gene annotation on my genome assembly with Liftoff, the error raised as below:
UnboundLocalError: cannot access local variable 'feature_db' where it is not associated with a value
It seems the ID attribute on CDS features of chromosome Y (ex- ID=XP_011529739.1 on chromosome Y) is the cause of this error.
The multiple CDS lines on the GFF file exist with the same ID attribute, which causes non-unique IDs while loading the GFF file.
After removing the ID tags from the CDS feature, liftoff runs without error.
If it were not the case that you intended to mark something else, it would be better to fix those lines.
Thank you.