Skip to main content

Protein chemical shift prediction based on Protein Language Model

Project description

PLM-CS

Predict protein chemical shifts from sequence

image

Train your model

If you want to train your own PLM-CS model, this repository provides all the tools and data. Just follow these steps.

Training set

We provide the complete training set data in RefDB training dataset. Each file in this folder is in nmrstar format, and each file corresponds to a protein. All proteins contained in the SHIFTX test are removed from it.

Training set processing

For convenience, the reasoning process of the ESM model is separate from the training process of our regression model. Therefore, we first use ESM-650M to process the data. Change the "save_path" in esm_process.py to your own path. A tensordataset containing the training data will be generated.

Train

Modify the path in the train.py to your own parh. Also, be aware that this can only train a model of one type of atom at a time.

Training parameters

Different atom types correspond to different optimizer strategies.You can modify the corresponding parameters in the train.py according to your trained model. The default number of steps for an iteration is 20,000, but you can change it to 5,000 to achieve very close performance while reducing training time

parameters C H N
learning rate 0.02 5e-4 0.002 0.01 5e-4 5e-4
optimizer SGD Adam Adam SGD Adam Adam

Evaluate

Use PLM-CS through python SDK

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plm-cs-1.1.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plm_cs-1.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file plm-cs-1.1.tar.gz.

File metadata

  • Download URL: plm-cs-1.1.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.14

File hashes

Hashes for plm-cs-1.1.tar.gz
Algorithm Hash digest
SHA256 524d1f11ceeef7de7e8ab6ddd4d1e146f69b61f4b69eed912f2cafadd5f7564a
MD5 68ae864e0cbb751de5a3755f70bbe428
BLAKE2b-256 0b868b9f1b60c53a124299c084543e9e5a1b4d55b4f01e9dbc1d1b44e3bb93dc

See more details on using hashes here.

File details

Details for the file plm_cs-1.1-py3-none-any.whl.

File metadata

  • Download URL: plm_cs-1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.14

File hashes

Hashes for plm_cs-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f54cb0dc5c223a2e1caffeb9fd47c1093b8ffb3d19f139f5e4f51480ed01a936
MD5 5a4847d97b88d13990f41c45f97caea1
BLAKE2b-256 a73b8c0d8828ad141cd5e9a1805022e0c6be997bd6ed27c17834d607f1330a6e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page