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.3.tar.gz (7.0 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.3-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file plm_cs-1.3.tar.gz.

File metadata

  • Download URL: plm_cs-1.3.tar.gz
  • Upload date:
  • Size: 7.0 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.3.tar.gz
Algorithm Hash digest
SHA256 1a3438e81a5645af7b354ca3da790dbba71074863294bd5424bf6eabec89bc05
MD5 afea99db26f587e24c870ac5811cdc3b
BLAKE2b-256 0ba60436c4054c12ba58cf1005dc0c7359da7ad76041db54caa7abe51da1931d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: plm_cs-1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f8ac90f71f09f67ff5c8dde1e939facc41ef1908bc37b99b03282a248d8729a5
MD5 16bc2eefb9f7fea595842e45e414c297
BLAKE2b-256 1c4f6a50d387e332bc4a0f200c397eedfc59d58a9d778ae6974f58786c4305fb

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