Starting EMBOSS apllications without an input file...

Brooks Mark brooks at embl-grenoble.fr
Tue May 8 12:25:20 UTC 2001


There is also the possibility that I'm just not doing it correctly!
OK, so I'll bite the bullet and expose my (small) effort for perusal.

Perhaps my segfault is down to the way I initialize the translation
table(?)

If I comment out the embInit and ajExit lines, then I get the segfault,
otherwise things work. Is embInit required to initialize the TrnTable
objects or something? gdb tells me something is wrong there.

foobar.c and foobar.acd are attached (hopefully)
  

Thanks in advance for any help,

Mark.

(The program has had problems sending the output to stdout- I only
see the output on my Mandrake 8.0 box inside vim (!),
(i.e. :!./foobar
Enter a DNA sequence:
atgatgatg

Your sequence was:
atgatgatg
MMM << These lines
MMM << only appear within vim!, 
The problem seems fixed on a Suse 7(ish) ESRF internal
distribution here though. I guess this is unrelated to the real issue
though)

Mark Brooks,                          
EMBL Grenoble Outstation,                
6, rue Jules Horowitz, BP181          
38042 Grenoble Cedex 9, France.
Tel: + (0)4 76 20 72 85

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: foobar.c
URL: <http://lists.open-bio.org/pipermail/emboss-dev/attachments/20010508/bfda56b8/attachment-0001.c>
-------------- next part --------------
# SEQRET application
# AJAX COMMAND DEFINITION (ACD) FILE

# use "" for missing values - these are required.
# values in "" are trimmed to single spaces.
# everything is treated as single tokens delimited by white space
# (space, tab, newline)

# GWW 15 Feb 1999

appl: rubbish [
	doc: "Copy Sequences"
	group: "Plaigirism"
]

  seqall: sequence [
	param: Y
	type: protein
  ]

  seqoutall: outseq [
	param: N
	ext: "peptide"
  ]


More information about the emboss-dev mailing list