diff --git a/.gitignore b/.gitignore index 937346fc2d0c4cb131559489e661cee3bdad0575..53dc92e85f1101d5152d785da2ba8c16a1896ec3 100644 --- a/.gitignore +++ b/.gitignore @@ -328,6 +328,7 @@ pip-selfcheck.json .DS_Store runs/.* !runs/PUT_YOUR_WORKFLOW_RUN_CONFIGS_HERE +._* ._.DS_Store .snakemake/ logs/ diff --git a/workflow/rules/single_end.snakefile.smk b/workflow/rules/single_end.snakefile.smk index 0aac0658baa4fcce737d62a896a18e336b0bb6fe..41e506245b29cb8250e62c7a62d5353d3dc7c4ae 100644 --- a/workflow/rules/single_end.snakefile.smk +++ b/workflow/rules/single_end.snakefile.smk @@ -237,7 +237,11 @@ rule quantification_salmon: "{sample}", "{sample}.salmon.se"), libType = lambda wildcards: - samples_table.loc[wildcards.sample, "libtype"] + samples_table.loc[wildcards.sample, "libtype"], + fraglen = lambda wildcards: + samples_table.loc[wildcards.sample, 'mean'], + fragsd = lambda wildcards: + samples_table.loc[wildcards.sample, 'sd'] log: stderr = os.path.join( @@ -262,6 +266,8 @@ rule quantification_salmon: --seqBias \ --validateMappings \ --threads {threads} \ + --fldMean {params.fraglen} \ + --fldSD {params.fragsd} \ --writeUnmappedNames \ --index {input.index} \ --geneMap {input.gtf} \