Hello Neel,
Thank you for your question. There are a couple of ways to do this. The most efficient method would be to download the original GTF file from Ensembl, then use 'sed' to convert the Ensembl names into UCSC names with the following command:
wget -O /dev/stdout \
ftp://ftp.ensembl.org/pub/release-85/gtf/danio_rerio/Danio_rerio.GRCz10.85.gtf.gz \
| zcat | sed -e 's/^\([0-9]\)/chr\1/; s/^MT/chrM/; s/^\(KN[0-9][0-9]*\).\([0-9]\)/chrUn_\1v\2/;' \
| gzip -c > danRer10.ensGene.gtf.gz
Alternatively, you could use the Table Browser and select "selected fields from primary and related tables" as your output format, then join the fields from the ensGtp or ensemblToGeneName tables. This output, however, will not be in GTF format.
If you have any further questions, please reply to
gen...@soe.ucsc.edu. All messages sent to that address are
archived on a publicly-accessible forum. If your question includes
sensitive data, you may send it instead to
genom...@soe.ucsc.edu.
Regards,