private static InputStreamReader getReader ( String file ) { String resourcePathPrefix = "matrices/" ; return new InputStreamReader ( SubstitutionMatrixHelper . class . getResourceAsStream ( String . format ( "/%s.txt" , resourcePathPrefix + file ) ) ) ; }
reads in a substitution matrix from a resource file