File: test.R

package info (click to toggle)
snakemake 7.32.4-8.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,836 kB
  • sloc: python: 32,846; javascript: 1,287; makefile: 247; sh: 163; ansic: 57; lisp: 9
file content (14 lines) | stat: -rw-r--r-- 364 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
print(snakemake@wildcards)
print(snakemake@threads)
print(snakemake@log)
print(snakemake@config)
print(snakemake@params)
if(snakemake@params[["xy"]] != TRUE) {
    stop("Error evaluating param.")
}
if(snakemake@config[["test"]] != TRUE) {
    stop("Error evaluating config.")
}

values <- scan(snakemake@input[[1]])
write(values, file = snakemake@output[["txt"]])