lhallee commited on
Commit
5821764
·
verified ·
1 Parent(s): f83a7cf

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,10 +1,10 @@
1
  ---
2
  library_name: transformers
3
  tags:
4
- - biology
5
- - protein-structure
6
- - esmfold2
7
- - multimodal-protein-model
8
  ---
9
 
10
  # FastPLMs ESMFold2
 
1
  ---
2
  library_name: transformers
3
  tags:
4
+ - biology
5
+ - protein-structure
6
+ - esmfold2
7
+ - multimodal-protein-model
8
  ---
9
 
10
  # FastPLMs ESMFold2
esmfold2_metrics.py CHANGED
@@ -5,7 +5,7 @@ from einops import rearrange
5
  from torch import Tensor
6
  from torch.amp import autocast # type: ignore
7
 
8
- from . import esmfold2_residue_constants
9
  from .esmfold2_misc import binpack, unbinpack
10
  from .esmfold2_protein_structure import (
11
  compute_alignment_tensors,
 
5
  from torch import Tensor
6
  from torch.amp import autocast # type: ignore
7
 
8
+ from . import esmfold2_residue_constants as residue_constants
9
  from .esmfold2_misc import binpack, unbinpack
10
  from .esmfold2_protein_structure import (
11
  compute_alignment_tensors,
esmfold2_mmcif_parsing.py CHANGED
@@ -10,7 +10,7 @@ from typing import Union
10
  import biotite.structure as bs
11
  import biotite.structure.io.pdbx as pdbx
12
 
13
- from . import esmfold2_residue_constants
14
 
15
  # Define PathOrBuffer for the opensource version
16
  PathOrBuffer = Union[str, os.PathLike, io.StringIO]
 
10
  import biotite.structure as bs
11
  import biotite.structure.io.pdbx as pdbx
12
 
13
+ from . import esmfold2_residue_constants as residue_constants
14
 
15
  # Define PathOrBuffer for the opensource version
16
  PathOrBuffer = Union[str, os.PathLike, io.StringIO]
esmfold2_molecular_complex.py CHANGED
@@ -23,7 +23,7 @@ from biotite.structure.io.pdbx import (
23
  set_structure,
24
  )
25
 
26
- from . import esmfold2_residue_constants
27
  from .esmfold2_metrics import compute_lddt, compute_rmsd
28
  from .esmfold2_protein_complex import ProteinComplex, ProteinComplexMetadata
29
 
 
23
  set_structure,
24
  )
25
 
26
+ from . import esmfold2_residue_constants as residue_constants
27
  from .esmfold2_metrics import compute_lddt, compute_rmsd
28
  from .esmfold2_protein_complex import ProteinComplex, ProteinComplexMetadata
29
 
esmfold2_protein_chain.py CHANGED
@@ -20,7 +20,7 @@ from biotite.structure.io.pdbx import set_structure as set_structure_pdbx
20
  from scipy.spatial import ConvexHull, KDTree
21
  from scipy.spatial.distance import cdist, pdist, squareform
22
 
23
- from . import esmfold2_residue_constants
24
  from .esmfold2_misc import slice_python_object_as_numpy
25
  from .esmfold2_affine3d import Affine3D
26
  from .esmfold2_aligner import Aligner
 
20
  from scipy.spatial import ConvexHull, KDTree
21
  from scipy.spatial.distance import cdist, pdist, squareform
22
 
23
+ from . import esmfold2_residue_constants as residue_constants
24
  from .esmfold2_misc import slice_python_object_as_numpy
25
  from .esmfold2_affine3d import Affine3D
26
  from .esmfold2_aligner import Aligner
esmfold2_protein_complex.py CHANGED
@@ -27,7 +27,7 @@ from biotite.structure.io.pdbx.convert import _get_transformations, get_structur
27
  from biotite.structure.util import matrix_rotate
28
  from scipy.spatial import KDTree
29
 
30
- from . import esmfold2_residue_constants
31
  from .esmfold2_misc import slice_python_object_as_numpy
32
  from .esmfold2_affine3d import Affine3D
33
  from .esmfold2_aligner import Aligner
 
27
  from biotite.structure.util import matrix_rotate
28
  from scipy.spatial import KDTree
29
 
30
+ from . import esmfold2_residue_constants as residue_constants
31
  from .esmfold2_misc import slice_python_object_as_numpy
32
  from .esmfold2_affine3d import Affine3D
33
  from .esmfold2_aligner import Aligner
esmfold2_protein_structure.py CHANGED
@@ -8,7 +8,7 @@ import torch.nn.functional as F
8
  from torch import Tensor
9
  from torch.amp import autocast # type: ignore
10
 
11
- from . import esmfold2_residue_constants
12
  from .esmfold2_misc import unbinpack
13
  from .esmfold2_affine3d import Affine3D
14
 
 
8
  from torch import Tensor
9
  from torch.amp import autocast # type: ignore
10
 
11
+ from . import esmfold2_residue_constants as residue_constants
12
  from .esmfold2_misc import unbinpack
13
  from .esmfold2_affine3d import Affine3D
14