update author list in license for (JAL-826)
[jalview.git] / help / html / vamsas / index.html
1 <html>
2 <!--
3  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
4  * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle
5  * 
6  * This file is part of Jalview.
7  * 
8  * Jalview is free software: you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License 
10  * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
11  * 
12  * Jalview is distributed in the hope that it will be useful, but 
13  * WITHOUT ANY WARRANTY; without even the implied warranty 
14  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
15  * PURPOSE.  See the GNU General Public License for more details.
16  * 
17  * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
18 -->
19 <head>
20 <title>VAMSAS Interoperation</title>
21 </head>
22 <body>
23 <p><strong>VAMSAS Interoperation</strong></p>
24 <p>Jalview can interact with other applications using &quot;the <strong>VAMSAS
25 Interoperation framework</strong>&quot; which is an experimental model for
26 interoperation between bioinformatics applications (<strong>V</strong>isualization
27 and <strong>A</strong>nalysis of <strong>Molecular</strong> <strong>S</strong>equences,
28 <strong>Alignements</strong> and <strong>S</strong>tructures).
29 Currently, the only other VAMSAS enabled application is <a
30         href="http://www.topali.org">TOPALi</a> - a user friendly program for
31 phylogenetics and evolutionary analysis.
32 <p>VAMSAS enabled applications access a shared bioinformatics
33 dataset containing sequences, alignments, annotation and trees, which
34 can be represented by an XML document analogous to a <a
35         href="../features/jalarchive.html">Jalview Project Archive</a>.</p>
36 <br>
37 <strong>Connecting to a VAMSAS session</strong><br>
38 The VAMSAS functionality in Jalview is accessed through the Desktop's <strong>Vamsas</strong>
39 menu. The options available in this menu depend on whether the
40 application is currently interacting with a VAMSAS dataset in a <strong>VAMSAS
41 session</strong>. When the application is not connected to a session is active,
42 the menu options are as follows:<br>
43 <ul>
44         <li><em>Connect to an existing session</em><br>
45         If visible, this submenu contains a list of existing sessions that the
46         VAMSAS framework has discovered on your computer. <br>
47         Choose one to connect to it.</li>
48         <li><em>New VAMSAS Session</em><br>
49         This option will create a new session on your computer.</li>
50         <li><em>Load VAMSAS Session...</em><br>
51         This option will open a file browser window allowing you to select a
52         VAMSAS session archive from which a new session will be created.<br/>
53         <em>New in 2.5:</em>Sessions created from an imported document inherit
54         the file or URL for the document.</li>
55
56 </ul>
57 <br>
58 <strong>VAMSAS and Firewalls</strong>: VAMSAS uses sockets to
59 communicate between different programs. This means that after starting a
60 session, your firewall software may ask you whether to allow the java
61 executable access to the internet (port 53782). If you do not allow
62 this, messages will not be exchanged with other VAMSAS applications.</br>
63 <br>
64 Once you have successfully connected to a VAMSAS session, any data made
65 available by other VAMSAS applications will be automatically imported
66 into Jalview. However, in order to share the data in Jalview with other
67 VAMSAS applications, you must manually select the <strong>Vamsas&#8594;&quot;Session
68 Update&quot;</strong> entry that is visible when a session is active. Selecting
69 this option will update the VAMSAS session document, with the data
70 loaded into Jalview. Any new alignments, trees and annotation will be
71 written to the session, in addition to any edits you have made to data
72 originally stored in the document. <br>
73 <strong>Saving the current session</strong><br>
74 You can save the current session as a VAMSAS Session archive using the <strong>Vamsas&#8594;&quot;Session
75 Update&quot;</strong>. The file contains a snapshot of the current VAMSAS
76 session, including data from any other applications connected to the
77 session. <strong>Leaving a VAMSAS session</strong><br>
78 A session can be disconnected from at any time using the <strong>Vamsas&#8594;&quot;Stop
79 Session&quot;</strong> option. Selecting this option will only disconnect Jalview
80 from the session - any other applications will remain connected to the
81 session. If Jalview is the only application connected to the session and
82 you have not yet saved the VAMSAS session then you will be prompted with
83 an optional 'Save VAMSAS session...' dialog box, allowing the session to
84 be saved and returned to at a later date. <br>
85 <strong>VAMSAS Session Persistence</strong><br>
86 VAMSAS sessions are persistent - this means that they exist
87 independently of any VAMSAS applications that are connected to them.
88 This means that if something goes wrong with a VAMSAS application and it
89 crashes or otherwise fails, the VAMSAS session it is connected to will
90 (hopefully) be unaffected. For instance, if Jalview is killed or crashes
91 whilst it is still connected to a session, that session can be recovered
92 in a new Jalview instance using the <strong>Vamsas&#8594;&quot;Existing
93 session&quot;</strong> sub menu.</p>
94 <strong>A quick Demo</strong>
95 <br>
96 Jalview can talk to itself through VAMSAS. Simply start two copies of
97 the application, create a new vamsas session in one, and connect to the
98 new session in the other. Then load your data into one of the
99 applications, and use the
100 <strong>Vamsas&#8594;&quot;Session Update&quot;</strong>
101 menu entry to try to propagate the data to the other application.
102 <br>
103 <table>
104         <tr>
105                 <td>Data Sharing Capability</td>
106                 <td>Jalview Version</td>
107         </tr>
108         <tr>
109                 <td>Alignments, sequences and annotation, trees, database
110                 references, cDNA/protein mappings.</td>
111                 <td>2.4</td>
112         </tr>
113         <tr>
114                 <td>Mouseover location across linked DNA, protein and structure
115                 positions.</td>
116                 <td>2.4</td>
117         </tr>
118         <tr>
119                 <td>Jalview project settings (Multiple views, groups, tree
120                 partitions, colouring, window positions)</td>
121                 <td>2.5</td>
122         </tr>
123         <tr>
124                 <td>Sequence region and column selections</td>
125                 <td>2.5</td>
126         </tr>
127 </table>
128 <br />
129 <p>Version 0.2 of the VAMSAS client library is used in <em>Jalview
130 2.5</em>. For further details about the VAMSAS framework, please check the
131 <a href="http://www.vamsas.ac.uk">VAMSAS website</a>. The VAMSAS
132 framework is implemented as a Java 1.4 Library and depends on a number
133 of other open source projects. Its source is released under the
134 LGPL license. &nbsp;</p>
135 </body>
136 </html>