port generate-names.pl to run as a Bio::JBrowse::Cmd module