Skip to content

Commit

Permalink
Remove duplicated rows in variant calling
Browse files Browse the repository at this point in the history
  • Loading branch information
SeviJordi committed Sep 25, 2023
1 parent f167e5a commit 101dda4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions workflow/scripts/filter_tsv.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ data <- mutate(
TRUE ~ "No"
)
)
# Remove duplicated features

data <- distinct(data, pick(!GFF_FEATURE), .keep_all = TRUE)

log_info("Saving results")
write_tsv(
Expand Down

0 comments on commit 101dda4

Please sign in to comment.