shell pip install biopython python from Bio import Entrez Entrez.email = "your_email_address" handle = Entrez.efetch(db="protein", id="P13368", rettype="fasta", retmode="text") protein_sequence = handle.read() print(protein_sequence) python from Bio.Blast import NCBIWWW result_handle = NCBIWWW.qblast("psi", "nr", protein_sequence) with open("blast_results.xml", "w") as f: f.write(result_handle.read()) result_handle.close() python from Bio.PDB import PDBParser parser = PDBParser() structure = parser.get_structure("protein_structure", "protein_structure.pdb") for model in structure: for chain in model: print("Chain ID:", chain.id)


上一篇:
下一篇:
切换中文