Skip to content

Commit

Permalink
Update bwa_split.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
ndbrown6 committed Jul 25, 2022
1 parent c36e553 commit 2a0c6aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions split_workflows/bwa_split.mk
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ GATK_MEM_THREAD = 2G

define merge-fastq
bwamem/$1/$1_R1.fastq.gz : $$(foreach split,$2,$$(word 1, $$(fq.$$(split))))
$$(call RUN,-c -n 12 -s 0.5G -m 1G -w 72:00:00 -v $(PIGZ_ENV),"$$(PIGZ) -cd -p 12 $$(^) | $$(PIGZ) -c -p 12 > $$(@)")
$$(call RUN,-c -n 12 -s 0.5G -m 1G -w 24:00:00 -v $(PIGZ_ENV),"$$(PIGZ) -cd -p 12 $$(^) | $$(PIGZ) -c -p 12 > $$(@)")

bwamem/$1/$1_R2.fastq.gz : $$(foreach split,$2,$$(word 2, $$(fq.$$(split))))
$$(call RUN,-c -n 12 -s 0.5G -m 1G -w 72:00:00 -v $(PIGZ_ENV),"$$(PIGZ) -cd -p 12 $$(^) | $$(PIGZ) -c -p 12 > $$(@)")
$$(call RUN,-c -n 12 -s 0.5G -m 1G -w 24:00:00 -v $(PIGZ_ENV),"$$(PIGZ) -cd -p 12 $$(^) | $$(PIGZ) -c -p 12 > $$(@)")
endef
$(foreach sample,$(SAMPLES),\
$(eval $(call merge-fastq,$(sample),$(split.$(sample)))))
Expand Down

0 comments on commit 2a0c6aa

Please sign in to comment.