~ubuntu-branches/ubuntu/utopic/mafft/utopic-201405121512

« back to all changes in this revision

Viewing changes to core/mafft.tmpl

  • Committer: Package Import Robot
  • Author(s): Charles Plessy
  • Date: 2014-01-19 08:25:50 UTC
  • mfrom: (18.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140119082550-y9m1g39vel5jjm1t
Tags: 7.130-1
* New upstream release.
* Correct ‘XS-Testsuite’ to ‘Testsuite’ in debian/control.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
er=0;
4
4
myself=`dirname "$0"`/`basename "$0"`; export myself
5
 
version="v7.127b (2013/10/29)"; export version
 
5
version="v7.130b (2013/12/05)"; export version
6
6
LANG=C; export LANG
7
7
os=`uname`
8
8
progname=`basename "$0"`
396
396
                elif [ "$1" = "--globalgenafpair" ]; then
397
397
                        distance="globalgenaf"
398
398
                        pairspecified=1
 
399
                        echo "No longer supported!" 1>&2
 
400
                        exit;
399
401
                elif [ "$1" = "--localgenafpair" ]; then
400
402
                        distance="localgenaf"
401
403
                        pairspecified=1
934
936
                exit;
935
937
        fi
936
938
        if [ `awk "BEGIN {print( 0.0+\"$specificityconsideration\" > 0.0 )}"` -gt 0 ]; then
 
939
                laof="0"
 
940
                lexp="0"
 
941
                pgaof="0"
 
942
                pgexp="0"
 
943
                LEXP="0"
 
944
                GEXP="0"
937
945
#               if [ $auto -eq 1 -o $fragment -ne 0 -o $iterate -gt 0 ]; then
938
946
                if [ $auto -eq 1 -o $fragment -ne 0 ]; then
939
947
                        printf "\n%s\n\n" "At present, the 'unalignlevel > 0' mode is supported in the progressive options only." 1>>"$progressfile"
943
951
                        printf "\n%s\n\n" "At present, the 'unalignlevel > 0' mode is not supported in the (dp)parttree option." 1>>"$progressfile"
944
952
                        exit;
945
953
                fi
946
 
                if [ $distance != "ktuples" -a `awk "BEGIN {print( 0.0+\"$weighti\" > 0.0 )}"` -gt 0 ]; then
947
 
                        printf "\n%s\n\n" "Please add --weighti 0.0, for now." 1>>"$progressfile"
948
 
                        exit;
949
 
                fi
 
954
#               if [ $distance != "ktuples" -a `awk "BEGIN {print( 0.0+\"$weighti\" > 0.0 )}"` -gt 0 -a $iterate -gt 0 ]; then
 
955
#                       printf "\n%s\n\n" "Please add --weighti 0.0, for now." 1>>"$progressfile"
 
956
#                       exit;
 
957
#               fi
950
958
        fi
951
959
 
952
960
        if [ $parallelizationstrategy = "BESTFIRST" -o  $parallelizationstrategy = "BAATARI0" ]; then
1698
1706
                        mv hatx hat3
1699
1707
                        "$prefix/tbfast" -s $specificityconsideration $legacygapopt $mergearg $outnum $addarg -C $numthreads $rnaopt $weightopt $treeinopt $treeoutopt $distoutopt $seqtype $model -f "-"$gop  -h $aof  $param_fft $localparam   $algopt $treealg $scoreoutarg < infile   > /dev/null 2>>"$progressfile" || exit 1
1700
1708
                elif [ $distance = "global" ]; then
1701
 
                        "$prefix/pairlocalalign" $localparam  -C $numthreads $seqtype $model -g $pgexp -f $pggop  -h $pgaof  -A < infile > /dev/null  2>>"$progressfile"      || exit 1
 
1709
                        "$prefix/pairlocalalign" -u $specificityconsideration $localparam  -C $numthreads $seqtype $model -g $pgexp -f $pggop  -h $pgaof  -A < infile > /dev/null  2>>"$progressfile"      || exit 1
1702
1710
                        cat hat3.seed hat3 > hatx
1703
1711
                        mv hatx hat3
1704
1712
                        "$prefix/tbfast" -s $specificityconsideration $legacygapopt $mergearg $outnum $addarg -C $numthreads $rnaopt $weightopt $treeinopt $treeoutopt $distoutopt $seqtype $model -f "-"$gop  -h $aof  $param_fft $localparam   $algopt $treealg $scoreoutarg < infile   > /dev/null 2>>"$progressfile" || exit 1
1709
1717
                                mv hatx hat3
1710
1718
                                "$prefix/addsingle" $legacygapopt -O $outnum $addarg -C $numthreads $rnaopt $weightopt $treeinopt $treeoutopt $distoutopt $seqtype $model -f "-"$gop  -h $aof  $param_fft $localparam   $algopt $treealg $scoreoutarg < infile   > /dev/null 2>>"$progressfile" || exit 1
1711
1719
                        else
1712
 
                                "$prefix/pairlocalalign" $localparam -C $numthreads $seqtype $model  -g $lexp -f $lgop  -h $laof -L < infile > /dev/null  2>>"$progressfile"      || exit 1
 
1720
                                "$prefix/pairlocalalign" -u $specificityconsideration $localparam -C $numthreads $seqtype $model  -g $lexp -f $lgop  -h $laof -L < infile > /dev/null  2>>"$progressfile"      || exit 1
1713
1721
#                               addarg wo watasanai
1714
1722
                                cat hat3.seed hat3 > hatx
1715
1723
                                mv hatx hat3
1716
1724
                                "$prefix/tbfast" -s $specificityconsideration $legacygapopt $mergearg $termgapopt $outnum $addarg -C $numthreads $rnaopt $weightopt $treeinopt $treeoutopt $distoutopt $seqtype $model -f "-"$gop  -h $aof  $param_fft $localparam   $algopt $treealg $scoreoutarg < infile   > /dev/null 2>>"$progressfile" || exit 1
1717
1725
                        fi
1718
1726
                elif [ $distance = "globalgenaf" ]; then
1719
 
                        "$prefix/pairlocalalign" $localparam -C $numthreads $seqtype $model  -g $pgexp -f $pggop  -h $pgaof -O $GGOP -E $GEXP -K  < infile > /dev/null 2>>"$progressfile"    || exit 1
 
1727
                        "$prefix/pairlocalalign"  -u $specificityconsideration $localparam -C $numthreads $seqtype $model  -g $pgexp -f $pggop  -h $pgaof -O $GGOP -E $GEXP -K  < infile > /dev/null 2>>"$progressfile"    || exit 1
1720
1728
                        cat hat3.seed hat3 > hatx
1721
1729
                        mv hatx hat3
1722
1730
                        "$prefix/tbfast" -s $specificityconsideration $legacygapopt $mergearg $outnum $addarg -C $numthreads $rnaopt $weightopt $treeinopt $treeoutopt $distoutopt $seqtype $model -f "-"$gop  -h $aof  $param_fft $localparam   $algopt $treealg $scoreoutarg < infile   > /dev/null 2>>"$progressfile" || exit 1
1723
1731
                elif [ $distance = "localgenaf" ]; then
1724
 
                        "$prefix/pairlocalalign" $localparam -C $numthreads $seqtype $model -g $lexp -f $lgop  -h $laof -O $LGOP -E $LEXP -N < infile > /dev/null  2>>"$progressfile"      || exit 1
 
1732
                        "$prefix/pairlocalalign"  -u $specificityconsideration $localparam -C $numthreads $seqtype $model -g $lexp -f $lgop  -h $laof -O $LGOP -E $LEXP -N < infile > /dev/null  2>>"$progressfile"      || exit 1
1725
1733
                        cat hat3.seed hat3 > hatx
1726
1734
                        mv hatx hat3
1727
1735
                        "$prefix/tbfast" -s $specificityconsideration $legacygapopt $mergearg $termgapopt $outnum $addarg -C $numthreads $rnaopt $weightopt $treeinopt $treeoutopt $distoutopt $seqtype $model -f "-"$gop  -h $aof  $param_fft $localparam   $algopt $treealg $scoreoutarg < infile   > /dev/null 2>>"$progressfile" || exit 1