File: oboindex.csh

package info (click to toggle)
emboss 6.6.0%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 571,544 kB
  • sloc: ansic: 460,579; java: 29,439; perl: 13,573; sh: 12,754; makefile: 3,283; csh: 706; asm: 351; xml: 239; pascal: 237; modula3: 8
file content (35 lines) | stat: -rwxr-xr-x 1,025 bytes parent folder | download | duplicates (7)
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
#!/bin/csh -f

set db = $argv[1]

cd ~/devemboss

if($db == "edam") then
  dbxedam -dir emboss/data -index emboss/index -file EDAM.obo -auto
else if($db == "chebi") then
  dbxobo -dir emboss/data/OBO -index emboss/index \
    -dbname $db -dbres chebiresource -file $db.obo -auto
else if($db == "swo") then
 dbxobo -dir emboss/data/OBO -index emboss/index \
    -dbname $db -dbres sworesource -file software.obo -auto
else if($db == "eco") then
 dbxobo -dir emboss/data/OBO -index emboss/index \
    -dbname $db -dbres oboresource -file eco.obo -auto
else if($db == "go") then
 dbxobo -dir emboss/data/OBO -index emboss/index \
    -dbname $db -dbres oboresource -file go.obo -auto
else if($db == "pw") then
 dbxobo -dir emboss/data/OBO -index emboss/index \
    -dbname $db -dbres oboresource -file pathway.obo -auto
else
#ro
#so
  dbxobo -dir emboss/data/OBO -index emboss/index \
    -dbname $db -dbres oboresource -file $db.obo -auto
endif

if($db == "edam") then
    cat outfile.dbxedam
else
    cat outfile.dbxobo
endif