Skip to content

Commit

Permalink
Updating piranha path in scripts
Browse files Browse the repository at this point in the history
Updating piranha path in scripts
  • Loading branch information
justincbagley committed Dec 17, 2020
1 parent 2c8f3ac commit 01af153
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
11 changes: 6 additions & 5 deletions bin/FASTAsummary
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
# | #
# #
# File: FASTAsummary.sh #
VERSION="v1.1.3" #
VERSION="v1.1.4" #
# Author: Justin C. Bagley #
# Date: Created by Justin Bagley on Fri, Apr 3 00:03:39 EDT 2020. #
# Last update: December 15, 2020 #
# Last update: December 16, 2020 #
# Copyright (c) 2020 Justin C. Bagley. All rights reserved. #
# Please report bugs to <[email protected]>. #
# #
Expand Down Expand Up @@ -136,7 +136,7 @@ FASTAsummary () {
##########################################################################################

echo "INFO | $(date) |----------------------------------------------------------------"
echo "INFO | $(date) | FASTAsummary, v1.1.3 December 2020 "
echo "INFO | $(date) | FASTAsummary, v1.1.4 December 2020 "
echo "INFO | $(date) | Copyright (c) 2020 Justin C. Bagley. All rights reserved. "
echo "INFO | $(date) |----------------------------------------------------------------"

Expand Down Expand Up @@ -227,7 +227,8 @@ if [[ "$INPUT_FASTA_FILE" != "NULL" ]] && [[ -s "$INPUT_FASTA_FILE" ]]; then
### RUN calcAlignmentPIS PIrANHA FUNCTION TO GET PARSIMONY-INFORMATIVE SITES FOR THE
### INPUT FASTA (TESTING WITH SINGLE INPUT FASTA)

MY_PIRANHA_PATH="$(echo ${SCRIPT_PATH}/../piranha | sed 's/bin\/\.\.\///g')";
MY_PIRANHA_PATH="$(echo ${SCRIPT_PATH}/../piranha.sh | sed 's/bin\/\.\.\///g')";
echo "INFO | $(date) | piranha path: $MY_PIRANHA_PATH"

echo "#!/bin/sh
Expand Down Expand Up @@ -318,7 +319,7 @@ count=1
### RUN calcAlignmentPIS PIrANHA FUNCTION TO GET PARSIMONY-INFORMATIVE SITES FOR
### MULTIPLE FASTA FILES IN CURRENT WORKING DIRECTORY

MY_PIRANHA_PATH="$(echo ${SCRIPT_PATH}/../piranha | sed 's/bin\/\.\.\///g')";
MY_PIRANHA_PATH="$(echo ${SCRIPT_PATH}/../piranha.sh | sed 's/bin\/\.\.\///g')";
echo "INFO | $(date) | piranha path: $MY_PIRANHA_PATH"

echo "#!/bin/sh
Expand Down
8 changes: 4 additions & 4 deletions bin/alignAlleles
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
# | #
# #
# File: alignAlleles.sh #
VERSION="v1.0.3" #
VERSION="v1.0.4" #
# Author: Justin C. Bagley #
# Date: Created by Justin Bagley on Fri, Apr 17 13:59:38 CDT 2020. #
# Last update: December 1, 2020 #
# Last update: December 16, 2020 #
# Copyright (c) 2020 Justin C. Bagley. All rights reserved. #
# Please report bugs to <[email protected]>. #
# #
Expand Down Expand Up @@ -137,7 +137,7 @@ alignAlleles () {
##########################################################################################

echo "INFO | $(date) |----------------------------------------------------------------" | tee -a "$MY_LOGFILE_SWITCH"
echo "INFO | $(date) | alignAlleles, v1.0.3 December 2020 " | tee -a "$MY_LOGFILE_SWITCH"
echo "INFO | $(date) | alignAlleles, v1.0.4 December 2020 " | tee -a "$MY_LOGFILE_SWITCH"
echo "INFO | $(date) | Copyright (c) 2020 Justin C. Bagley. All rights reserved. " | tee -a "$MY_LOGFILE_SWITCH"
echo "INFO | $(date) |----------------------------------------------------------------" | tee -a "$MY_LOGFILE_SWITCH"

Expand Down Expand Up @@ -597,7 +597,7 @@ count=1
cd ./FASTAsummary/ ;
echo "INFO | $(date) | Current dir: $PWD" | tee -a "$MY_INPUT_DIR""$MY_LOGFILE_SWITCH"

MY_PIRANHA_PATH="$(echo ${SCRIPT_PATH}/../piranha | sed 's/bin\/\.\.\///g')";
MY_PIRANHA_PATH="$(echo ${SCRIPT_PATH}/../piranha.sh | sed 's/bin\/\.\.\///g')";
echo "INFO | $(date) | piranha path: $MY_PIRANHA_PATH" | tee -a "$MY_INPUT_DIR""$MY_LOGFILE_SWITCH"

echo "#!/bin/sh
Expand Down

0 comments on commit 01af153

Please sign in to comment.