Based on the ENSEMBL GTF file, I counted the number of exons per gene as follows:
awk '$3 == "exon" {print}' Homo_sapiens.GRCh38.108.gtf | gffread -F --keep-exon-attrs --table "gene_id","transcript_id",@numexons | sort -k1,1 | datamash -sg1 max 3 > gene_lists/exons_per_gene.txt
An extract of the output is:
ENSG00000034677 11
ENSG00000034693 12
ENSG00000034713 4
ENSG00000034971 4
However, when I check the ENSG00000034713 ENSEMBL site, I count 5 exons. Why is this different?