Calculate the GRAVY score of a amino acid sequence.
To 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 change 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.
- Author: Johannes
- Email: johannes-programming@mailfence.com
Thank you for using gravy
!