| 1 |
/* Copyright (c) 2002 Robert B. Russell |
| 2 |
* EMBL, Meyerhofstrasse 1, 69917 Heidelberg, Germany |
| 3 |
* Email: [email protected] |
| 4 |
* |
| 5 |
* This program is free software; you can redistribute it and/or modify |
| 6 |
* it under the terms of the GNU General Public License as published by |
| 7 |
* the Free Software Foundation; either version 2 of the License, or |
| 8 |
* (at your option) any later version. |
| 9 |
* |
| 10 |
* This program is distributed in the hope that it will be useful, |
| 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
* GNU General Public License for more details. |
| 14 |
* |
| 15 |
* You should have received a copy of the GNU General Public License |
| 16 |
* along with this program; if not, write to the Free Software |
| 17 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. |
| 18 |
*/ |
| 19 |
|
| 20 |
|
| 21 |
--- The C program --- |
| 22 |
Either re-compile the program as (e.g.) |
| 23 |
|
| 24 |
cc -O2 -I. -o ncoils-osf ncoils.c read_matrix.c -lm |
| 25 |
|
| 26 |
or use the exectuables (ncoils-osf, ncoils-irix) given. |
| 27 |
|
| 28 |
Move the executables to a central bin directory and re-name |
| 29 |
as appropriate. |
| 30 |
|
| 31 |
You then need to set an environment variable $COILSDIR to this directory |
| 32 |
so that matrices can be seen. |
| 33 |
|
| 34 |
--- An example --- |
| 35 |
|
| 36 |
Seryl tRNA synthetase has two coiled-coil segments, and should be found |
| 37 |
by the method. Try: |
| 38 |
|
| 39 |
ncoils -f < 1srya.fa |
| 40 |
|
| 41 |
You should get: |
| 42 |
|
| 43 |
>1srya SERYL-TRNA SYNTHETASE (E.C.6.1.1.11) (THERMUS THERMOPHILUS, STRAIN HB27) |
| 44 |
MVDLKRLRQEPEVFHRAIREKGVALDLEAxxxxxxxxxxxxxxxxxxxxxxxxxxxxVPK |
| 45 |
APPEExxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxVPLPPWPGAPVGGEEANREI |
| 46 |
KRVGGPPEFSFPPLDHVALMEKNGWWEPRISQVSGSRSYALKGDLALYELALLRFAMDFM |
| 47 |
ARRGFLPMTLPSYAREKAFLGTGHFPAYRDQVWAIAETDLYLTGTAEVVLNALHSGEILP |
| 48 |
YEALPLRYAGYAPAFRSEAGSFGKDVRGLMRVHQFHKVEQYVLTEASLEASDRAFQELLE |
| 49 |
NAEEILRLLELPYRLVEVATGDMGPGKWRQVDIEVYLPSEGRYRETHSCSALLDWQARRA |
| 50 |
NLRYRDPEGRVRYAYTLNNTALATPRILAMLLENHQLQDGRVRVPQALIPYMGKEVLEPC |
| 51 |
G |
| 52 |
1 sequences 421 aas 63 in coil |
| 53 |
|
| 54 |
Note that the last line " 1 sequences..." is standard error, the rest is |
| 55 |
standard out, so if you pipe the output to 1srya_coils.fa you will just |
| 56 |
get a BLAST readable file. |
| 57 |
|
| 58 |
--- SERVER --- |
| 59 |
|
| 60 |
coils-svr.pl is a stand alone PERL program that should run the program |
| 61 |
in an HTML window if you: |
| 62 |
|
| 63 |
1. Put the program in a /cgi-bin directory |
| 64 |
2. Create and make read-writeable by all the directories |
| 65 |
described in the files |
| 66 |
3. Have or install the programs "gs" "gnuplot" and "ppmtogif" |
| 67 |
|
| 68 |
I haven't documented this very well, I'm sorry, but I haven't really |
| 69 |
any time. |