ProtTrans: pub-ready plots
Not an issue, rather quickly forgotten meta-info:
convert Michal's R-script according to https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html
In the R script, an S4 object named snakemake analogous to the Python case above is available and allows access to input and output files and other parameters. Here the syntax follows that of S4 classes with attributes that are R lists, e.g. we can access the first input file with snakemake@input[] (note that the first file does not have index 0 here, because R starts counting from 1). Named input and output files can be accessed in the same way, by just providing the name instead of an index, e.g. snakemake@input[["myfile"]].