2 * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
\r
3 * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle
\r
5 * This file is part of Jalview.
\r
7 * Jalview is free software: you can redistribute it and/or
\r
8 * modify it under the terms of the GNU General Public License
\r
9 * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
\r
11 * Jalview is distributed in the hope that it will be useful, but
\r
12 * WITHOUT ANY WARRANTY; without even the implied warranty
\r
13 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
\r
14 * PURPOSE. See the GNU General Public License for more details.
\r
16 * You should have received a copy of the GNU General Public License along with Jalview. If not, see <http://www.gnu.org/licenses/>.
\r
18 package jalview.datamodel;
\r
21 * Defines internal constants for unambiguous annotation of DbRefEntry source
\r
22 * strings and describing the data retrieved from external database sources (see
\r
23 * jalview.ws.DbSourcProxy)
\r
28 public class DBRefSource
\r
31 * UNIPROT Accession Number
\r
33 public static String UNIPROT = "UNIPROT";
\r
36 * UNIPROT Entry Name
\r
38 public static String UP_NAME = "UNIPROT_NAME";
\r
41 * Uniprot Knowledgebase/TrEMBL as served from EMBL protein products.
\r
43 public static final String UNIPROTKB = "UniProtKB/TrEMBL";
\r
48 public static String PDB = "PDB";
\r
53 public static String EMBL = "EMBL";
\r
58 public static String EMBLCDS = "EMBLCDS";
\r
63 public static String PFAM = "PFAM";
\r
68 public static String RFAM = "RFAM";
\r
73 public static final String GENEDB = "GeneDB";
\r
76 * List of databases whose sequences might have coding regions annotated
\r
78 public static final String[] DNACODINGDBS =
\r
79 { EMBL, EMBLCDS, GENEDB };
\r
81 public static final String[] CODINGDBS =
\r
82 { EMBLCDS, GENEDB };
\r
84 public static final String[] PROTEINDBS =
\r
85 { UNIPROT, PDB, UNIPROTKB };
\r
87 public static final String[] PROTEINSEQ =
\r
88 { UNIPROT, UNIPROTKB };
\r
90 public static final String[] PROTEINSTR =
\r
93 public static final String[] DOMAINDBS =
\r
97 * set of unique DBRefSource property constants. These could be used to
\r
98 * reconstruct the above groupings
\r
100 public static final Object SEQDB = "SQ";
\r
103 * database of nucleic acid sequences
\r
105 public static final Object DNASEQDB = "NASQ";
\r
108 * database of amino acid sequences
\r
110 public static final Object PROTSEQDB = "PROTSQ";
\r
113 * database of cDNA sequences
\r
115 public static final Object CODINGSEQDB = "CODING";
\r
118 * database of na sequences with exon annotation
\r
120 public static final Object DNACODINGSEQDB = "XONCODING";
\r
123 * DB returns several sequences associated with a protein/nucleotide domain
\r
125 public static final Object DOMAINDB = "DOMAIN";
\r
128 * DB query can take multiple accession codes concatenated by a separator.
\r
129 * Value of property indicates maximum number of accession codes to send at a
\r
132 public static final Object MULTIACC = "MULTIACC";
\r
135 * DB query returns an alignment for each accession provided.
\r
137 public static final Object ALIGNMENTDB = "ALIGNMENTS";
\r