# HG changeset patch # User iuc # Date 1550681421 18000 # Node ID 61ce21e36cb54dcab39d63051deab00a5c22c951 # Parent 08776ba76cf551704f9f4df1c15b4df60114a569 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse commit 0c51a106c04c2f56f5a172dd74c8494687870e46 diff -r 08776ba76cf5 -r 61ce21e36cb5 jbrowse.py --- a/jbrowse.py Tue Feb 19 15:43:37 2019 -0500 +++ b/jbrowse.py Wed Feb 20 11:50:21 2019 -0500 @@ -643,15 +643,19 @@ trackType = 'JBrowse/View/Track/CanvasFeatures' if 'trackType' in gffOpts: trackType = gffOpts['trackType'] - trackData['trackType'] = trackType + trackData['type'] = trackType + trackData['trackType'] = trackType # Probably only used by old jbrowse versions - if trackType == 'JBrowse/View/Track/CanvasFeatures': + if trackType in ['JBrowse/View/Track/CanvasFeatures', 'NeatCanvasFeatures/View/Track/NeatFeatures']: if 'transcriptType' in gffOpts and gffOpts['transcriptType']: trackData['transcriptType'] = gffOpts['transcriptType'] if 'subParts' in gffOpts and gffOpts['subParts']: trackData['subParts'] = gffOpts['subParts'] if 'impliedUTRs' in gffOpts and gffOpts['impliedUTRs']: trackData['impliedUTRs'] = gffOpts['impliedUTRs'] + elif trackType in ['JBrowse/View/Track/HTMLFeatures', 'NeatHTMLFeatures/View/Track/NeatFeatures']: + if 'topLevelFeatures' in gffOpts and gffOpts['topLevelFeatures']: + trackData['topLevelFeatures'] = gffOpts['topLevelFeatures'] self._add_track_json(trackData) @@ -820,7 +824,7 @@ if 'GCContent' in data['plugins_python']: self._add_track_json({ - "storeClass": "JBrowse/Store/SeqFeature/IndexedFasta", + "storeClass": "JBrowse/Store/Sequence/IndexedFasta", "type": "GCContent/View/Track/GCContentXY", "label": "GC Content", "key": "GCContentXY", @@ -839,7 +843,7 @@ # TODO: Expose params for everyone. }) self._add_track_json({ - "storeClass": "JBrowse/Store/SeqFeature/IndexedFasta", + "storeClass": "JBrowse/Store/Sequence/IndexedFasta", "type": "GCContent/View/Track/GCContentXY", "label": "GC skew", "key": "GCSkew", diff -r 08776ba76cf5 -r 61ce21e36cb5 jbrowse.xml --- a/jbrowse.xml Tue Feb 19 15:43:37 2019 -0500 +++ b/jbrowse.xml Wed Feb 20 11:50:21 2019 -0500 @@ -266,7 +266,7 @@ #else if str($track.data_format.data_format_select) == "gene_calls": ${track.data_format.track_config.track_class} - #if $track.data_format.track_config.track_class == 'JBrowse/View/Track/CanvasFeatures': + #if $track.data_format.track_config.track_class in ['JBrowse/View/Track/CanvasFeatures', 'NeatCanvasFeatures/View/Track/NeatFeatures']: #if str($track.data_format.track_config.canvas_options.transcriptType) != "": ${track.data_format.track_config.canvas_options.transcriptType} #end if @@ -276,6 +276,10 @@ #if str($track.data_format.track_config.canvas_options.impliedUTRs) != "false": ${track.data_format.track_config.canvas_options.impliedUTRs} #end if + #else if $track.data_format.track_config.track_class in ['JBrowse/View/Track/HTMLFeatures', 'NeatHTMLFeatures/View/Track/NeatFeatures']: + #if str($track.data_format.track_config.html_options.topLevelFeatures) != "": + ${track.data_format.track_config.html_options.topLevelFeatures} + #end if #end if #if $track.data_format.match_part.match_part_select: ${track.data_format.match_part.name} @@ -464,34 +468,24 @@ -
- - - -
+ +
+ + + + + + - - - - + + + - + diff -r 08776ba76cf5 -r 61ce21e36cb5 macros.xml --- a/macros.xml Tue Feb 19 15:43:37 2019 -0500 +++ b/macros.xml Wed Feb 20 11:50:21 2019 -0500 @@ -14,7 +14,7 @@ \$GALAXY_JBROWSE_SHARED_DIR - galaxy0 + galaxy1 10.1101/gr.094607.109 + + +
+ + + +
+
+ + +
+ +
+