summaryrefslogtreecommitdiff
path: root/api/fdlKludge.h
blob: 96783f80a6fcc8b35965bd19058f8078d7010340 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/* ===========================================================================
*
*                            PUBLIC DOMAIN NOTICE
*            National Center for Biotechnology Information (NCBI)
*
*  This software/database is a "United States Government Work" under the
*  terms of the United States Copyright Act.  It was written as part of
*  the author's official duties as a United States Government employee and
*  thus cannot be copyrighted.  This software/database is freely available
*  to the public for use. The National Library of Medicine and the U.S.
*  Government do not place any restriction on its use or reproduction.
*  We would, however, appreciate having the NCBI and the author cited in
*  any work or product based on this material
*
*  Although all reasonable efforts have been taken to ensure the accuracy
*  and reliability of the software and data, the NLM and the U.S.
*  Government do not and cannot warrant the performance or results that
*  may be obtained by using this software or data. The NLM and the U.S.
*  Government disclaim all warranties, express or implied, including
*  warranties of performance, merchantability or fitness for any particular
*  purpose.
*
* ===========================================================================
*
* File Name:  fdlKludge.h
*
* Author:  Jian Ye
*
* Version Creation Date:   10/15/01
*
* $Revision: 6.12 $
*
* File Description:
*
* Modifications:  
* --------------------------------------------------------------------------
* $Log: fdlKludge.h,v $
* Revision 6.12  2003/06/11 20:15:45  jianye
* changed unigene linkout
*
* Revision 6.11  2003/06/02 20:02:23  jianye
* Added geo linkout
*
* Revision 6.10  2003/05/05 19:33:54  jianye
* Change url for structure linkout
*
* Revision 6.9  2003/04/21 21:49:37  jianye
* changed some url
*
* Revision 6.8  2003/04/14 20:43:22  jianye
* Adde geo url and modified structure linkout url
*
* Revision 6.7  2002/12/11 16:24:58  jianye
* added structure linkout
*
* Revision 6.6  2002/09/11 19:53:09  jianye
* Added url defines
*
* Revision 6.5  2002/08/22 20:32:35  jianye
* add parentheses to bit shift
*
* Revision 6.4  2002/08/21 21:15:32  camacho
* Added #define value for structure link bits
*
* Revision 6.3  2001/10/19 14:40:41  jianye
* *** empty log message ***
*
* Revision 6.2  2001/10/18 19:20:20  jianye
* Initial check in
*
*/

#ifndef FDLKLUDGE_H
#define FDLKLUDGE_H

#include <objloc.h>


#define linkout_locuslink (1<<0)
#define linkout_unigene   (1<<1)
#define linkout_structure (1<<2)
#define linkout_geo        (1<<3)

/* url for linkout*/
#define URL_LocusLink "<a href=\"http://www.ncbi.nlm.nih.gov/LocusLink/list.cgi?Q=%d%s\"><img border=0 height=16 width=16 src=\"/blast/images/L.gif\" alt=\"LocusLink info\"></a>"
#define URL_Unigene "<a href=\"http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=unigene&cmd=search&term=%d[Nucleotide+UID]\"><img border=0 height=16 width=16 src=\"/blast/images/U.gif\" alt=\"UniGene info\"></a>"

#define URL_Structure "<a href=\"http://www.ncbi.nlm.nih.gov/Structure/cblast/cblast.cgi?blast_RID=%s&blast_rep_gi=%d&hit=%d&blast_CD_RID=%s&blast_view=%s&hsp=0&taxname=%s&client=blast\"><img border=0 height=16 width=16 src=\"http://www.ncbi.nlm.nih.gov/Structure/cblast/str_link.gif\" alt=\"Related structures\"></a>"

#define URL_Structure_Overview "<a href=\"http://www.ncbi.nlm.nih.gov/Structure/cblast/cblast.cgi?blast_RID=%s&blast_rep_gi=%d&hit=%d&blast_CD_RID=%s&blast_view=%s&hsp=0&taxname=%s&client=blast\">Related Structures</a>"

#define URL_Geo "<a href=\"http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=geo&term=%d[gi]\"><img border=0 height=16 width=16 src=\"/blast/images/G.gif\" alt=\"Geo\"></a>"
 
#endif