Complex sentence: For optimal global alignment, BioJava implements the Needleman-Wunsch algorithm and for performing local alignments the Smith and Waterman's algorithm has been implemented.
Split into simpler sentences: For optimal global alignment, BioJava implements the Needleman-Wunsch algorithm. For local alignment the Smith and Waterman's algorithm has been implemented.