def METHOD_NAME(fastqc):
    if fastqc and not fromBAM:
        return( expand("FastQC/{sample}{read}_fastqc.html", sample = samples, read = reads[:idxRange]) )
    elif fastqc and fromBAM:
        return( expand("FastQC/{sample}_fastqc.html", sample = samples) )
    else:
        return([])