convert a string in a sequence

Peter Rice pmr at ebi.ac.uk
Tue Jul 15 12:47:34 UTC 2003


Carole Louis wrote:
> Is it possible to convert a string in a sequence ? If it is, how can I 
> do it ?

Yes, you can do this:

     AjPSeq seq;

     seq = ajSeqNewL(ajStrLen(str));
     ajSeqAssSeq(seq, str);

... and you can expect the missing ajSeqNewStr call to appear in the 
next release!!!

Hope this helps,

Peter




More information about the EMBOSS mailing list