3 * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
4 * Copyright (C) $$Year-Rel$$ The Jalview Authors
6 * This file is part of Jalview.
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
11 * of the License, or (at your option) any later version.
13 * Jalview is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty
15 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16 * PURPOSE. See the GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with Jalview. If not, see <http://www.gnu.org/licenses/>.
20 * The Jalview Authors are detailed in the 'AUTHORS' file.
23 <title>BioJSON in Jalview</title>
27 <strong>BioJSON support in Jalview</strong>
29 <p>BioJSON is a JavaScript Object Notation (JSON) specification
30 for the representation and exchange of multiple sequence alignment
33 Jalview 2.9 includes support for reading and writing BioJSON v1.0
34 data directly, or embedded in HTML documents. It can also generate
35 HTML pages which employ the <a href="biojsmsa.html">BioJS MSA
36 viewer</a> for interactive display of BioJSON data.
39 <strong>Finding out more about BioJSON</strong>
42 The BioJSON specification is published at <a
43 href="http://jalview.github.io/biojson/">http://jalview.github.io/biojson/</a>.
46 <em>Import of BioJSON data from HTML pages</em>
48 <p>When importing embedded data in an HTML document, Jalview
49 searches for a hidden (usually) input or div element named
52 <code><div name="seqData" id="seqData" style="display: none;">#valid BioJSON data#</div></code>
56 <code><input type="hidden" id="seqData" name="seqData" value='#valid BioJSON data#'/></code>
58 <p>Jalview can also import BioJSON data directly.</p>
61 <strong>Jalview's Support for BioJSON v1.0</strong>
63 <p>BioJSON exports of an alignment view include the following
66 <li>Alignment Annotations</li>
67 <li>Alignment Features</li>
68 <li>Alignment Sequences</li>
70 <li>Hidden Columns</li>
71 <li>Hidden Sequences</li>
72 <li>Sequence Groups</li>
74 <p>The following data are NOT currently preserved on export:</p>
76 <li>Alignment Reference sequences</li>
77 <li>Representative sequence groups</li>
79 <li>3D Structures</li>