fix: make all as default function

This commit is contained in:
kuoi 2024-12-10 15:39:56 +11:00
parent 85ee70b7e2
commit 9b828f5542

View file

@ -697,12 +697,16 @@ void main(string[] args) {
} }
// get gene from ARG_R reference fasta // get gene from ARG_R reference fasta
if (ARG_R.length != 0 && ARG_R.length == 0 ){ if (ARG_R.length != 0 && ARG_G.length == 0 ){
ARG_G = getARG_G(ARG_R); ARG_G = getARG_G(ARG_R);
} }
if (ARG_F.length == 0 ){
ARG_F = "all";
}
// get pathXXX form config file // get pathXXX form config file
if (ARG_C != ""){ if (ARG_C.length != 0){
PathFastp = getValueFromConfig(ARG_C, "fastp"); PathFastp = getValueFromConfig(ARG_C, "fastp");
PathSpades = getValueFromConfig(ARG_C, "spades"); PathSpades = getValueFromConfig(ARG_C, "spades");