changeset 9:6a41f87b5d7f draft

Uploaded
author fubar
date Fri, 05 Jan 2024 05:06:21 +0000
parents 1e6128ccc82b
children 0db895a99532
files jbrowse2/jbrowse2.py jbrowse2/jbrowse2.xml
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/jbrowse2/jbrowse2.py	Fri Jan 05 04:57:29 2024 +0000
+++ b/jbrowse2/jbrowse2.py	Fri Jan 05 05:06:21 2024 +0000
@@ -172,7 +172,7 @@
         for i, genome_node in enumerate(self.genome_paths):
             if self.debug:
                 log.info("genome_node=%s" % str(genome_node))
-            genome_name = genome_node["meta"]["dataset_dname"]
+            genome_name = genome_node["meta"]["dataset_dname"].strip().split()[0]
             fapath = genome_node["path"]
             faname = genome_name + ".fa.gz"
             fadest = os.path.realpath(os.path.join(self.outdir, faname))
--- a/jbrowse2/jbrowse2.xml	Fri Jan 05 04:57:29 2024 +0000
+++ b/jbrowse2/jbrowse2.xml	Fri Jan 05 05:06:21 2024 +0000
@@ -399,9 +399,9 @@
 A JBrowse2 history item can be opened by viewing it (the "eye" icon).
 They can also be downloaded as archives ("floppy disk" icon) to share and for local viewing.
 One extra step is required before they can be viewed. A local python web server must be started using a script included in each archive.
-Unpack the archive (tar -xvzf [filename].tgz) and the first level directory will contain a file named "servejb2.py"
+Unzip the archive (*unzip [filename].zip*) and change to the first level directory. It contains a file named "servejb2.py"
 
-Assuming you have python3 installed, running
+Assuming you have python3 installed, running:
 
 *python3 servjb2.py*