~ubuntu-branches/ubuntu/precise/ncbi-tools6/precise

« back to all changes in this revision

Viewing changes to biostruc/pdbeast/pdbeast.h

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-03-27 12:00:15 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050327120015-embhesp32nj73p9r
Tags: 6.1.20041020-3
* Fix FTBFS under GCC 4.0 caused by inconsistent use of "static" on
  functions.  (Closes: #295110.)
* Add a watch file, now that we can.  (Upstream's layout needs version=3.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*===========================================================================
 
2
*
 
3
*                            PUBLIC DOMAIN NOTICE
 
4
*               National Center for Biotechnology Information
 
5
*
 
6
*  This software/database is a "United States Government Work" under the
 
7
*  terms of the United States Copyright Act.  It was written as part of
 
8
*  the author's official duties as a United States Government employee and
 
9
*  thus cannot be copyrighted.  This software/database is freely available
 
10
*  to the public for use. The National Library of Medicine and the U.S.
 
11
*  Government have not placed any restriction on its use or reproduction.
 
12
*
 
13
*  Although all reasonable efforts have been taken to ensure the accuracy
 
14
*  and reliability of the software and data, the NLM and the U.S.
 
15
*  Government do not and cannot warrant the performance or results that
 
16
*  may be obtained by using this software or data. The NLM and the U.S.
 
17
*  Government disclaim all warranties, express or implied, including
 
18
*  warranties of performance, merchantability or fitness for any particular
 
19
*  purpose.
 
20
*
 
21
*  Please cite the author in any work or product based on this material.
 
22
*
 
23
* ===========================================================================
 
24
*
 
25
* File Name:  pdbeast.h
 
26
*
 
27
* Author:  Yanli Wang
 
28
*
 
29
* Initial Version Creation Date: 03/09/1997
 
30
*
 
31
* File Description:
 
32
*         Header file for an interactive tool for taxonomy assignment to structure sequence
 
33
*
 
34
*
 
35
* Modifications:
 
36
* --------------------------------------------------------------------------
 
37
* $Log: pdbeast.h,v $
 
38
* Revision 1.1  2002/12/17 15:13:43  ywang
 
39
* pdbeast related tools updated
 
40
*
 
41
*
 
42
* ==========================================================================
 
43
*/
 
44
 
 
45
#define seq_num 1
 
46
#define seq_set_num 2
 
47
#define org_choice_num 6
 
48
#define biosource_choice_num 23
 
49
#define pdbsource_choice_num 21
 
50
 
 
51
#define RawBioseqDir_text  "/net/keystone/usr/people/ywang/work/taxonomy/RawBioseq/"
 
52
#define RawBioseqDir_binary  "/net/clobber/usr/people8/bryant/MMDB.Bioseq/"
 
53
#define BioseqDir_text   "/net/keystone/usr/people/ywang/work/taxonomy/Bioseq_text/"
 
54
#define BioseqDir_binary   "/net/keystone/usr/people/ywang/work/taxonomy/Bioseq_binary/"
 
55
 
 
56
#define http_arg1 "http://www.ncbi.nlm.nih.gov/blast/Blast.cgi?QUERY_BELIEVE_DEFLINE=yes&QUERY="
 
57
 
 
58
#define http_arg2  "&DATABASE=nr&HITLIST_SIZE=10&FILTER=L&EXPECT=10&FORMAT_TYPE=HTML&PROGRAM=blastp&CLIENT=web&SERVICE=plain&NCBI_GI=on&PAGE=Proteins&CMD=Put&AUTO_FORMAT=Semiauto&FORMAT_OBJECT=Alignment&ALIGNMENT_VIEW=Pairwise&SHOW_OVERVIEW=on"
 
59
 
 
60
#define http_arg3 "&DATABASE=nr&HITLIST_SIZE=10&FILTER=L&EXPECT=10&FORMAT_TYPE=HTML&PROGRAM=blastn&CLIENT=web&SERVICE=plain&NCBI_GI=on&PAGE=Nucleotides&CMD=Web&AUTO_FORMAT=Semiauto&FORMAT_OBJECT=Alignment&ALIGNMENT_VIEW=Pairwise&SET_DEFAULTS.x=34&SET_DEFAULTS.y=8&SHOW_OVERVIEW=on&END_OF_HTTPGET=Yes"
 
61
 
 
62
Char RawSeqEntryName[120], SeqEntryName[120];
 
63
Char EntryCode[120];
 
64
 
 
65
AsnIoPtr aip1, aip2;
 
66
Char pdbsource_str[10240];
 
67
 
 
68
Boolean IsBioseq, IsBioseqSet, Pdbsource, Biosource, Biosource_chain[MaxChainNum], BioOrg, BioOrg_chain[MaxChainNum];
 
69
Boolean Bio_source, ReplaceSource;
 
70
Boolean OrgFound;
 
71
Boolean AllAssign, PartAssign;
 
72
Boolean SingleChain;
 
73
Boolean TextInEntry, TextOutEntry;
 
74
Boolean TaxAssign, EntryOpen;
 
75
Boolean chain_assign[MaxChainNum];
 
76
Boolean SingleEntry, EntryFromList;
 
77
 
 
78
Char chain_orgName[MaxChainNum][120];
 
79
 
 
80
FILE *IndexList;
 
81
 
 
82
SeqEntryPtr root_sep;
 
83
OrgRefPtr my_org;
 
84
OrgRefPtr my_org_chain[MaxChainNum];
 
85
 
 
86
Int4 nchain;
 
87
Char chain[MaxChainNum];
 
88
Char selected_chain, last_click_chain;
 
89
Int2 selected_chain_num, current_chain_num;
 
90
Char CurrentOrgName[120];