[EMBOSS] Re: Problem writing sequence files
Kim Rutherford
kmr at sanger.ac.uk
Thu Aug 21 11:22:34 UTC 2003
On Wed, 20 Aug 2003 14:28:30 +0100, Kim Rutherford wrote:
> Hi. I'm trying to write a sequence to a named file. I tried this:
> AjPFile seqout_file = ajFileNewOut(seqout_name);
> AjPSeqout named_seqout = ajSeqoutNewF(seqout_file);
> AjPStr format_str = ajStrNew();
> ajStrAssC(&format_str, "embl");
> ajSeqOutSetFormat(named_seqout, format_str);
> ajSeqWrite(named_seqout, subseq);
> I get a segmentation fault ...
I've realised that I don't need to do any of this in my application, I
just need to add -ossingle to the command line to get the functionality
I need. Sorry for the waste of time.
Kim.
More information about the EMBOSS
mailing list