Skip to content
Snippets Groups Projects
Commit 8af815fb authored by BIOPZ-Katsantoni Maria's avatar BIOPZ-Katsantoni Maria Committed by BIOPZ-Gypas Foivos
Browse files

fix: added arguments for fragment size mean and sd required for the salmon...

fix: added arguments for fragment size mean and sd required for the salmon quantification approach in single-end mode
parent 7c74291b
No related branches found
No related tags found
1 merge request!76Bump version to v0.2.0
...@@ -328,6 +328,7 @@ pip-selfcheck.json ...@@ -328,6 +328,7 @@ pip-selfcheck.json
.DS_Store .DS_Store
runs/.* runs/.*
!runs/PUT_YOUR_WORKFLOW_RUN_CONFIGS_HERE !runs/PUT_YOUR_WORKFLOW_RUN_CONFIGS_HERE
._*
._.DS_Store ._.DS_Store
.snakemake/ .snakemake/
logs/ logs/
......
...@@ -12,8 +12,8 @@ test: ...@@ -12,8 +12,8 @@ test:
# add code quality tests here # add code quality tests here
# add unit tests here # add unit tests here
# add script tests here # add script tests here
#- bash tests/test_scripts_labkey_to_snakemake_table/test.sh # - bash tests/test_scripts_labkey_to_snakemake_table/test.sh
#- bash tests/test_scripts_labkey_to_snakemake_api/test.sh # - bash tests/test_scripts_labkey_to_snakemake_api/test.sh
- bash tests/test_alfa/test.sh - bash tests/test_alfa/test.sh
# add integration tests here # add integration tests here
- bash tests/test_create_dag_image/test.sh - bash tests/test_create_dag_image/test.sh
......
...@@ -237,7 +237,11 @@ rule quantification_salmon: ...@@ -237,7 +237,11 @@ rule quantification_salmon:
"{sample}", "{sample}",
"{sample}.salmon.se"), "{sample}.salmon.se"),
libType = lambda wildcards: 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: log:
stderr = os.path.join( stderr = os.path.join(
...@@ -262,6 +266,8 @@ rule quantification_salmon: ...@@ -262,6 +266,8 @@ rule quantification_salmon:
--seqBias \ --seqBias \
--validateMappings \ --validateMappings \
--threads {threads} \ --threads {threads} \
--fldMean {params.fraglen} \
--fldSD {params.fragsd} \
--writeUnmappedNames \ --writeUnmappedNames \
--index {input.index} \ --index {input.index} \
--geneMap {input.gtf} \ --geneMap {input.gtf} \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment