I can get their LOC number from gene search. Can i get them easily? u know?
• 0 views
•
link
Can I easily download the LOC... numbers of the genes of the peptide sequences? Anyone know about this? Or should I do it by entering the XP codes one by one?
Using Entrezdirect:
$ for i in `cat id`; do printf "${i}\t"; esearch -db protein -query ${i} | elink -target gene | esummary | xtract -pattern DocumentSummary -element Name; done
XP_021978004.1 LOC110873394
XP_021981154.1 LOC110877312
XP_021981634.1 LOC110877745
XP_021982728.1 LOC110878680
XP_021982746.1 LOC110878702
XP_021983621.1 LOC110879465
id file contained your identifiers. One per line.
Log in to answer this question.
Provide examples of XP id's and I can possibly show you one way.
XP_021978004.1 XP_021981154.1 XP_021981634.1 XP_021982728.1 XP_021982746.1 XP_021983621.1
they are some example XP codes.