bf4476951d6d1218b0f80e6e18bb91125b74f185
[jalview.git] / help / html / webServices / dbreffetcher.html
1 <!--
2  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
3  * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
4  * 
5  * This file is part of Jalview.
6  * 
7  * Jalview is free software: you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License 
9  * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
10  *  
11  * Jalview is distributed in the hope that it will be useful, but 
12  * WITHOUT ANY WARRANTY; without even the implied warranty 
13  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
14  * PURPOSE.  See the GNU General Public License for more details.
15  * 
16  * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
17 -->
18 <!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
19 <!--
20  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
21  * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle
22  * 
23  * This file is part of Jalview.
24  * 
25  * Jalview is free software: you can redistribute it and/or
26  * modify it under the terms of the GNU General Public License 
27  * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
28  * 
29  * Jalview is distributed in the hope that it will be useful, but 
30  * WITHOUT ANY WARRANTY; without even the implied warranty 
31  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
32  * PURPOSE.  See the GNU General Public License for more details.
33  * 
34  * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
35 -->
36 <html xmlns="http://www.w3.org/1999/xhtml">
37 <head>
38 Database Reference Fetching
39 </head>
40 <p>
41 <p><strong>Discovering Database References for Sequences</strong><br>
42 Database references are associated with a sequence are displayed as a
43 list in the tooltip shown when mousing over its sequence ID. Jalview
44 uses references for the retrieval of <a
45         href="../features/viewingpdbs.html">PDB structures</a> and <a
46         href="../features/dasfeatures.html">DAS features</a>, and for
47 retrieving sequence cross-references such as the protein products of a
48 DNA sequence.</p>
49 <p><strong>Initiating reference retrieval</strong><br>
50 The application provides three ways to access the retrieval function. Either:
51 <ul><li>select the <strong>Discover PDB IDs</strong> option from the structure submenu of the sequence's popup menu</li>
52 <li>Choose one of the options from the 'Fetch DB Refs' submenu in the alignment window's <strong>Web Services</strong> menu:<ul>
53 <li><em>Standard Databases</em> will fetch references from the EBI databases plus currently selected DAS sources</li>
54 <li>The other entries submenus leading to lists of individual database sources that Jalview can access.</li></ul></li>
55 <li>Answer 'Yes' when asked if you wish to retrieve database references for your sequences after initiating a DAS Sequence Feature fetch.</li>
56 </ul> 
57 <p>Jalview discovers references for a sequence by generating a set
58 of ID queries from the ID string of each sequence in the alignment. It
59 then tries to query a subset of all the databases it can access in order to match
60 the alignment sequence to any records retrieved from the database. If a
61 match is found, then the sequence is annotated with that database's
62 reference, and any cross-references that it's records contain.</p>
63 <p><strong>The Sequence Identification Process</strong><br>
64 The method of accession id discovery is derived from the method which
65 earlier Jalview versions used for Uniprot sequence feature retrieval,
66 and was originally restricted to the identifaction of valid Uniprot
67 accessions.<br>
68 Essentially, Jalview will try to retrieve records from a subset of the databases
69 accessible by the <a href="../features/seqfetch.html">sequence
70 fetcher</a> using each sequence's ID string (or each string in the ID
71 separated by the '&#8739;' symbol).</p>
72 <p>If a record (or set of records) is retrieved by any query derived
73 from the ID string of a sequence, then the sequence is aligned to the
74 ones retrieved to determine the correct start and end residue positions
75 (which are displayed when the 'Show Full Sequence ID' option). This is
76 important for the correct display of the location of any features
77 associated with that database.</p>
78 <p>If the alignment reveals differences between the sequence in the
79 alignment and the one in the record, then Jalview will assume that the
80 aligned sequence is not the one in the retrieved record.</p>
81 <p>In some cases, the ID used to retrieve records may be out
82 of date and a dialog box will be opened indicating that a 100% match
83 between the sequence and the record was identified, but the
84 sequence name is different. In this case, the can be manually
85 changed (by right clicking on the sequence ID and selecting <strong>Sequence&#8594;Edit
86 Name</strong>).
87 <ul>
88         <li><em>Note</em><br>
89         Please remember to save your alignment if either the start/end
90         numbering, or the sequence IDs were updated during the ID
91         retrieval process.</li>
92 </ul>
93 <body></body>
94 </html>