Entering edit mode
12.3 years ago
Lexxx233
▴
20
I want to merge DNASequence together , Is there any quick way to do this? Currently I have to get DNA sequences to Strings, concatenate them, then construct a new DNASequence from the newly concatenated strings.
e.g
DNASequence result = new DNASequence("ACGT");
result = new DNASequence(result.getSequenceAsString() + otherSequence.getSequenceAsString());
This does not look very nice and probably not the best performance either.