Skip to content

Commit

Permalink
Execute makeblastdb inside the compressed DB directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Gallant authored and Andrew Gallant committed Nov 21, 2013
1 parent a8a07fc commit 9864e98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ func (db *DB) Save() error {
// e.g., `makeblastdb -dbtype prot -in coarse.fasta`
cmd := exec.Command(
db.BlastMakeBlastDB, "-dbtype", "prot",
"-in", path.Join(db.Path, FileCoarseFasta),
"-out", path.Join(db.Path, FileBlastCoarse))
"-in", FileCoarseFasta, "-out", FileBlastCoarse)
cmd.Dir = db.Path

Vprintf("Creating %s...\n", FileBlastCoarse)
if err = Exec(cmd); err != nil {
Expand Down

0 comments on commit 9864e98

Please sign in to comment.