Skip to content

[BUG] Error using IsoAnnotLite with gencode gff3 #461

@VandaLovejoy

Description

@VandaLovejoy

Is there an existing issue for this?

  • I have searched the existing issues

Have you loaded the SQANTI3.env conda environment?

  • I have loaded the SQANTI3.env conda environment

Problem description

Hello,
im getting this error message. Why is this? python3 IsoAnnotLite_SQ3.py ~/projects/sg_nex/sqanti3_results/sqanti3_output_with_ref_corrected.gtf ~/projects/sg_nex/sqanti3_results/sqanti3_output_with_ref_classification.txt ~/projects/sg_nex/sqanti3_results/sqanti3_output_with_ref_junctions.txt -gff3 gencode.v48.annotation.gff3 -o myAnnotation -novel -stdout outdir

Running IsoAnnot Lite 2.7.3 (using all gene information) ...
Reading reference annotation file and creating data variables...
Traceback (most recent call last):
File "/home/vandalovejoy/tools/sqanti3/release_sqanti3/src/utilities/IsoAnnotLite_SQ3.py", line 3222, in
main()
File "/home/vandalovejoy/tools/sqanti3/release_sqanti3/src/utilities/IsoAnnotLite_SQ3.py", line 3062, in main
run(args)
File "/home/vandalovejoy/tools/sqanti3/release_sqanti3/src/utilities/IsoAnnotLite_SQ3.py", line 3116, in run
dc_GFF3, dc_GFF3exonsTrans, dc_GFF3transExons, dc_GFF3coding, dc_GFF3strand, dc_GFF3geneTrans, dc_GFF3transGene, dc_GFF3geneNameTrans, dc_GFF3_raw_annot, dc_gene_description = readGFF(gff3) #dc_GFF3exons is sorted
^^^^^^^^^^^^^
File "/home/vandalovejoy/tools/sqanti3/release_sqanti3/src/utilities/IsoAnnotLite_SQ3.py", line 324, in readGFF
g_name = text[1][5:-1] #delete "NAME=" and final ";" == GENE
~~~~^^^
IndexError: list index out of range

Thank you

Code sample

No response

Error

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

triageFor developers to check

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions