Skip to content

Commit d47ffe5

Browse files
committed
Fix sample name detection
1 parent 3a6fc56 commit d47ffe5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

workflow/scripts/compile_variants.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ tables <- lapply(
1414
snakemake@input,
1515
function(path) {
1616
read_tsv(path) %>%
17-
mutate(SAMPLE = sub('\\.tsv$', '', path))
17+
mutate(SAMPLE = sub('\\.masked.filtered.tsv$', '', basename(path)))
1818
}
1919
)
2020

0 commit comments

Comments
 (0)