"...git@developer.sourcefind.cn:OpenDAS/openpcdet.git" did not exist on "c5d71a671ed77bd52adee20cfbce783eb9776f92"
Commit ad34fc3c authored by Jennifer's avatar Jennifer
Browse files

updates Bio.PDBData call and environment.yml

parent 793eb966
...@@ -12,7 +12,7 @@ dependencies: ...@@ -12,7 +12,7 @@ dependencies:
- openmm=7.7 - openmm=7.7
- pdbfixer - pdbfixer
- pytorch-lightning - pytorch-lightning
- biopython==1.79 - biopython
- numpy - numpy
- pandas - pandas
- PyYAML==5.4.1 - PyYAML==5.4.1
...@@ -24,13 +24,13 @@ dependencies: ...@@ -24,13 +24,13 @@ dependencies:
- modelcif==0.7 - modelcif==0.7
- awscli - awscli
- ml-collections - ml-collections
- mkl=2024.0 - mkl=2022.1
- aria2 - aria2
- git - git
- bioconda::hmmer==3.3.2 - bioconda::hmmer==3.3.2
- bioconda::hhsuite==3.3.0 - bioconda::hhsuite==3.3.0
- bioconda::kalign2==2.04 - bioconda::kalign2==2.04
- pytorch::pytorch=2.2 - pytorch::pytorch=2.1
- pytorch::pytorch-cuda=12.1 - pytorch::pytorch-cuda=12.1
- pip: - pip:
- deepspeed==0.12.4 - deepspeed==0.12.4
......
...@@ -24,7 +24,7 @@ import os ...@@ -24,7 +24,7 @@ import os
from typing import Any, Mapping, Optional, Sequence, Tuple from typing import Any, Mapping, Optional, Sequence, Tuple
from Bio import PDB from Bio import PDB
from Bio.Data import SCOPData from Bio.Data import PDBData
import numpy as np import numpy as np
from openfold.data.errors import MultipleChainsError from openfold.data.errors import MultipleChainsError
...@@ -283,7 +283,7 @@ def parse( ...@@ -283,7 +283,7 @@ def parse(
author_chain = mmcif_to_author_chain_id[chain_id] author_chain = mmcif_to_author_chain_id[chain_id]
seq = [] seq = []
for monomer in seq_info: 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.append(code if len(code) == 1 else "X")
seq = "".join(seq) seq = "".join(seq)
author_chain_to_sequence[author_chain] = 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