DRL / blobtools

Modular command-line solution for visualisation, quality control and taxonomic partitioning of genome datasets
GNU General Public License v3.0
187 stars 44 forks source link

refine nodesDB handling and writing of default db #82

Closed douglasgscofield closed 5 years ago

douglasgscofield commented 5 years ago

We have blobtools installed in a cluster environment, where creation of the default taxonomy db is possible during installation by someone with sufficient permissions, but not by users loading blobtools as a module. There is also no facility for creating a taxonomy db in some location other than the default, although it is possible to load a taxonomy db from another location with --db.

This pull request modified blobtools create a bit to allow creation of a taxonomy db when --nodes, --names, and --db are all specified and the taxonomy db named by --db does not exist. In that case, there is no attempt to create the default database, only the named database.

DRL commented 5 years ago

Hi douglasgscofield,

thanks for these changes!

cheers,

dom