BCCDC-PHL / FluViewer

Tool for generating influenza A virus genome sequences from FASTQ data
https://bccdc-phl.github.io/FluViewer/
4 stars 1 forks source link

Analysis fails when blast database files do not already exist #25

Closed dfornika closed 2 weeks ago

dfornika commented 2 weeks ago

FluViewer has a feature to check whether or not a BLAST database has already been made based on the FluViewer fasta database file. If it hasn't then FluViewer will run makeblastdb to make it on-the-fly before proceeding.

We're using the run() function from the fluviewer.analysis module to do that here:

https://github.com/BCCDC-PHL/FluViewer/blob/e3151579cba477da3f65c0aa5e888ee528091bc1/fluviewer/database.py#L115

...but we're not importing that module so we get:

NameError: name 'run' is not defined