From 9b828f5542796215495542297ec0f3be96b23ee3 Mon Sep 17 00:00:00 2001 From: Guoyi Zhang Date: Tue, 10 Dec 2024 15:39:56 +1100 Subject: [PATCH] fix: make all as default function --- RGBEPP.d | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/RGBEPP.d b/RGBEPP.d index 9a34f82..30134c2 100644 --- a/RGBEPP.d +++ b/RGBEPP.d @@ -697,12 +697,16 @@ void main(string[] args) { } // 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); } - + + if (ARG_F.length == 0 ){ + ARG_F = "all"; + } + // get pathXXX form config file - if (ARG_C != ""){ + if (ARG_C.length != 0){ PathFastp = getValueFromConfig(ARG_C, "fastp"); PathSpades = getValueFromConfig(ARG_C, "spades");