可以使用需要重新加载biojava.jarjar包代码是全的,不会可以问我。
jar包在lib目录下面输出结果:GlobalalignmentwithNeedleman-Wunsch:Time(ms): 3Length: 9Score: 0Query: query, Length: 9Target: target, Length: 8Query: 1gccctagcg9|||||Target: 1gcgc-aatg8LocalalignmentwithSmith-Waterman:Time(ms): 0Length: 3Score: 3Query: query, Length: 9Target: target, Length: 8Query: 7gcg9|||Target: 1gcg3
1