Re: [Jstyx-users] Styx
Status: Beta
Brought to you by:
jonblower
From: Jon B. <jd...@ma...> - 2006-10-11 13:21:41
|
Dear Els, This is a good question. Currently the SGS software uses the Java Simple Argument Parser (JSAP, http://www.martiansoftware.com/jsap/) to parse command-line arguments. As far as I know, JSAP does not allow for flags of the form "-sequence". I will try to find out more from the JSAP developers. In the meantime all I can think of is to create a script that wraps EMBOSS. The script could accept arguments of the form "--sequence" and simply replace them with "-sequence". You would then wrap the script as the Styx Grid Service. Would this be a satisfactory solution? I am sorry that this isn't a very neat way of doing it. Best wishes, Jon On 11/10/06, Els Vanbleu <El...@de...> wrote: > Hallo! > > I have a question concerning Styx Grid Services and writing a > configuration file for command line tools. > > EMBOSS provides a whole bunch of interesting command line tools for > sequence manipulation. However they work, at the command line with > parameters, preceded with solely a single - instead of double --. > > E.g. seqret -sequence <filename> -outseq <outputfile> > > The GridServices currently only accept as attributes for a parameter a > single character flag (-o) or a multiple character longFlag (--outseq). > Can an additional attribute be created to accept the 'inbetween' Flag > (-outseq), i.e. a multiple character flag? > > Or is there any other easy solution to circumvent this problem? > > Thanks in advance! > Greetz > Els Vanbleu > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Jstyx-users mailing list > Jst...@li... > https://lists.sourceforge.net/lists/listinfo/jstyx-users > -- -------------------------------------------------------------- Dr Jon Blower Tel: +44 118 378 5213 (direct line) Technical Director Tel: +44 118 378 8741 (ESSC) Reading e-Science Centre Fax: +44 118 378 6413 ESSC Email: jd...@ma... University of Reading 3 Earley Gate Reading RG6 6AL, UK -------------------------------------------------------------- |