Skip to main content

Define a personnal scorer for the user of DeepChain.bio

Project description

deepchain-apps : Package for creating a personnal app to deploy on the DeepChain platform

Getting started with Scorer

This template provide an example of application that you can submit. The final app must have the following architecture:

  • my_application
    • src/
      • scorer.py
      • Optionnal : requirements.txt (for extra packages)
    • checkpoint/
      • Optionnal : model.[h5/pt]

The main scorer class must be named ’Scorer’

CLI

The CLI provides 3 main commands:

  • login : you need to supply the token provide on the plateform (PAT: personnal access token).

deepchain login

  • create : create a folder with a template scorer file

deepchain create my_application

  • deploy : the code and checkpoint are deployed on the plateform, you can select your app in the interface on the plateform.
    • with checkpoint upload

      deepchain deploy my_application --checkpoint

    • Only the code

      deepchain deploy my_application

The application will be deploy in DeepChain plateform.

Embedding

Some embeddings are provided in the TransformersApp module

from deepchainapps.components import TransformersApp

The model are furnished, but not mandatory, if you want to make an embedding of your protein sequence. Only the ESM (evolutionary scale modeling) model is provided, with different architecture. Here for some full details of the architecture (https://github.com/facebookresearch/esm)

  • 'esm1_t6_43M_UR50S'
  • 'esm1_t12_85M_UR50S'
  • 'esm_msa1_t12_100M_UR50S'
  • 'esm1b_t33_650M_UR50S'
  • 'esm1_t34_670M_UR100'
  • 'esm1_t34_670M_UR50D'
  • 'esm1_t34_670M_UR50S'

!! The embedding will run on a GPU on the plateform. But for a testing phase on your personal computer (CPU), you should choose the smaller architecture.

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

deepchain-apps-0.0.16.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

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

deepchain_apps-0.0.16-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file deepchain-apps-0.0.16.tar.gz.

File metadata

  • Download URL: deepchain-apps-0.0.16.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for deepchain-apps-0.0.16.tar.gz
Algorithm Hash digest
SHA256 43bc16bca4c98ba95d7195632ac0c718c6345ffc652fc5d59751f01c51fd7799
MD5 dcd3347550704b4e8e6f866f1182f37a
BLAKE2b-256 097765f674090d5bf754cfd0227c4e94f7c9a700893cba152cb82dfdcf71f08f

See more details on using hashes here.

File details

Details for the file deepchain_apps-0.0.16-py3-none-any.whl.

File metadata

  • Download URL: deepchain_apps-0.0.16-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for deepchain_apps-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 6bced5dd2cd5a185a7cb0cecb52513d71d1c8a4f398872a2b43504642c52ecf5
MD5 8b925de67bd6b662a5cd15fe6f664d6c
BLAKE2b-256 1fd6b650c5e56297109085e0114e414f1552ca9be0edff15d381f9080c900507

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