From 50ff87bdae1829a7a7471ec393142ae659b40a11 Mon Sep 17 00:00:00 2001 From: Charles Ofoegbu Date: Thu, 6 Nov 2014 17:47:38 +0000 Subject: [PATCH] Updated BioJs Html to be capable of launching jalivew --- resources/templates/BioJSTemplate.txt | 9100 ++++++++++++++++++++++++++++++- src/jalview/io/AppletFormatAdapter.java | 23 +- src/jalview/io/BioJsHTMLOutput.java | 155 +- src/jalview/io/HtmlFile.java | 68 + src/jalview/io/IdentifyFile.java | 7 + 5 files changed, 9238 insertions(+), 115 deletions(-) create mode 100644 src/jalview/io/HtmlFile.java diff --git a/resources/templates/BioJSTemplate.txt b/resources/templates/BioJSTemplate.txt index 8314a25..b20688a 100644 --- a/resources/templates/BioJSTemplate.txt +++ b/resources/templates/BioJSTemplate.txt @@ -1,47 +1,9105 @@ + + +
BioJS viewer
+ - - + + - - - -
This data was generated from Jalview
press "Run with JS"
+
+
+
This html page was generated from Jalview, to import the data back to Jalview, please drag the generated html file and drop it unto the Jalview workbench.
+
+
Alternatively, you could copy the url from the address bar and use Jalview's url importer (main menu-> File-> Input Alignment-> from URL) to import back the alignment jalview. +
+
+ + + -