"lib/llm/src/vscode:/vscode.git/clone" did not exist on "d99b188da6684230fe2fe43fbf91d0e3180ac3fa"
Commit 02cb7711 authored by Jennifer's avatar Jennifer
Browse files

updates Bio.PDBData call and environment.yml

parent c4cccb6b
......@@ -10,11 +10,10 @@ dependencies:
- pip
- openmm=7.7
- pdbfixer
- cudatoolkit==11.3.*
- pytorch-lightning==2.0.9
- biopython==1.79
- numpy==1.21
- pandas==2.0
- pytorch-lightning
- biopython
- numpy
- pandas
- PyYAML==5.4.1
- requests
- scipy==1.7
......
......@@ -24,7 +24,7 @@ import os
from typing import Any, Mapping, Optional, Sequence, Tuple
from Bio import PDB
from Bio.Data import SCOPData
from Bio.Data import PDBData
import numpy as np
from openfold.data.errors import MultipleChainsError
......@@ -283,7 +283,7 @@ def parse(
author_chain = mmcif_to_author_chain_id[chain_id]
seq = []
for monomer in seq_info:
code = SCOPData.protein_letters_3to1.get(monomer.id, "X")
code = PDBData.protein_letters_3to1.get(monomer.id, "X")
seq.append(code if len(code) == 1 else "X")
seq = "".join(seq)
author_chain_to_sequence[author_chain] = seq
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment