Snakemake, RNA-seq : How can I execute one subpart of a pipeline or another subpart based on the characteristics of the sample that is analysed?
问题 I am using snakemake to design a RNAseq-data analysis pipeline. While I've managed to do that, I want to make my pipeline to be as adaptable as possible and make it able to deal with single-reads (SE) data or paired-end (PE) data within the same run of analyses, instead of analysing SE data in one run and PE data in another. My pipeline is supposed to be designed like this : dataset download that gives 1 file (SE data) or 2 files (PE data) --> set of rules A specific to 1 file OR set of rules