Skip to content

Commit

Permalink
Revert alignment profile in sequence.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-steinegger committed Jul 13, 2022
1 parent 5185d3c commit 7ebd2e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/commons/Sequence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,10 @@ void Sequence::reverse() {
i_curr += profile_row_size;
j_curr -= profile_row_size;
}
for (size_t i = 0; i < PROFILE_AA_SIZE; i++) {
int8_t *startToRead = &profile_for_alignment[i * L];
std::reverse(startToRead, startToRead + L);
}
}
std::reverse(numSequence, numSequence + this->L); // reverse sequence
}
Expand Down

0 comments on commit 7ebd2e0

Please sign in to comment.