a prot scan program by scala