-
Notifications
You must be signed in to change notification settings - Fork 499
Update Scanpy to v1.11.5 and add support for interactive vitessce plots #7588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
nilchia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Pavan! Looks really cool
| <requirement type="package" version="0.10.3">anndata</requirement> | ||
| <requirement type="package" version="1.26.4">numpy</requirement> | ||
| <requirement type="package" version="2.2.2">pandas</requirement> | ||
| <requirement type="package" version="1.14.1">scipy</requirement> | ||
| <requirement type="package" version="0.14.2">statsmodels</requirement> | ||
| <requirement type="package" version="0.3.5">fa2</requirement> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these not required anymore?
| </token> | ||
|
|
||
| <xml name="param_interactive_plot"> | ||
| <param name="interactive_plot" type="boolean" checked="false" label="Make an interactive plot?" help="Creates an vitessce configuration file using easy_vitessce for interactive visualization"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <param name="interactive_plot" type="boolean" checked="false" label="Make an interactive plot?" help="Creates an vitessce configuration file using easy_vitessce for interactive visualization"/> | |
| <param name="interactive_plot" type="boolean" checked="false" label="Make an interactive plot?" help="Creates a vitessce configuration file using easy_vitessce for interactive visualization"/> |
| <expand macro="pl_figsize"/> | ||
| </when> | ||
| <when value="pl.pca"> | ||
| <expand macro="param_interactive_plot"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not included in the if logic in the command.
| <filter>advanced_common['show_log']</filter> | ||
| </data> | ||
| <data name="anndata_out" format="h5ad" from_work_dir="anndata.h5ad" label="${tool.name} (${method.method}) on ${on_string}: Annotated data matrix"> | ||
| <filter>advanced_common['output_anndata']</filter> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not just this?
advanced_common['output_anndata']
| <data name="vitessce_config" format="vitessce.json" from_work_dir="config.json" label="${tool.name} (${method.method}) on ${on_string}: Vitessce interactive visualization"> | ||
| <filter>method['method'] in ['pl.umap', 'pl.tsne', 'pl.diffmap', 'pl.violin', 'pl.dotplot', 'pl.heatmap'] and method['interactive_plot']</filter> | ||
| </data> | ||
| <data name="anndata_config" format="json" from_work_dir="anndata.ref.json" label="${tool.name} (${method.method}) on ${on_string}: Anndata configuration"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this defined in the script? anndata.ref.json
or automatically generated by the tool?
| anndata_out_id = "${__app__.security.encode_id($anndata_out.id)}" | ||
| anndata_config_id = "${__app__.security.encode_id($anndata_config.id)}" | ||
|
|
||
| config_dict = widget.config.to_dict(base_url="") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what can we do with base_url?
Is that helping here: https://python-docs.vitessce.io/notebooks/widget_brain_with_base_dir.html?highlight=base_url_placeholder
|
changes in the releases after 1.10.2:
|
FOR CONTRIBUTOR: