Tweak handling of strain, Pan and subtree export #1074
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR would:
GENE_TREE_CONSTANTS
function in theEnsEMBL::Web::Constants
module;GENE_TREE_CONSTANTS
function to pass appropriatecdb
,action
,component
andstrain
parameters in "Tree or Alignment" or "Sequences" export URLs in gene-tree node ZMenus;node
andstrain
parameters are passed when the Back button is used in a gene-tree download modal window.The effects of this would be that:
Views affected
This change would affect gene-tree export previews/downloads for internal tree nodes, strain gene trees, and internal nodes of strain/Pan gene trees.
In conjunction with eg-web-metazoa PR 42, it would also benefit gene-tree export previews/downloads for internal nodes of Metazoa gene trees.
Example of a Newick preview for a subtree (

node_id: 3002982674
) of the cultivar gene tree of Rice gene Os05g0421750:Possible complications
None expected.
Merge conflicts
None detected.
Related JIRA Issues (EBI developers only)
N/A