Skip to content

ID attribute on CDS maketh error while running liftoff #110

@Yoonsung1203

Description

@Yoonsung1203

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions