bizarre behaviour of ajSeqGetUsa
Guy Bottu
gbottu at ben.vub.ac.be
Fri Sep 17 19:15:56 UTC 2004
Dear support,
I discovered something bizarre. To see it, try the following program under
EMBOSS 2.9.0 :
----------------------------
#include "emboss.h"
#include <time.h>
int main(int argc, char **argv)
{
AjPSeq seq1;
AjPSeq seq2;
embInit ("test", argc, argv);
seq1 = ajAcdGetSeq("asequence");
seq2 = ajAcdGetSeq("bsequence");
ajFmtPrint("We have %S and %S\n", ajSeqGetUsa(seq1), ajSeqGetUsa(seq2));
ajExit ();
}
------------------------------
application: test [
]
sequence: asequence [
parameter: "Y"
]
sequence: bsequence [
parameter: "Y"
]
----------------------------
In my hands the command
test sw:papa_carpa sw:tpa_human
outputs
We have sw-id:TPA_HUMAN and sw-id:TPA_HUMAN
Where is sw:PAPA_CARPA gone ? I do not know whether this is a bug or a
"feature", but it is surely counterintuituve behaviour.
Sincerely,
Guy Bottu
More information about the emboss-dev
mailing list