Mercurial > repos > fubar > jbrowse2
comparison autogenJB2.py @ 60:81d535970196 draft
planemo upload for repository https://github.com/usegalaxy-eu/temporary-tools/tree/master/jbrowse2 commit 403a35e1245fa5e62f4be6116a725b9e4d9c353a
author | fubar |
---|---|
date | Mon, 25 Mar 2024 02:10:05 +0000 |
parents | 94264fe60478 |
children | ab0d6782a95f |
comparison
equal
deleted
inserted
replaced
59:f807e219cec3 | 60:81d535970196 |
---|---|
170 | 170 |
171 if keys: | 171 if keys: |
172 for key in keys: | 172 for key in keys: |
173 if trext in [ | 173 if trext in [ |
174 "bigwig", | 174 "bigwig", |
175 "gff3", | 175 "gff", "gff3", |
176 "gff", | |
177 "vcf", | 176 "vcf", |
178 "maf", | 177 "maf", |
179 ]: | 178 ]: |
180 default_session_data["visibility"]["default_on"].append(key) | 179 default_session_data["visibility"]["default_on"].append(key) |
181 else: | 180 else: |
182 default_session_data["visibility"]["default_off"].append( | 181 default_session_data["visibility"]["default_off"].append( |
183 key | 182 key |
184 ) | 183 ) |
184 if trext in ["gff", "gff3", "bed", "vcf", "maf", "blastxml"]: | |
185 ttype = "LinearBasicDisplay" | |
186 if trext == "vcf": | |
187 ttype = "LinearVariantDisplay" | |
188 style_json = { | |
189 "type": ttype, | |
190 "trackShowLabels": False, | |
191 "trackShowDescriptions": False | |
192 } | |
193 default_session_data["style"][key] = style_json | |
185 # general_data = { | 194 # general_data = { |
186 # "analytics": root.find("metadata/general/analytics").text, | 195 # "analytics": root.find("metadata/general/analytics").text, |
187 # "primary_color": root.find("metadata/general/primary_color").text, | 196 # "primary_color": root.find("metadata/general/primary_color").text, |
188 # "secondary_color": root.find("metadata/general/secondary_color").text, | 197 # "secondary_color": root.find("metadata/general/secondary_color").text, |
189 # "tertiary_color": root.find("metadata/general/tertiary_color").text, | 198 # "tertiary_color": root.find("metadata/general/tertiary_color").text, |