This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Using Biopython Entrez to get protein accession from mRNA accesion

Hi,

I'd like to know if anyone knows how to retrieve RefSeq protein accession # from its mRNA transcript accession # using Biopython Entrez package?

For example: Using NM_001382556.2 to get NP_001369485.1

Thanks very much!

biopython ncbi mrna refseq protein

1 answer

Using EntrezDirect. Translate as needed in biopython:

$ esearch -db nuccore -query "NM_001382556" | elink -target protein | efetch -format acc
NP_001369485.1

I can't figure it out with Biopython, could you provide an example please?

Thanks very much..

Log in to answer this question.