| 1 |
All modules in this directory where copied from |
| 2 |
Staden Package's ftp site: |
| 3 |
ftp://ftp.mrc-lmb.cam.ac.uk/pub/staden/io_lib-1.7.tar.gz |
| 4 |
|
| 5 |
They contain the following copyrigth |
| 6 |
|
| 7 |
/* |
| 8 |
* Copyright (c) Medical Research Council 1994-1998. All rights reserved. |
| 9 |
* |
| 10 |
* Permission to use, copy, modify and distribute this software and its |
| 11 |
* documentation for any purpose is hereby granted without fee, provided that |
| 12 |
* this copyright and notice appears in all copies. |
| 13 |
* |
| 14 |
* This file was written by James Bonfield, Simon Dear, Rodger Staden, |
| 15 |
* as part of the Staden Package at the MRC Laboratory of Molecular |
| 16 |
* Biology, Hills Road, Cambridge, CB2 2QH, United Kingdom. |
| 17 |
* |
| 18 |
* MRC disclaims all warranties with regard to this software. |
| 19 |
*/ |
| 20 |
|
| 21 |
The modifications i have done are: |
| 22 |
|
| 23 |
1) i wrote my own makefile as a section inside the acedb makefile |
| 24 |
2) i modified a few file names to prevent conflicts with acedb file names |
| 25 |
3) i added a few () to please the compiler |
| 26 |
4) i modified a little os.h (under #ifdef ACEDB) to simplify portability |
| 27 |
|
| 28 |
All these modifications are trivialities which do not alter the original code |
| 29 |
The modules are compiled by the acedb makefile in a static library: libstaden |
| 30 |
which is then used in acedb applications like acembly by linking -lstaden |
| 31 |
|
| 32 |
Jean Thierry-Mieg, octobre 1998 |
| 33 |
|
| 34 |
===================================================================== |
| 35 |
|
| 36 |
In addition, in march 2000, i added CTF support to the preexisting |
| 37 |
support of ABI SCF ALF and PLAIN formats |
| 38 |
|
| 39 |
CTF is a new more compact format that i constructed |
| 40 |
|
| 41 |
so i added a CTF case to a the Staden switches in about 8 files |
| 42 |
(this is done the local conventions) |
| 43 |
and i added the code |
| 44 |
scf2ctf.c ctf.scf.c : simple main() of a few lines |
| 45 |
ctfCompress.c : the real work |
| 46 |
makefile, makefile.staden: to compile a la acedb in multi platforms |
| 47 |
|
| 48 |
As of today, ctfCompress.c needs acedb libfree.a because it uses acedb |
| 49 |
arrays, but this is historic and this dependancy could be removed AND |
| 50 |
the scf->ctf->scf transform conserves the basecall and traces but is |
| 51 |
not exact something should still be fixed in the code |
| 52 |
|
| 53 |
|
| 54 |
Jean Thierry-Mieg, march 2000 |
| 55 |
|
| 56 |
To test the system: |
| 57 |
|
| 58 |
setenv ACEDB_MACHINE LINUX_4 |
| 59 |
make libfree.a |
| 60 |
cd wstaden |
| 61 |
make all |
| 62 |
cd .. |
| 63 |
bin.LINUX_4/scf2ctf < foo.scf > foo.ctf |
| 64 |
bin.LINUX_4/scf2ctf < foo.ctf > foo.ctf.scf |
| 65 |
|
| 66 |
===================================================================== |