Skip to content

Commit

Permalink
phylogeny/inc/genome/Fungi/
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyacheslav Brover committed Feb 14, 2025
1 parent d16b1fa commit 6d1a403
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 21 deletions.
8 changes: 4 additions & 4 deletions phylogeny/inc/genome/Fungi/genogroup2db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ fi
IN=$1


INC=`dirname $0`
SERVER=`cat $INC/server`
DATABASE=`cat $INC/database`
BULK_REMOTE=`cat $INC/bulk_remote`
INC=$( dirname $0 )
SERVER=$( cat $INC/server )
DATABASE=$( cat $INC/database )
BULK_REMOTE=$( cat $INC/bulk_remote )

CPP_DIR/bulk.sh $SERVER $INC/bulk $BULK_REMOTE $IN $DATABASE..ListC

Expand Down
12 changes: 6 additions & 6 deletions phylogeny/inc/genome/Fungi/object2closest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ SUBSET=$3
OUT=$4


INC=`dirname $0`
SERVER=`cat $INC/server`
DATABASE=`cat $INC/database`
BULK_REMOTE=`cat $INC/bulk_remote`
TAX=`cat $INC/../tax_id`
INC=$( dirname $0 )
SERVER=$( cat $INC/server )
DATABASE=$( cat $INC/database )
BULK_REMOTE=$( cat $INC/bulk_remote )
TAX=$( cat $INC/../tax_id )

if [ -z $DIR ]; then
DIR=$INC/../genome
if [ -e $INC/large ]; then
H=`CPP_DIR/file2hash $GENOME`
H=$( CPP_DIR/file2hash $GENOME )
DIR=$DIR/$H/$GENOME
fi
fi
Expand Down
8 changes: 4 additions & 4 deletions phylogeny/inc/genome/Fungi/objects_in_tree.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ OBJ_LIST=$1
IN_TREE=$2


INC=`dirname $0`
SERVER=`cat $INC/server`
DATABASE=`cat $INC/database`
BULK_REMOTE=`cat $INC/bulk_remote`
INC=$( dirname $0 )
SERVER=$( cat $INC/server )
DATABASE=$( cat $INC/database )
BULK_REMOTE=$( cat $INC/bulk_remote )

CPP_DIR/bulk.sh $SERVER $INC/bulk $BULK_REMOTE $OBJ_LIST $DATABASE..List

Expand Down
6 changes: 3 additions & 3 deletions phylogeny/inc/genome/Fungi/outlier2db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ if [ $# -ne 2 ]; then
fi


INC=`dirname $0`
SERVER=`cat $INC/server`
DATABASE=`cat $INC/database`
INC=$( dirname $0 )
SERVER=$( cat $INC/server )
DATABASE=$( cat $INC/database )

sqsh-ms -S $SERVER -D $DATABASE << EOT
update Genome
Expand Down
2 changes: 1 addition & 1 deletion phylogeny/inc/genome/Fungi/pair2report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if [ $NEW == 0 ]; then
H1=$( CPP_DIR/file2hash $OBJ1 )
PATH1=$GENOME/$H1/$OBJ1/$OBJ1
else
PATH1=$OBJ1/`basename $OBJ1`
PATH1=$OBJ1/$( basename $OBJ1 )
fi

H2=$( CPP_DIR/file2hash $OBJ2 )
Expand Down
2 changes: 1 addition & 1 deletion phylogeny/inc/genome/Fungi/pairs2dissim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if [ $# -ne 4 ]; then
echo "Compute dissimilarities for pairs of objects"
echo "#1: input dissimilarity requests (pairs of objects)"
echo "#2: new object path or ''. Object name is basename"
echo "#3: output dissimilarities added to the pairs of objects"
echo "#3: output dissimilarities added to the pairs of objects (absolute pathname)"
echo "#4: error log"
exit 1
fi
Expand Down
4 changes: 2 additions & 2 deletions phylogeny/inc/genome/bacteria_type/object2closest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ SUBSET=$3
OUT=$4


INC=`dirname $0`
INC=$( dirname $0 )

if [ -z $DIR ]; then
DIR=$INC/../genome
if [ -e $INC/large ]; then
H=`CPP_DIR/file2hash $GENOME`
H=$( CPP_DIR/file2hash $GENOME )
DIR=$DIR/$H/$GENOME
fi
fi
Expand Down

0 comments on commit 6d1a403

Please sign in to comment.