The Delila programs can be automatically translated to C using David Gillespie's p2c translater. They then can be compiled by the gcc compiler.
Any program that uses the getdatetime routine to stamp output with the date and time must have the correct version of that routine. You must replace the time package with the correct one.
Archive of Delila programs.
LiteralFiles 2 NestedComments 2 StructFiles 1
gcc test.c -o test -I/usr/local/include -L/usr/local/lib -lm -lp2c
NOTES ON PROBLEMS:
I tried the test program and NOTHING HAPPENS
Under a Unix operating system, if you try the test program and NOTHING HAPPENS (i.e. you get a prompt back with no output) it is likely that you have a Unix 'test' program in your path. Say this:
which testif it says '/bin/test' or something like that, then try this:
./testto force the local one to be used.
protseq: Pascal system error 0it means that there is no file named protseq! It is unfortunate that the compiler statement is not clear. All you have to do in each case is either supply the appropriate file or make an empty one. For the protseq, you need data in the file. To set an example up type these lines:
wget https://alum.mit.edu/www/toms/ftp/globin.fasta(You can either use wget to grab the file or you can use the link provided.)
mv golbin.fasta protseq
wave: Pascal system error 0you missed the wave file; use:
touch waveto make the empty file. You can have an empty file until you are ready to try putting waves on the logos (this is described on the makelogo manual page).
If you try p2c and it works or if you have trouble compiling, please email me.
origin: 1999 April 30
updated: 2020 Oct 01