polish: varcall with parallel

This commit is contained in:
kuoi 2024-09-10 18:09:11 +10:00
parent 28ef396afd
commit 31296d3cc9

View file

@ -219,7 +219,7 @@ void processVarCall(string[] ARG_L, string ARG_R, int ARG_T, string DirMap, stri
createDir(DirVcf); createDir(DirVcf);
foreach (string file; ARG_L) { foreach (string file; parallel(ARG_L, 1)) {
string baseName = getBaseName(file); string baseName = getBaseName(file);
string inputBam = DirBam ~ "/" ~ baseName ~ ".bam"; string inputBam = DirBam ~ "/" ~ baseName ~ ".bam";
string outputVcf = DirVcf ~ "/" ~ baseName ~ ".vcf.gz"; string outputVcf = DirVcf ~ "/" ~ baseName ~ ".vcf.gz";