Call sequenceserver format-databases from worker

Hey gang,

In the docs I found:

require 'rubygems'
require 'bundler/setup'
require 'sequenceserver'

SequenceServer::App.config_file = '/absolute/path/to/configuration_file'
run SequenceServer::App

is there a way to also call the ‘sequenceserver format-databases /path/to/data’ method in the same format?

Thank you


There might be rough edges in using DatabaseFormatter in a script
outside of SequenceServer.

-- Priyam

Thanks for the response. I have a clock-worker exporting db-tables to fasta data and want to rebuild the blast-dbs each time.