Skip to content

Commit

Permalink
Merge pull request #12 from cokelaer/main
Browse files Browse the repository at this point in the history
Fixing the cellranger temporary output file (lock)
  • Loading branch information
cokelaer authored Oct 24, 2023
2 parents 4e5e1fb + 0f288c1 commit 1c5f476
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sequana_pipelines/demultiplex/demultiplex.rules
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,8 @@ elif config["general"]["mode"] == "cellranger_atac":
samplesheet=config['general']['samplesheet_file']
output:
"Stats/Stats.json",
temp("TT")
params:
id="TT",
id="_Temp",
outdir=".",
indir= config["general"]["input_directory"],
container:
Expand All @@ -125,6 +124,7 @@ elif config["general"]["mode"] == "cellranger_atac":
**config['cellranger_atac']['resources']
shell:
"""
rm -f _Temp/_unlock
cellranger-atac mkfastq --id {params.id} --run {params.indir} --csv {input.samplesheet} \
--output-dir {params.outdir}

Expand Down Expand Up @@ -183,7 +183,7 @@ localrules: rulegraph

onsuccess:
shell("chmod -R g+w .")
manager.teardown()
manager.teardown(extra_dirs_to_remove=["_Temp"])

from sequana.modules_report.summary import SummaryModule2

Expand Down

0 comments on commit 1c5f476

Please sign in to comment.