// unknownSequences.remove(sequence);
int absEnd = absStart + nonGapped.length();
absStart += 1;
+ if (!trimDatasetSeqs) {
+ // insert full length sequence from record
+ sequence.setSequence(entry.getSequenceAsString());
+ sequence.setStart(entry.getStart());
+ }
if (updateRefFrame)
{
// finally, update local sequence reference frame if we're allowed
// just fix start/end
sequence.setStart(absStart);
sequence.setEnd(absEnd);
- } else {
- // insert full length sequence from record
- sequence.setSequence(entry.getSequenceAsString());
}
// search for alignment sequences to update coordinate frame for
for (int alsq = 0; alsq < alseqs.length; alsq++)