Skip to content

Commit

Permalink
compare to negative strand for dna_start_t_withstop
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Van der Jeugt committed Sep 22, 2021
1 parent 692c10c commit d5c451a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/viterbi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ fn build_genes(
dna.push(seq[t]);
dna_start_t_withstop = t + 1;
dna_start_t = t + 1;
if vpath[t] == hmm::State::M1 || vpath[t] == hmm::State::M4r {
if vpath[t] == hmm::State::M1r || vpath[t] == hmm::State::M4r {
if t > 2 {
dna_start_t_withstop = t - 2;
}
Expand Down

0 comments on commit d5c451a

Please sign in to comment.