https://github.com/cghiban/blast-wrapper
wrappers around blast tools to enable caching
https://github.com/cghiban/blast-wrapper
bioinformatics blast caching
Last synced: 4 months ago
JSON representation
wrappers around blast tools to enable caching
- Host: GitHub
- URL: https://github.com/cghiban/blast-wrapper
- Owner: cghiban
- License: mit
- Created: 2019-05-21T21:18:38.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-03T20:40:53.000Z (almost 7 years ago)
- Last Synced: 2025-12-18T17:33:17.760Z (7 months ago)
- Topics: bioinformatics, blast, caching
- Language: Go
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# blast wrappers
Blast wrappers for caching the output of blast searches.
These tools will search for any existing cached output and will return that if it exists. If not, it will pass all the arguments to the blast tools found in `/usr/bin/*blast*`.
The output in stored/cached into `/tmp/blastCacheStore`
```
/tmp/blastCacheStore/
└── 70d
└── 35d
└── 70d35d8c2c52155979a2ad66722ccc8c
├── errors.blast
└── output.blast
```
The cache key (in the above example `70d35d8c2c52155979a2ad66722ccc8c`) is created using md5 on the arguments passed to the blast tool (or, rather, to the wrapper) and the *contents* of the file (given by `-query` argument).
This works only if you add these wrappers to the PATH...
## TODO
- cache location should be configurable (via env variables)
- use a store struct