Skip to content

Commit

Permalink
fix log not being found by the system
Browse files Browse the repository at this point in the history
  • Loading branch information
huzuner authored Oct 27, 2024
1 parent 9cb1576 commit 3341251
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions workflow/rules/read_clipping.smk
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ rule bamclipper:
),
params:
output_dir=get_output_dir,
cwd=lambda w: os.getcwd(),
bed_path=lambda w, input: os.path.join(os.getcwd(), input.bedpe),
bam=lambda w, input: os.path.basename(input.bam),
log:
Expand All @@ -57,7 +56,7 @@ rule bamclipper:
" cp {input.bai} {params.output_dir} &&"
" cd {params.output_dir} &&"
" bamclipper.sh -b {params.bam} -p {params.bed_path} -n {threads} -u 5 -d 5) "
" > {params.cwd}/{log} 2>&1"
" > {log} 2>&1"


rule fgbio:
Expand Down

0 comments on commit 3341251

Please sign in to comment.