Source: http://faculty.uml.edu/vbarsegov/teaching/bioinformatics/lectures/protstructure2modified.pdf