This project calculates the GRAVY score of an amino acid sequence.
This module variable is an alias for score
included for legacy.
This click
command implements the CLI.
# CLI
python3 -m gravy CYIQNCPLG
# output: 0.33333
# the formatting can be changed with the option '--format'
This function calculates the GRAVY score.
# 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