This is a test version of Biostars. For the public version, visit https://www.biostars.org.
NCBI refseq ids to uniprot ids

I have protein ids from refseq NCBI database. I want the corresponding uniprot ids through command line tool. Please help me to get the code. Thanks

refseq uniprot

please, review all your previous questions and mark them answered if needed . (green tick on the left)

2 answers

Since you asked for a command line solution, you can use UniProt API. Examples and help here: https://www.uniprot.org/help/id_mapping

Otherwise use the web based ID mapping tool: https://www.uniprot.org/id-mapping

You can also retrieve the mapping from the file gene_refseq_uniprotkb_collab.gz at the FTP site https://ftp.ncbi.nlm.nih.gov/refseq/uniprotkb/.

Log in to answer this question.