Remove un-needed debugging and analytics tests in final production-ready container
This issue is to be implemented at later stages.
Examples of checks to remove in .R scripts:
# Basic checks
# They are expected to be provided by Snakemake
# The checks are mostly needed when running the script interactively for debugging
if (is.null(samples_file)) {
stop("Missing required input: 'samples'")
}
if (any(vapply(list(track_out, qc_out, seqtab_out), is.null, logical(1)))) {
stop("Missing required outputs: expect names 'track','qc','seqtab'.")
}
Remove un-needed debugging and analytics tests in final production-ready container
This issue is to be implemented at later stages.
Examples of checks to remove in .R scripts: