Lists, selections & defaults

James Bonfield jkb at
Wed Feb 14 15:01:12 UTC 2001

Some more ACD questions. If I've missed something in the documentation then
please point me to it, otherwise please note it as a request for documentation 

For the list type, what value should default have? I've seen examples thus:


  list: things [
        default: "B N T S F"
                B:Blank line,
                1:Frame1 translation, 
                2:Frame2 translation, 
                3:Frame3 translation, 

ajbad.acd: (is this deliberately a badly formatted acd file?

 list: frames [
        default: "1,2,3,4,5,6"
        values: "0: None, 1: F1,2: F2,3: F3,4: R1,5: R2,6: R3"


  List: seqtype [ req: Y 
    prompt: "Sequence type"
    value: "N:nucleic;P:protein;?:unknown"
   max: 1 min: 1 def: unknown

So the default is sometimes the 'code' (as in showseq.acd) and sometimes the
'value' (dbiblast.acd). When default is a list, sometimes it is space
separated, and sometimes command separated.

How should I be parsing this?


James Bonfield (jkb at   Tel: 01223 402499   Fax: 01223 213556
Medical Research Council - Laboratory of Molecular Biology,
Hills Road, Cambridge, CB2 2QH, England.
Also see Staden Package WWW site at

More information about the emboss-dev mailing list