diff jbrowse2.py @ 64:497fd2d27aa2 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit f450a9a7bec7ae695a85a061bf59956b73196976-dirty
author fubar
date Thu, 28 Mar 2024 09:15:57 +0000
parents ac00dcfb5d1d
children c81902830900
line wrap: on
line diff
--- a/jbrowse2.py	Thu Mar 28 07:46:04 2024 +0000
+++ b/jbrowse2.py	Thu Mar 28 09:15:57 2024 +0000
@@ -1141,7 +1141,8 @@
                     self.config_json["assemblies"] = [
                         asstrack,
                     ]
-        url = "%s.paf" % (trackData["label"])
+        lab = trackData["label"]
+        url = "%s.paf" % (lab)
         dest = "%s/%s" % (self.outdir, url)
         self.symlink_or_copy(os.path.realpath(data), dest)
         trackDict = {
@@ -1157,12 +1158,27 @@
                 "pafLocation": {"uri": url},
                 "assemblyNames": passnames,
             },
+            "displays": [
+                {"type": "DotplotDisplay", "displayId": "%s-DotplotDisplay" % lab},
+                {
+                    "type": "LinearComparativeDisplay",
+                    "displayId": "%s-LinearComparativeDisplay" % lab,
+                },
+                {
+                    "type": "LinearSyntenyDisplay",
+                    "displayId": "%s-LinearSyntenyDisplay" % lab,
+                },
+                {
+                    "type": "LGVSyntenyDisplay",
+                    "displayId": "%s-LGVSyntenyDisplay" % lab,
+                },
+            ],
         }
         style_json = {
             "displays": [
                 {
-                    "type": "LinearBasicDisplay",
-                    "displayId": "%s-LinearBasicyDisplay" % trackDict["trackId"],
+                    "type": "SyntenyDisplay",
+                    "displayId": "%s-SyntenyDisplay" % lab,
                 }
             ]
         }