gravy - Calculate the GRAVY score of an amino acid sequence

Source Code: https://github.com/johannes-programming/gravy

Installation

To install gravy, you can use pip. Open your terminal and run:

pip install gravy

Usage

CLI

python3 -m gravy CYIQNCPLG
# output: 0.33333
# the formatting can be changed with the option '--format'

Python

import gravy
x = gravy.score("CYIQNCPLG")
y = format(x, ".5f")
print(y)
# output: 0.33333
# the same format as the default in the CLI

License

This project is licensed under the MIT License.

Links

Credits