samplot icon indicating copy to clipboard operation
samplot copied to clipboard

GRCh38 Gene Annotation

Open yueyaog opened this issue 3 months ago • 0 comments

Hi,

Thanks for developing this super informative visualization package! I was wondering if you could provide a working example of a GRCh38 GFF3 track. I’ve run into issues when trying to add a GRCh38 GFF3 track to samplot. The errors I see are either KeyError: Name or KeyError: Parent.

I noticed a few related issues have been posted in this repo: • https://github.com/ryanlayer/samplot/issues/190 • https://github.com/ryanlayer/samplot/issues/196

I understand this is meant to be user-supplied, but it would be really helpful if the README included a working GRCh38 GFF3 example (similar to the GRCh37 example).

wget ftp://ftp.ensembl.org/pub/grch37/release-84/gff3/homo_sapiens/Homo_sapiens.GRCh37.82.gff3.gz
bedtools sort -i Homo_sapiens.GRCh37.82.gff3.gz \
| bgzip -c > Homo_sapiens.GRCh37.82.sort.gff3.gz
tabix Homo_sapiens.GRCh37.82.sort.gff3.gz

Thanks, Gao

yueyaog avatar Sep 29 '25 19:09 yueyaog