Skip to main content

Codon Optimizer for mRNA Vaccine Design

Project description

VaxPress

VaxPress is a codon optimizer platform tailored for mRNA vaccine development. It refines coding sequences starting from protein or RNA sequences to boost both storage stability and in vivo protein expression. Plus, additional properties can be easily programmed into the optimization process with just a few lines of code via a pluggable interface. For the detailed information about VaxPress, including its options and algorithmic features, please refer to the VaxPress documentation page.

Installation

pip

You can install VaxPress via pip.

Installing

# Create a virtual environment for VaxPress
python -m venv /path/to/vaxpress-env

# Activate the virtual environment
source /path/to/vaxpress-env/bin/activate

# Install VaxPress alone
pip install vaxpress

# Alternatively, install VaxPress with LinearFold (only for non-commercial uses)
pip install 'vaxpress[nonfree]'

Running

# Activate the virtual environment
source /path/to/vaxpress-env/bin/activate

# Run VaxPress
vaxpress -h

iCodon Dependency

If you wish to activate the iCodon predicted stability (--iCodon-weight) in the fitness function, ensure you have working installations of R, rpy2 (version >= 3.0) and iCodon. For detailed installation instructions, visit iCodon's GitHub page.

Conda

Alternatively, you may also install VaxPress via a conda package:

Installation

conda create -n vaxpress -y -c changlabsnu -c bioconda -c conda-forge vaxpress

Running

# Activate the environment
conda activate vaxpress

# Run VaxPress
vaxpress -h

Singularity

To run VaxPress via Singularity, you will need to install the Singularity CE first. Download the container image from the GitHub project page and place it in a directory of your choice.

singularity vaxpress.sif -h

When using the Singularity image, both the input and output must be somewhere inside your home directory for VaxPress to run without complicated directory binding configurations for Singularity.

Usage

Quick Start

Here's a basic command-line instruction to start using VaxPress. Note that -i and -o options are mandatory:

vaxpress -i spike.fa -o output --iterations 1000 -p 32

Input

VaxPress requires a FASTA format input file that contains the CDS (CoDing Sequence) to be optimized. In case the FASTA file holds a protein sequence, the additional --protein switch is required.

Number of Iterations

The --iterations option is set to 10 by default. However, for thorough optimization, it's recommended to use at least 500 iterations. The optimal number of iterations may differ depending on the length, composition of the input, and the selected optimization settings. It's important to note that the optimization process may stop before completing all the specified iterations if no progress is observed over several consecutive cycles. Guidelines for setting the appropriate number of iterations and other optimization parameters can be found in the Tuning Optimization Parameters section.

You can set --iterations to 0 to generate VaxPress's sequence evaluation report without any optimization.

Multi-Core Support

You can use multiple CPU cores for optimization with the -p or --processes option.

More About Options

VaxPress offers the flexibility to adjust optimization strategies in detail and integrate with LinearDesign. It also allows several more convenient functions such as preset parameters, user-defined custom scoring functions, and etc. For comprehensive explanation, please refer to the manual.

Output

Once you've run VaxPress, the specified output directory will contain the following five files:

  • report.html: A summary report detailing the result and optimization process.
  • best-sequence.fasta: The refined coding sequence.
  • checkpoints.tsv: The best sequences and the evaluation results at each iteration.
  • log.txt: Contains the logs that were displayed in the console.
  • parameters.json: Contains the parameters employed for the optimization. This file can be feeded to VaxPress with the --preset option to duplicate the set-up for other sequence.

Citing VaxPress

If you employed our software in your research, please kindly reference our publication:

Ju, Ku, and Chang (2023) Title. Journal. Volume. (in preparation)

License

VaxPress is distributed under the terms of the MIT License.

LinearFold and LinearDesign are licensed for non-commercial use only. If considering commercial use, be cautious about using options such as --lineardesign and --folding-engine linearfold.

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

vaxpress-0.9.tar.gz (81.0 kB view details)

Uploaded Source

Built Distribution

vaxpress-0.9-py3-none-any.whl (99.3 kB view details)

Uploaded Python 3

File details

Details for the file vaxpress-0.9.tar.gz.

File metadata

  • Download URL: vaxpress-0.9.tar.gz
  • Upload date:
  • Size: 81.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for vaxpress-0.9.tar.gz
Algorithm Hash digest
SHA256 5da8311c8681d0ef62fac91a0b56aeb067eda356c0e0f4096e253460aa404094
MD5 822cdf7e2e997d98220afa3a1b3d8359
BLAKE2b-256 4331acec3427630c9f0c1d88723b317b7be4a6b5fb26b22aee25f0d519bdfc75

See more details on using hashes here.

File details

Details for the file vaxpress-0.9-py3-none-any.whl.

File metadata

  • Download URL: vaxpress-0.9-py3-none-any.whl
  • Upload date:
  • Size: 99.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for vaxpress-0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7315310cc91da4c7a4e561215d9070382cab1254d604089f0982a21e274f9f5a
MD5 0fbd8c4c81d54b1838b75d6bc85caa45
BLAKE2b-256 fdd3ed534ab2ccd71a233162fa65ca996d1e1e6334ca53487b0498c8b41914a8

See more details on using hashes here.

Supported by

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