/* @source acdgalaxy application ** ** Convert ACD file into GALAXY tool ** ** @author Peter Rice ** @@ ** ** This program is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License ** as published by the Free Software Foundation; either version 2 ** of the License, or (at your option) any later version. ** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU General Public License for more details. ** ** You should have received a copy of the GNU General Public License ** along with this program; if not, write to the Free Software ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ******************************************************************************/ #include "emboss.h" /* @prog acdgalaxy ************************************************************ ** ** ACD converter to GALAXY tool definition ** ** Unlike other ACD report programs (acdpretty and acdtable) acdgalaxy will run ** through command line checking and prompting the user, while converting the ** internal data. into a GALAXY tool definition ** ******************************************************************************/ int main(int argc, char **argv) { if(argc < 2) ajFatal("Error - must specify an application to compile\n"); ajAcdSetControl("acdhelp"); ajAcdSetControl("acdgalaxy"); ajAcdSetControl("acdnocommandline"); embInit(argv[1], argc-1, &argv[1]); ajAcdExit(ajTrue); /* turn off the 'never used' ACD warnings */ embExit(); return 0; } /* ** Notes on Galaxy definitions ** ** galaxy_dist/tools/emboss_5/emboss_xxxx.xml ** DOS file!!! ** ** tag ** name with numeric suffix (how many have mnore than one?) e.g. antigenic1 ** version ** ** (first para of documentation) ** ** name, qualifiers with variable names for input1.. out_file1 ... ** paramname out_format (rformat etc.) ** ** ** sequence input: ** On query ** ** general qualifiers: ** ** ** ** lists e.g. rformat ** **