We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 395696c commit bbca5e4Copy full SHA for bbca5e4
1 file changed
workflow/scripts/format_vcf_fields_longer.R
@@ -45,6 +45,9 @@ read_tsv(
45
# Rename "...[*]..." columns using the provided lookup via Snakemake config
46
rename(all_of(unlist(snakemake@params$colnames_mapping))) %>%
47
48
+ # Ensure missing values are properly encoded
49
+ mutate(across(where(is.character), ~ na_if(.x, "NA"))) %>%
50
+
51
# Separate &-delimited error column (more than one error/warning/info message per row is possible)
52
mutate(split_errors = strsplit(ERRORS, "&")) %>%
53
# Keep rows with none of the excluded ERRORS terms, if any
0 commit comments