private static void initComplementMap ( ) { complementMap = new HashMap < String , String > ( ) ; complementMap . put ( "A" , "U" ) ; complementMap . put ( "G" , "C" ) ; complementMap . put ( "C" , "G" ) ; complementMap . put ( "U" , "A" ) ; complementMap . put ( "T" , "A" ) ; complementMap . put ( "X" , "X" ) ; }
initialize Map to get the complement of each nucleotide