makeSCF SGI ELF / src?

James Bonfield jkb at mrc-lmb.cam.ac.uk
Tue Mar 31 10:55:28 EST 1998


In article <6fo941$9ho$1 at lyra.csx.cam.ac.uk> jkb at mrc-lmb.cam.ac.uk (James Bonfield) writes:
>In article <351CF5DB.2BC03BEF at scientia.up.ac.za> Fourie Joubert <fourie at scientia.up.ac.za> writes:
>>Hi
>>Can anyone tell me where to find a SGI ELF32 binary or source code for
>>makeSCF?
>
>makeSCF is part of the Staden Package and is not freely available (either as
>a binary or as source). However the main guts of it (reading ABI, ALF,
>SCF formats and writing to SCF) is freely available as part of our
>io_lib package.

To follow up on my own message, we've now decided to make makeSCF
freely available. In the future it will become part of io_lib,
contained within the io_lib/progs subdirectory. For now I've just
placed in by itself in our ftp site. To download a copy fetch
"ftp://ftp.mrc-lmb.cam.ac.uk/pub/staden/src/makeSCF.c".

It's in a single smallish file and requires -I.../io_lib/include to
compile and -L.../io_lib/lib/$MACHINE-binaries -lread to link. It
should compile fine on any Ansi C compiler, but please email me if you
have problems.

If you still feel worried about the makeSCF status, it's also worth
noting that the simplest equivalent using the free io_lib library
would be:

#include "Read.h"
#include "traceType.h"
int main(int argc, char **argv) {
    Read *r;
    if (argc != 3) return 1;
    if (NULL == (r = read_reading(argv[1], TT_ANY))) return 1;
    return write_reading(argv[2], r, TT_SCF);
}

Obviously we'd still like people to get the complete Staden Package
for the rest of our programs :-)

	James
--
James Bonfield (jkb at mrc-lmb.cam.ac.uk)   Tel: 01223 402499   Fax: 01223 213556
Medical Research Council - Laboratory of Molecular Biology,
Hills Road, Cambridge, CB2 2QH, England.
Also see Staden Package WWW site at http://www.mrc-lmb.cam.ac.uk/pubseq/



More information about the Staden mailing list