Skip to content

Commit

Permalink
configuration of vcfDir
Browse files Browse the repository at this point in the history
vcfGenotypeLookup.bash : use -e to check for vcf dir / link existence; -x works in bash, and container has /bin/bash, but its -x doesn't work as expected
  • Loading branch information
Don-Isdale committed Mar 23, 2023
1 parent d9cf889 commit f489272
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lb4app/lb3app/scripts/vcfGenotypeLookup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ unused_var=${blastDir:=/mnt/data_blast/blast}
unused_var=${vcfDir:=$blastDir/../vcf}
# blastDir=tmp/blast
vcfDir=tmp/vcf
if [ ! -x $vcfDir -a -x $blastDir/vcf ]
if [ ! -e "$vcfDir" -a -e "$blastDir/vcf" ]
then
vcfDir=$blastDir/vcf
vcfDir="$blastDir/vcf"
fi
unused_var=${datasetIdDir:=$vcfDir/datasetId}

Expand Down

0 comments on commit f489272

Please sign in to comment.