Skip to content
Learning structural motif representations for efficient protein structure search
Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
models
scripts
.gitignore
LICENSE
README.md
requirements.txt
setup_env.sh

README.md

DeepFold

Learning structural motif representations for efficient protein structure search

Installation

Usage

The script provides an example of generating an embedding for a single PDB file. PDB file of any length can be used but for maximum efficiency make sure the model size can be fit in the VRAM. The script is not efficient for generating a large number of embeddings due to the overhead. For batch processing, please call the get_embedding function of a DeepFold instance inside the network module.

python ./scripts/gen_embedding.py [-h] [--model model] pdb_file output_file

Create embeddings for a protein structure. Output a numpy embedding.

positional arguments:
  pdb_file       an input pdb file
  output_file    an output numpy embedding

optional arguments:
  -h, --help     show this help message and exit
  --model model  the network model to load
You can’t perform that action at this time.