Giter VIP home page Giter VIP logo

walk-jump's Introduction

discrete Walk-Jump Sampling (dWJS)

This is the official open source repository for discrete Walk-Jump Sampling developed by ncfrey, djberenberg, kleinhenz, and saeedsaremi, from Prescient Design, a Genentech accelerator.

Setup

Assuming you have miniconda installed, clone the repository, navigate inside, and run:

./scripts/install.sh

Training

The entrypoint walkjump_train is the main driver for training and accepts parameters using Hydra syntax. The available parameters for configuration can be found by running train --help or by looking in the src/walkjump/hydra_config directory

Sampling

The entrypoint walkjump_sample is the main driver for training and accepts parameters using Hydra syntax. The available parameters for configuration can be found by running sample --help or by looking in the src/walkjump/hydra_config directory

Evaluation

Large molecule descriptors

Use the LargeMoleculeDescriptors class to compute descriptors for large molecules (proteins, antibodies, etc.) and see the code for computing Wasserstein distances between samples and reference distributions for evaluating sample quality.

Distributional conformity score (DCS)

See the DCS code and DCS README to evaluate samples.

Contributing

We welcome contributions. If you would like to submit pull requests, please make sure you base your pull requests off the latest version of the main branch.

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Citations

If you use the code and/or model, please cite:

@article{frey2023protein,
      title={Protein Discovery with Discrete Walk-Jump Sampling},
      author={Nathan C. Frey and Daniel Berenberg and Karina Zadorozhny and Joseph Kleinhenz and Julien Lafrance-Vanasse and Isidro Hotzel and Yan Wu and Stephen Ra and Richard Bonneau and Kyunghyun Cho and Andreas Loukas and Vladimir Gligorijevic and Saeed Saremi},
      year={2023},
      eprint={2306.12360},
      archivePrefix={arXiv},
      primaryClass={q-bio.BM}
}

walk-jump's People

Contributors

ncfrey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

walk-jump's Issues

Missing LFS files

Hello

It seems like the files in the data/ directory have not been fully prepared. After running:
git lfs fetch
I get the following error:
fetch: Fetching reference refs/heads/main [ce3405fa85d10724640aa33b68f75b962f2e4b613f6d8fe948c3371387065e7f] Object does not exist on the server: [404] Object does not exist on the server error: failed to fetch some objects from 'https://github.com/prescient-design/walk-jump.git/info/lfs'
This references the poas.csv.gz file in data/.

Is this on purpose (since you might use proprietary data) or am I missing something?

See: stackoverflow.com/questions/62852772 for possible solution.

Kind Regards, Jesper

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.