Protein sequence from uniprot protein id python
问题 I was wondering if there is way to get the sequence of proteins from uniprot protein ids. I did check few online softwares but they allow to get one sequence at a time but I have 5536 vlues. Is there any package in biopython to do this? 回答1: All the sequences from uniprot can be accesed from "http://www.uniprot.org/uniprot/" + UniprotID +.fasta. You can obtain any sequence with import requests as r from Bio import SeqIO from io import StringIO cID='P04637' baseUrl="http://www.uniprot.org