File: bioMotif

package info (click to toggle)
acedb 4.9.39%2Bdfsg.02-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 33,796 kB
  • sloc: ansic: 256,989; perl: 2,803; cpp: 2,534; csh: 1,712; python: 862; sh: 658; makefile: 298; awk: 249; lex: 225; yacc: 221
file content (63 lines) | stat: -rw-r--r-- 1,257 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/csh -f
#   $Id: bioMotif,v 1.2 1997/02/04 15:36:26 mieg Exp $ 
# This is a call to Gerard Menessier's motif search program
#echo calling motifAce $*
#echo $*
#echo ok
#
#echo $5
#
#cat $5
#
#
#echo $7
#
#cat $7

if (! $?BIOMOTIF_DIR) then
 if (-d ~/bioMotif) then
  setenv BIOMOTIF_DIR ~/bioMotif
 else 
  if (-e /usr/local/bioMotif) then
    setenv BIOMOTIF_DIR /usr/local/bioMotif
  else 
    if (-e ./bioMotif) then
      setenv BIOMOTIF_DIR  ./bioMotif
    endif
  endif
 endif
endif

if ($?BIOMOTIF_DIR) then
 if (-x $BIOMOTIF_DIR/bioMotif_bin/bioMotif ) then
   #echo $BIOMOTIF_DIR/bioMotif_bin/bioMotif $*
   $BIOMOTIF_DIR/bioMotif_bin/bioMotif $*
   exit 0
 endif
endif

 echo Sorry, i cannot Find bioMotif
 echo May be you should setenv BIOMOTIF_DIR so that 
 echo BIOMOTIF_DIR/bioMotif_bin/bioMotif is the executable
 echo ' '
 if ($?BIOMOTIF_DIR) then
  echo now BIOMOTIF_DIR: $BIOMOTIF_DIR
 else
  echo now BIOMOTIF_DIR is not set
 endif
 echo ' '
 echo Biomotif is a program by Gerard Menessier which
 echo can search dna for mixed dna and amino motifs mixed
 echo with hydrophobicity or other requirements in a very general way
 echo ' '
 echo You can import bioMotif from ftp://ftp.lpm.univ-montp2.fr/pub/BioMotif
 pwd
 exit 1