Hello,
I have a vcf file that instead of the number of the chromosomes, I have the gene IDs, such as this:
ENSGALG00000000011|ENSGALT00000000012|57|1123|1125
ENSGALG00000000011|ENSGALT00000000012|57|1123|1125
ENSGALG00000000011|ENSGALT00000000012|57|1123|1125
I want to know to which chromsome each of these gene IDs belong and extract all the genes that belong to the Z or W chromosome. Indeed, one way is to search for each gene ID in Ensemble but there are more than 7000 genes. I was wondering whether there is any automatic way of doing this.
Thank you very much in advance, Cheers, Sandra
The answer to most "map ID X to ID Y" questions is BioMart; see answer from lelle and numerous other answers at this site.