polish: parallel delstop and trimal
This commit is contained in:
parent
79fa1fac74
commit
967960f5bc
1 changed files with 2 additions and 2 deletions
4
RGBEPP.d
4
RGBEPP.d
|
@ -347,7 +347,7 @@ void processTrimming(string[] ARG_G, string DirAlign, string DirTrim, string Pat
|
||||||
createDir(DirNT_out);
|
createDir(DirNT_out);
|
||||||
|
|
||||||
// copy file firstly
|
// copy file firstly
|
||||||
foreach (gene; ARG_G){
|
foreach (gene; parallel(ARG_G,1)){
|
||||||
string inputFastaAA = DirAA ~ "/" ~ gene ~ ".fasta";
|
string inputFastaAA = DirAA ~ "/" ~ gene ~ ".fasta";
|
||||||
string outputFastaAA = DirAA_out ~ "/" ~ gene ~ ".fasta";
|
string outputFastaAA = DirAA_out ~ "/" ~ gene ~ ".fasta";
|
||||||
string inputFastaNT = DirNT ~ "/" ~ gene ~ ".fasta";
|
string inputFastaNT = DirNT ~ "/" ~ gene ~ ".fasta";
|
||||||
|
@ -363,7 +363,7 @@ void processTrimming(string[] ARG_G, string DirAlign, string DirTrim, string Pat
|
||||||
string DirTrimNT = DirTrim ~ "/" ~ "NT";
|
string DirTrimNT = DirTrim ~ "/" ~ "NT";
|
||||||
createDir(DirTrim);
|
createDir(DirTrim);
|
||||||
createDir(DirTrimNT);
|
createDir(DirTrimNT);
|
||||||
foreach (gene; ARG_G){
|
foreach (gene; parallel(ARG_G,1)){
|
||||||
string inputFastaAA = DirAA_out ~ "/" ~ gene ~ ".fasta";
|
string inputFastaAA = DirAA_out ~ "/" ~ gene ~ ".fasta";
|
||||||
string inputBackTransNT = DirNT_out ~ "/" ~ gene ~ ".fasta";
|
string inputBackTransNT = DirNT_out ~ "/" ~ gene ~ ".fasta";
|
||||||
string outputFastaNT = DirTrimNT ~ "/" ~ gene ~ ".fasta";
|
string outputFastaNT = DirTrimNT ~ "/" ~ gene ~ ".fasta";
|
||||||
|
|
Loading…
Reference in a new issue