work in progress: parts.scala's parseProteinChain