Skip to main content

Define a personnal app for the user of DeepChain.bio

Project description

deepchain-apps : Create personnal app locally, deploy on deepchain.bio

Package for creating a personnal app to deploy on the DeepChain platform.

Installation

You can install the package directly from Pypi:

pip install deepchain-apps

Getting started with App

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

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

The main app class must be named ’App’

CLI

The CLI provides 4 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 app 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
      
  • apps :

    • Get info on all local/upload apps

      deepchain apps --infos
      
    • Remove all local apps (files & config):

      deepchain apps --reset
      
    • Remove a specific application (files & config):

      deepchain apps --delete my_application
      

The application will be deploy in DeepChain plateform.

Embedding

Some embeddings are provided in the Transformers module

from deepchainapps.components import Transformers

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.22.tar.gz (14.2 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.22-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deepchain-apps-0.0.22.tar.gz
  • Upload date:
  • Size: 14.2 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.60.0 CPython/3.7.10

File hashes

Hashes for deepchain-apps-0.0.22.tar.gz
Algorithm Hash digest
SHA256 4bb48ef9c1da01023733c535a17d7fbaad4bc728adc8e758734a3ac013f4da87
MD5 b2c691d360dd2838bc5fb6cbfdfdf00a
BLAKE2b-256 f245fe734e14e48c21e19a16ddcd9e7a648f2968dfb1f7625e8d900e5c312eac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deepchain_apps-0.0.22-py3-none-any.whl
  • Upload date:
  • Size: 28.1 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.60.0 CPython/3.7.10

File hashes

Hashes for deepchain_apps-0.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 cc6b0f7e7fdb9450ea207952c775cdd8563bf390bc1ea15d25dd0fd433ca1f28
MD5 3f940f0a73dc31083c8c0d58d0d7d40d
BLAKE2b-256 809dc6c2ed4cc5882f84650a17aac5b04e7951af03008b294459ab0a12f44ade

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