Skip to content

Commit

Permalink
feat: add mem_mb resource annotation to bwa_mem
Browse files Browse the repository at this point in the history
  • Loading branch information
dlaehnemann authored Feb 29, 2024
1 parent df330ac commit 8e89e6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions workflow/rules/mapping.smk
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ rule bwa_mem:
sort_order="coordinate", # Can be 'queryname' or 'coordinate'.
sort_extra="", # Extra args for samtools/picard.
threads: 8
resources:
mem_mb=lambda wc, threads: threads * 4000
wrapper:
"v1.21.2/bio/bwa/mem"

Expand Down

0 comments on commit 8e89e6a

Please sign in to comment.