Maybe it's worth pointing out that GTF is identical to GFF2 and GFF2 is deprecated. So, other things being equal, go for GFF3, often referred to as just GFF. Did I get it right?
I am trying to use GRange for mapping snps to gene around 100kb. But I do not know how to download homo sapiens gene locations file including ensembl gene id, chr, start and end?
Thank you in advance!
3 answers
Using BioMart is still the easy way since there would be further manipulations needed to get the information OP wants from these files.
Hi genomax- I agree. However, I think the advantage of going for a direct link is that you can stick in your documentation or script something like wget ftp://ftp.ensembl.org/pub/release-92/gff3/homo_sapiens/Homo_sapiens.GRCh38.92.chr.gff3.gz and that makes self-explanatory what data you are referring to. In my experience (maybe it's just me of course...!) with layers like BioMart either you have to be quite diligent in documenting what you have done or you end up with data that you can be sure how you got.
Using BioMart at Ensembl. Here is a link for a BioMart video tutorial.
Log in to answer this question.