Skip to content

Commit

Permalink
fix input fastq paths for eager
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmeaton committed Nov 2, 2020
1 parent ba437a2 commit 909ae26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion workflow/rules/alignment.smk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ rule eager:
message: "Running the nf-core/eager pipeline for {wildcards.reads_origin} Biosample {wildcards.sample}."
input:
fastq = lambda wildcards : [path + "_1.fastq.gz"
for path in identify_paths(outdir="data", reads_origin=wildcards.reads_origin)],
for path in identify_paths(outdir="data", reads_origin=wildcards.reads_origin)
if wildcards.sample in path],
ref_fna = [path + ".fna" for path in identify_paths(outdir="data", reads_origin="reference")],
output:
final_bam = results_dir + "/eager/{reads_origin}/{sample}/final_bams/{sample}.bam",
Expand Down

0 comments on commit 909ae26

Please sign in to comment.