in reply to create subroutine
Thank you so much popcorn Dave,
My problem has one main hash, which is like {1=>A, 2=>C, 3=>G, 4=>T,....}, other four hash are all take part of the main hash keys and the correspond main hash values. Every hash keys are a long list array.