7 echo "Usage: $0 [-m method] [-d DB] input_seq"
8 echo " input_seq: protein sequence in the FASTA format."
9 echo " method: 'crnpred2k', 'crnpred5k' or 'linear' (default: crnpred2k)"
10 echo " DB: BLAST sequence database (default: uniref100)"
15 args=`getopt m:d:h $*`
20 -m) method=$2; shift 2;;
28 if [ "hoge${inseq}" = "hoge" ]; then
32 prof=`basename ${inseq}`.d.prof
33 fout=`basename ${inseq}`.d.out
35 blastpgp -d $DB -h 0.0005 -j 3 -i $inseq -Q $prof > /dev/null 2>&1
37 echo "# Input sequence" > $fout
42 echo "*** SS, CN, RWCO predictions..."
43 if [ "$method" = "crnpred2k" ]; then
44 echo " prediction by CRN2000 (takes some time...)"
45 ${CRNPRED_DIR}/bin/xpredm2000 $prof >> $fout
46 elif [ "$method" = "crnpred5k" ]; then
47 echo " prediction by CRN5000 (takes some time...)"
48 ${CRNPRED_DIR}/bin/xpredm5000 $prof >> $fout
50 echo " prediction by linear method"
51 ${CRNPRED_DIR}/bin/lpredm $prof >> $fout