gravy
Overview

This project calculates the GRAVY score of an amino acid sequence.

Installation
Features
gravy.calculate

This module variable is an alias for score included for legacy.

gravy.main

This click command implements the CLI.

# CLI
python3 -m gravy CYIQNCPLG
# output: 0.33333
# the formatting can be changed with the option '--format'
gravy.score(seq: Iterable) -> float

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
Testing
License
Impressum