instaIndex function

Compute the instability index of a protein sequence