How do I retrieve withdrawn or replaced gene id for homosapiens from ncbi gene ?
1
2
Entering edit mode
20 months ago
DareDevil ★ 4.3k

I want to retrieve withdrawn or replaced gene id for homosapiens from ncbi gene. I accessed the ftp site using this link.

The file gene_history.gz for all the organisms. But the file does not give organism information.

NCBI Eutils • 640 views
ADD COMMENT
3
Entering edit mode
20 months ago
MirianT_NCBI ▴ 760

Hi, The first column of the file is the taxid. For H. sapiens, the id is 9606. If you search for all the lines starting in 9606 and extract the values from the third column (Discontinued_GeneID), you should get a list of withdrawn taxids. Like this:

grep "^9606" gene_history | cut -f3 > Hsapiens_withdrawn-genes.txt

I hope it helps.

ADD COMMENT

Login before adding your answer.

Traffic: 2090 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6