From 31296d3cc9fad4d1fd66d8a67b9ab0b7ccc3a402 Mon Sep 17 00:00:00 2001 From: Guoyi Zhang Date: Tue, 10 Sep 2024 18:09:11 +1000 Subject: [PATCH] polish: varcall with parallel --- RGBEPP.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RGBEPP.d b/RGBEPP.d index 3cfd22b..7560eaa 100644 --- a/RGBEPP.d +++ b/RGBEPP.d @@ -219,7 +219,7 @@ void processVarCall(string[] ARG_L, string ARG_R, int ARG_T, string DirMap, stri createDir(DirVcf); - foreach (string file; ARG_L) { + foreach (string file; parallel(ARG_L, 1)) { string baseName = getBaseName(file); string inputBam = DirBam ~ "/" ~ baseName ~ ".bam"; string outputVcf = DirVcf ~ "/" ~ baseName ~ ".vcf.gz";