Skip to content
Snippets Groups Projects
Commit fbc78132 authored by Simeon's avatar Simeon
Browse files

Update variant_classifier.R

parent 938182ef
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,8 @@ variant_classifier <- function( ...@@ -28,7 +28,8 @@ variant_classifier <- function(
# Create a table for clustered sequences and filter out clusters with only one sequence # Create a table for clustered sequences and filter out clusters with only one sequence
clustab_tbl <- cluster_tbl_named(clustered_sequences) %>% clustab_tbl <- cluster_tbl_named(clustered_sequences) %>%
left_join(tibble(seqnames = unlist(map(clustered_sequences, names)), left_join(tibble(seqnames = unlist(map(clustered_sequences, names)),
seqs = as.character(Biostrings:: unlist(clustered_sequences))), seqs = as.character(unlist(Biostrings::DNAStringSetList(
clustered_sequences)))),
by = 'seqnames') %>% by = 'seqnames') %>%
dplyr::filter(clus_size > 1) dplyr::filter(clus_size > 1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment