public static PairwiseAlignment create ( final int threads , final SubstitutionMatrix substitutionMatrix ) { return new ParallelBiojavaPairwiseAlignment ( Executors . newFixedThreadPool ( threads ) , substitutionMatrix ) ; }
Create and return a new pairwise alignment implementation configured with a fixed thread pool and the specified substitution matrix .