gravy - Calculate the GRAVY score of an amino acid sequenceTo install gravy, you can use pip. Open your terminal and run:
pip install gravy
python3 -m gravy CYIQNCPLG
# output: 0.33333
# the formatting can be changed with the option '--format'
import gravy
x = gravy.score("CYIQNCPLG")
y = format(x, ".5f")
print(y)
# output: 0.33333
# the same format as the default in the CLI
This project is licensed under the MIT License.