Snakemake and Pandas syntax: Getting sample specific parameters from the sample table
问题 First off all, this could be a duplicate of Snakemake and pandas syntax. However, I'm still confused so I'd like to explain again. In Snakemake I have loaded a sample table with several columns. One of the columns is called 'Read1', it contains sample specific read lengths. I would like to get this value for every sample separately as it may differ. What I would expect to work is this: rule mismatch_profile: input: rseqc_input_bam output: os.path.join(rseqc_dir, '{sample}.mismatch_profile.xls