From 51db2c767f4f2c19ee50aec4529fde8698b5ef97 Mon Sep 17 00:00:00 2001 From: Guoyi Zhang Date: Mon, 9 Sep 2024 11:45:55 +1000 Subject: [PATCH] add: more path args --- RGBEPP.d | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/RGBEPP.d b/RGBEPP.d index 31d1378..f03a06a 100644 --- a/RGBEPP.d +++ b/RGBEPP.d @@ -16,6 +16,7 @@ void show_help(string pkgver) { Version: ", pkgver, " License: GPL-2.0-only Author: Guoyi Zhang + -c\t--config\tconfig file for software path (optional) -g\t--genes\t\tgene file path (optional, if -r is specified) -f\t--functions\tfunctions type (optional): all clean map \t \tpostmap varcall consen align @@ -24,7 +25,12 @@ void show_help(string pkgver) { -m\t--memory\tmemory settings (optional, default 16 GB) -r\t--reference\treference genome path -t\t--threads\tthreads setting (optional, default 8 threads) - --macse\t\tMacse jarfile path + --fastp\t\tFastp path (optional) + --bowtie2\t\tBowtie2 path (optional) + --samtools\t\tSamtools path (optional) + --bcftools\t\tBcftools path (optional) + --macse\t\tMacse jarfile path (optional) + --trimal\t\tTrimal path (optional) for example: ./RGBEPP -f all -l list -t 8 -r reference.fasta \n"); } @@ -385,10 +391,30 @@ void main(string[] args) { i++; ARG_T = args[i].to!int; break; + case "--fastp": + i++; + PathFastp = args[i]; + break; + case "--bowtie2": + i++; + PathBowtie2 = args[i]; + break; + case "--samtools": + i++; + PathSamtools = args[i]; + break; + case "--bcftools": + i++; + PathBcftools = args[i]; + break; case "--macse": i++; PathMacse = args[i]; break; + case "--trimal": + i++; + PathTrimal = args[i]; + break; default: break; }