In recent release of Homo_sapiens.GRCh38.109.gtf, there is no "gene_name" in some lines.
If I use "gtftools --gene gene Homo_sapiens.GRCh38.109.gtf" , it will throw an error.
File "/APP/mambaforge/envs/p2/lib/python2.7/site-packages/gtftools/gtftools.py", line 267, in get_gene_bed
symbol = line.split('gene_name')[1].split('"')[1].upper()
IndexError: list index out of range)
if no gene_name in gtf
In recent release of Homo_sapiens.GRCh38.109.gtf, there is no "gene_name" in some lines. If I use "gtftools --gene gene Homo_sapiens.GRCh38.109.gtf" , it will throw an error.