Skip to content
Snippets Groups Projects

Accept only-one-sample per project as input to QuaC

Merged Manavalan Gajapathy requested to merge minor_fixes_1.0 into master
1 file
+ 1
2
Compare changes
  • Side-by-side
  • Inline
@@ -154,12 +154,11 @@ rule indexcov:
@@ -154,12 +154,11 @@ rule indexcov:
str(WORKFLOW_PATH / "configs/env/goleft.yaml")
str(WORKFLOW_PATH / "configs/env/goleft.yaml")
params:
params:
outdir=lambda wildcards, output: Path(output[0]).parent,
outdir=lambda wildcards, output: Path(output[0]).parent,
infiles=lambda wildcards: str(PROJECT_PATH / f"{{{','.join(SAMPLES)}}}" / "bam" / "*.bam"),
shell:
shell:
r"""
r"""
goleft indexcov \
goleft indexcov \
--directory {params.outdir} \
--directory {params.outdir} \
{params.infiles} \
{input.bam} \
> {log} 2>&1
> {log} 2>&1
"""
"""
Loading