Can the output file object be passed to an input function in SnakeMake?

166 views Asked by At

A SnakeMake input function can receive a dictionary of wildcards extracted from the output filename:

def inputFunc(wildcards):
    return "test.txt"

rule A:
    output: "{FILE}.{EXT}"
    input: lambda wildcards: inputFunc(wildcards)

My question is, is there a way to pass the "output" object, which has the output filenames, to the input function?

0

There are 0 answers