Skip to content

Commit

Permalink
fixes index
Browse files Browse the repository at this point in the history
  • Loading branch information
KrystynaGrzesiak committed Aug 19, 2024
1 parent 94c56ed commit a787c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/motifs.R
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ add_motifs <- function(motifs, sequence, max_attempts = 20) {

for(i in 1:length(motifs)) {
mask <- rep(FALSE, sequence_len)
motif <- motifs[[j]]
motif <- motifs[[i]]
motif_ids <- motifs_positions[i]:(motifs_positions[i] + length(motif) - 1)
motif_ids <- setdiff(motif_ids, motif_ids[motif == "_"])

Expand Down

0 comments on commit a787c7e

Please sign in to comment.