snakemake --snakefile 2_mapReads_multiSamples.Snakefile --cores 20
# One line Comment
myvar = 5 # Can also start after any chunk of code
"""
Big multiple lines comment
So many lines
WoW
"""
invalid syntax
- mainly due to comma in input and output argumentsMissing input files for rule
- check if the input files is correct.- This gave me an error:
SAMPLES, = glob_wildcards("{samples}.fastq")
- This resolved the error:
SAMPLES = ["E306","E307","E678"]
- This is because these are not single read files but paired-end read files
- This gave me an error:
NameError:
,Also note that braces not used for variable access have to be escaped by repeating them, i.e. {{print $1}}
- Unexpected keyword expand in rule definition
- If you define a directory, and not files, as output of a rule, it can indeed be confusing for snakemake.
- Unexpected keyword o in rule definition -make sure the intendation is proper