Skip to content

Commit

Permalink
v.1.2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas-fer authored Sep 14, 2016
1 parent 19d3b8c commit 9bc3872
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions HybPhyloMaker7b_astrid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -418,15 +418,17 @@ if [ -n "$OUTGROUP" ]; then
if [[ $mlbs =~ "yes" ]]; then
nw_reroot Astrid_${MISSINGPERCENT}_${SPECIESPRESENCE}_withbootstrap.tre $OUTGROUP > tmp && mv tmp Astrid_${MISSINGPERCENT}_${SPECIESPRESENCE}_withbootstrap.tre
nw_reroot Astrid_${MISSINGPERCENT}_${SPECIESPRESENCE}_bootmajorcons.tre $OUTGROUP > tmp && mv tmp Astrid_${MISSINGPERCENT}_${SPECIESPRESENCE}_bootmajorcons.tre
nw_reroot Astrid_${MISSINGPERCENT}_${SPECIESPRESENCE}_bootANDcons.tre $OUTGROUP > tmp && mv tmp Astrid_${MISSINGPERCENT}_${SPECIESPRESENCE}_bootANDcons.tre
if [[ $combine =~ "yes" ]]; then
nw_reroot Astrid_${MISSINGPERCENT}_${SPECIESPRESENCE}_bootANDcons.tre $OUTGROUP > tmp && mv tmp Astrid_${MISSINGPERCENT}_${SPECIESPRESENCE}_bootANDcons.tre
#Remove possible excessive zeros from combined tree
sed -i.bak11 's/.0000//g' Astrid_${MISSINGPERCENT}_${SPECIESPRESENCE}_bootANDcons.tre
fi
fi
fi

#Modify labels in Astrid trees
sed -i.bak9 's/-/ /g' Astrid*.tre
sed -i.bak10 's/_/ /g' Astrid*.tre
#Remove possible excessive zeros from combined tree
sed -i.bak11 's/.0000//g' Astrid_${MISSINGPERCENT}_${SPECIESPRESENCE}_bootANDcons.tre

#Copy results and logs to home
if [[ $update =~ "yes" ]]; then
Expand Down

0 comments on commit 9bc3872

Please sign in to comment.