X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=help%2Fhtml%2Ffeatures%2Fbiojsmsa.html;h=f3b68162d4a74b5912e0691ba2b3c373b567d9c3;hb=b1e2aea95b3839a1a53f809c579666075cd3d348;hp=7b383b0eafe68bb64ec327fc2aae1c295f14bb5b;hpb=4647e218f2e25f3a2bbd76ae3324678c94e59ed9;p=jalview.git
diff --git a/help/html/features/biojsmsa.html b/help/html/features/biojsmsa.html
index 7b383b0..f3b6816 100644
--- a/help/html/features/biojsmsa.html
+++ b/help/html/features/biojsmsa.html
@@ -1,48 +1,58 @@
-
BioJS MSA Viewer
-
-Since Jalview 2.9, BioJS MSA HTML files can be generated from alignment within the Jalview desktop application. BioJS MSA Viewer is a JavaScript based multiple sequence alignment visualisation system. Jalview generates BioJS HTML files by parsing a BioJS MSA export template file and embedding BioJSON data from a given alignment on the Jalview desktop application.
-
-To ensure that the BioJS MSA export mechanism is easily extensible, the export templates are externalised from the Jalview codebase. Consequently, new versions of BioJS MSA Viewer can easily be integrated into Jalview without having to deploy a new version of Jalview.
-
-What constitutes a BioJS MSA Template
-
-- All JavaScripts necessary to visualise BioJS
-- JavaScripts to transform BioJSON data to BioJS MSA data
-- And a place holder for BioJSON data (a div or input element as show below):
-
-
-
-
-
-
-The externalised BioJS MSA templates are available in the github repository https://github.com/jalview/exporter-templates/tree/master/biojs.
-Jalview looks at the package.json file at https://github.com/jalview/exporter-templates/blob/master/biojs/package.json to work out the available versions of BioJS MSA Viewer templates and the latest release version to use for its exports.
-
-
-Creating/Updating a new BioJS MSA Template
-The following steps can be taken to create a new BioJS MSA template
-
-- Add/update all BioJS MSA scripts to the template file
-- Update codes for transforming BioJSON data to BioJS MSA data (this requires knowledge of both data models)
-- Ensure that the new template created can be employed by Jalivew to generate valid BioJS MSA files. This can be achieved by following the steps below to deploy the new export template to a test repo and subsequently configure jalview to use the test repo for testing the template:
-
- - Publish the template and an equivalent VALID package.json file to a live URL
- - Configure Jalview preferences to point to the raw url of package.json in your test repository. This is done by creating/changing the property 'biojs_template_git_repo' in jalview_properties file e.g.
- biojs_template_git_repo="https://raw.githubusercontent.com/gituser/biojs-templates/package.json
- - Restart Jalview and ensure that the test templates are downloaded
- - Export an alignment to BioJS MSA
- - Check that the exported file is valid and reflects all the incorporated changes
-
-- Commit the new template to the official Jalview-BioJS github template repository https://github.com/jalview/exporter-templates/tree/master/biojs
-- Update the package.json of the official template repo at https://github.com/jalview/exporter-templates/blob/master/biojs/package.json accordingly
-- Restore value for 'biojs_template_git_repo' in jalview_properties to point to the official template repo
-- Restart Jalview
-
-
-Note:
-Whenever Jalview starts up, if internet connection is available, it checks if there are new updates of BioJS MSA template added to the repository and downloads them to a local user directory for subsequent offline use.
+
+BioJS MSA Viewer Export
+
+
+ Exporting Alignments for viewing with the BioJS MSA
+ Viewer
+
+
+ Since Jalview 2.9, HTML files can be generated from an alignment
+ within the Jalview desktop application that show the alignment in an
+ interactive viewer called 'BioJS-MSA'. These pages embed Jalview's
+ alignment data as BioJSON, which
+ can be imported back into Jalview, and also interpreted by the BioJS
+ MSA viewer. The BioJS MSA Viewer is a full-featured JavaScript based
+ multiple sequence alignment visualisation system created by a
+ community of biological data visualisation developers, and is
+ developed independently of Jalview.
+
+
+ To find out more about the BioJS MSA Viewer, please go to http://msa.biojs.net/.
+
+
+
+ Making sure your BioJS MSA export uses the latest
+ BioJS MSA Viewer
+
+ In order to allow Jalview to export data with the latest
+ version of the MSA viewer, the Jalview Desktop will download
+ templates for HTML export from our public GitHub Repository.
+ Normally, this should happen without you needing to do anything, but
+ if you do encounter problems, then please get in contact via the
+ jalview-discuss mailing list, or file a bug report.
+ Templates are downloaded to a directory called
+ '.biojs_templates' in your user's home storage space (e.g.
+ ~/.biojs_templates).
+