Skip to content

Commit

Permalink
Update splitPHYLIP
Browse files Browse the repository at this point in the history
  • Loading branch information
justincbagley committed Dec 20, 2020
1 parent a2f7ac1 commit 28adc59
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bin/splitPHYLIP
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# | #
# #
# File: splitPHYLIP.sh #
export VERSION="v1.2.0" #
export VERSION="v1.2.1" #
# Author: Justin C. Bagley #
# Date: Created by Justin Bagley on Sat, Apr 20 08:32:39 CDT 2019. #
# Last update: December 19, 2020 #
Expand Down Expand Up @@ -132,7 +132,7 @@ splitPHYLIP () {
##########################################################################################

echo "INFO | $(date) |----------------------------------------------------------------"
echo "INFO | $(date) | splitPHYLIP, v1.2.0 December 2020 "
echo "INFO | $(date) | splitPHYLIP, v1.2.1 December 2020 "
echo "INFO | $(date) | Copyright (c) 2019-2020 Justin C. Bagley. All rights reserved. "
echo "INFO | $(date) |----------------------------------------------------------------"

Expand Down Expand Up @@ -282,6 +282,8 @@ fi
# WORKING, but preferred:
MY_PARTITION_NAME="$(awk '{if(NR=='$count') print $0}' "$MY_NAMES_FILE" | sed 's/\ //g')";
mv ./locus"$count".phy "$MY_PARTITION_NAME".phy ;

echo ./"$MY_PARTITION_NAME".phy >> ./renamedPHYLIP_order.list ;
fi

echo "INFO | $(date) | Splitting out locus ${count} into separate PHYLIP file... "
Expand Down

0 comments on commit 28adc59

Please sign in to comment.