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'
SequenceServer::App.init
run SequenceServer::App

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

Thank you

Martin

https://github.com/yeban/sequenceserver/blob/master/lib/sequenceserver/database_formatter.rb#L191

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.