From d06242d91f95ea7aadd90dd57435fc3038371dbd Mon Sep 17 00:00:00 2001 From: Guoyi Zhang Date: Wed, 3 Jul 2024 12:54:51 +1000 Subject: [PATCH] fix: align array issue --- RGBEPP.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RGBEPP.sh b/RGBEPP.sh index d2d12b0..310e7f9 100644 --- a/RGBEPP.sh +++ b/RGBEPP.sh @@ -255,7 +255,7 @@ if [ "$ARG_F" = "all" ] || [ "$ARG_F" = "align" ]; then cd $DirMerge for (( i=0; i<$length_gn; i++ )) do - java -jar $PathMacse -prog alignSequences -seq ${genes}.fasta -out_AA ../$DirAlign/AA/$genes.fasta -out_NT ../$DirAlign/NT/$genes.fasta + java -jar $PathMacse -prog alignSequences -seq ${genes[$i]}.fasta -out_AA ../$DirAlign/AA/${genes[$i]}.fasta -out_NT ../$DirAlign/NT/${genes[$i]}.fasta done cd -