Skip to content
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

Update from feeds: https://galaxyproject.org/news/2024-07-26-shiny-phyloseq-on-eu/ #92

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

galaxy-social-bot[bot]
Copy link
Contributor

This PR is created automatically by a feeds bot.
Update since 2024-07-26

Processed:
Shiny phyloseq interactive tool available on usegalaxy.eu - practical outcome of the Bioconductor Hackathon

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.


Shiny phyloseq interactive tool (IT)
====================================


![Demo of the new shiny phyloseq interactive tool running on Galaxy Europe](https://galaxyproject.org/news/2024-07-26-shiny-phyloseq-on-eu/alpha-div.gif)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those links unfortunately don't work, I guess we need to fix the RSS feed.

Copy link
Contributor

👋 Hello! I'm your friendly social media assistant. Below are the previews of this post:
posts/feed_bot/galaxy_europe/2024-07-26-shiny-phyloseq-on-eu.md

mastodon-eu-freiburg

📝 New blog post Released!
https://galaxyproject.org/news/2024-07-26-shiny-phyloseq-on-eu/ (1/12)

Shiny phyloseq interactive tool (IT)

Shiny apps: https://shiny.posit.co/ are web apps using R functionality, that give easy responsive access to R packages.
Interactive tools are a great way to work with data interactively and responsive using Galaxy. (2/12)

In theory all shiny apps could become ITs, but so far wrapping and deployment of shiny apps as ITs was technically challenging. To facilitate the process, the Freiburg Galaxy team conducted a two-day hackathon in February, collaborating with members of the Bioconductor community, including Charlotte Soneson, Hans-Rudolf Hotz, and Federico Marini. (3/12)

During the event, best practices for developing ITs using Shiny apps were established, with a focus on creating a Docker image that can serve as a starting point for adding any Shiny app and the shiny-phyloseq app: https://github.com/joey711/shiny-phyloseq as a proof-of-concept target. (4/12)

A fork of this Docker image tailored for the shiny app is available here: https://github.com/paulzierep/docker-phyloseq.
The image can be run locally to test the app and then must be deployed to quay.io: https://quay.io or any other Docker registry. (5/12)

This app allows to perform dynamic analysis of
metabarcoding/amplicon data such as:

  • filter data based on metadata and taxonomy

  • plot alpha diversity

  • plot distance networks

  • ordination plots

  • heatmaps

  • trees

  • scatter plots

  • bar charts (6/12)

The tool is available on usegalaxy.eu (https://usegalaxy.eu/?tool_id\=interactive_tool_phyloseq\&version\=latest) and was integrated into a dada2 based GTN tutorial: https://training.galaxyproject.org/training-material/topics/microbiome/tutorials/dada-16S/tutorial.html by Bérénice Batut. (7/12)

Data upload from Galaxy

The original shiny-phyloseq app worked in an IT, but did not allow to upload amplicon data via CLI arguments making data input from Galaxy incovenient (requiring users to download data from their Galaxy History, then upload it to the IT via the web frontend). (8/12)

Therefore, the tool was forked and modified to allow for additional data input. This functional adaptation of shiny-apps to allow for non-web based data upload is the only requirement to make any shiny app compatible with Galaxy based data upload. (9/12)

The changes made to the original app can be found in this git diff: joey711/shiny-phyloseq@master...paulzierep:shiny-phyloseq:master. (10/12)

Outlook

To improve the usability and Galaxy-interaction of the phyloseq-shiny app we are working on the possibility to export data (figures, modified phyloseq objects) to the Galaxy history. (11/12)

This could be done either by collecting the data as outputs of the IT or by using utility functions such as put / get, that are used in other ITs like RStudio: https://usegalaxy.eu/?tool_id=interactive_tool_rstudio&version=latest.

@galaxyproject@mstdn.science
#UseGalaxy #GalaxyProject #UniFreiburg #EOSC #EuroScienceGateway (12/12)

Demo of the new shiny phyloseq interactive tool running on Galaxy Europe
Network
Ordination
Heatmap
WARNING: A maximum of four images, not 6, can be included in a single mastodon post.

bluesky-galaxyproject

📝 New blog post Released!
https://galaxyproject.org/news/2024-07-26-shiny-phyloseq-on-eu/ (1/14)

Shiny phyloseq interactive tool (IT)

Shiny apps: https://shiny.posit.co/ are web apps using R functionality, that give easy responsive access to R packages.
Interactive tools are a great way to work with data interactively and responsive using Galaxy. (2/14)

In theory all shiny apps could become ITs, but so far wrapping and deployment of shiny apps as ITs was technically challenging. To facilitate the process, the Freiburg Galaxy team conducted a two-day hackathon in February, collaborating with members of the Bioconductor community, including (3/14)

Charlotte Soneson, Hans-Rudolf Hotz, and Federico Marini. (4/14)

During the event, best practices for developing ITs using Shiny apps were established, with a focus on creating a Docker image that can serve as a starting point for adding any Shiny app and the shiny-phyloseq app: https://github.com/joey711/shiny-phyloseq as a proof-of-concept target. (5/14)

A fork of this Docker image tailored for the shiny app is available here: https://github.com/paulzierep/docker-phyloseq.
The image can be run locally to test the app and then must be deployed to quay.io: https://quay.io or any other Docker registry. (6/14)

This app allows to perform dynamic analysis of
metabarcoding/amplicon data such as:

  • filter data based on metadata and taxonomy

  • plot alpha diversity

  • plot distance networks

  • ordination plots

  • heatmaps

  • trees

  • scatter plots

  • bar charts (7/14)

The tool is available on usegalaxy.eu (https://usegalaxy.eu/?tool_id\=interactive_tool_phyloseq\&version\=latest) and was integrated into a dada2 based GTN tutorial: https://training.galaxyproject.org/training-material/topics/microbiome/tutorials/dada-16S/tutorial.html by Bérénice Batut. (8/14)

Data upload from Galaxy

The original shiny-phyloseq app worked in an IT, but did not allow to upload amplicon data via CLI arguments making data input from Galaxy incovenient (requiring users to download data from their Galaxy History, then upload it to the IT via the web frontend). (9/14)

Therefore, the tool was forked and modified to allow for additional data input. This functional adaptation of shiny-apps to allow for non-web based data upload is the only requirement to make any shiny app compatible with Galaxy based data upload. (10/14)

The changes made to the original app can be found in this git diff: joey711/shiny-phyloseq@master...paulzierep:shiny-phyloseq:master. (11/14)

Outlook

To improve the usability and Galaxy-interaction of the phyloseq-shiny app we are working on the possibility to export data (figures, modified phyloseq objects) to the Galaxy history. (12/14)

This could be done either by collecting the data as outputs of the IT or by using utility functions such as put / get, that are used in other ITs like RStudio: https://usegalaxy.eu/?tool_id=interactive_tool_rstudio&version=latest.

@galaxyproject.bsky.social
#UseGalaxy #GalaxyProject (13/14)

#UniFreiburg #EOSC #EuroScienceGateway (14/14)

Demo of the new shiny phyloseq interactive tool running on Galaxy Europe
Network
Ordination
Heatmap
WARNING: A maximum of four images, not 6, can be included in a single bluesky post.

matrix-eu-announce

Demo of the new shiny phyloseq interactive tool running on Galaxy Europe
Network
Ordination
Heatmap
Tree
Barplot

bgruening: 📝 New blog post Released! https://galaxyproject.org/news/2024-07-26-shiny-phyloseq-on-eu/

Shiny phyloseq interactive tool (IT)

Shiny apps are web apps using R functionality, that give easy responsive access to R packages. Interactive tools are a great way to work with data interactively and responsive using Galaxy.

In theory all shiny apps could become ITs, but so far wrapping and deployment of shiny apps as ITs was technically challenging. To facilitate the process, the Freiburg Galaxy team conducted a two-day hackathon in February, collaborating with members of the Bioconductor community, including Charlotte Soneson, Hans-Rudolf Hotz, and Federico Marini.

During the event, best practices for developing ITs using Shiny apps were established, with a focus on creating a Docker image that can serve as a starting point for adding any Shiny app and the shiny-phyloseq app as a proof-of-concept target.

A fork of this Docker image tailored for the shiny app is available here: https://github.com/paulzierep/docker-phyloseq. The image can be run locally to test the app and then must be deployed to quay.io or any other Docker registry.

This app allows to perform dynamic analysis of metabarcoding/amplicon data such as:

  • filter data based on metadata and taxonomy
  • plot alpha diversity
  • plot distance networks

  • ordination plots

  • heatmaps

  • trees

  • scatter plots

  • bar charts

The tool is available on usegalaxy.eu (https://usegalaxy.eu/?tool_id\=interactive_tool_phyloseq\&version\=latest) and was integrated into a dada2 based GTN tutorial by Bérénice Batut.

Data upload from Galaxy

The original shiny-phyloseq app worked in an IT, but did not allow to upload amplicon data via CLI arguments making data input from Galaxy incovenient (requiring users to download data from their Galaxy History, then upload it to the IT via the web frontend).

Therefore, the tool was forked and modified to allow for additional data input. This functional adaptation of shiny-apps to allow for non-web based data upload is the only requirement to make any shiny app compatible with Galaxy based data upload.

The changes made to the original app can be found in this git diff.

Outlook

To improve the usability and Galaxy-interaction of the phyloseq-shiny app we are working on the possibility to export data (figures, modified phyloseq objects) to the Galaxy history.

This could be done either by collecting the data as outputs of the IT or by using utility functions such as put / get, that are used in other ITs like RStudio.

linkedin-galaxyproject

📝 New blog post Released!
https://galaxyproject.org/news/2024-07-26-shiny-phyloseq-on-eu/

Shiny phyloseq interactive tool (IT)

Shiny apps: https://shiny.posit.co/ are web apps using R functionality, that give easy responsive access to R packages.
Interactive tools are a great way to work with data interactively and responsive using Galaxy.

In theory all shiny apps could become ITs, but so far wrapping and deployment of shiny apps as ITs was technically challenging. To facilitate the process, the Freiburg Galaxy team conducted a two-day hackathon in February, collaborating with members of the Bioconductor community, including Charlotte Soneson, Hans-Rudolf Hotz, and Federico Marini.

During the event, best practices for developing ITs using Shiny apps were established, with a focus on creating a Docker image that can serve as a starting point for adding any Shiny app and the shiny-phyloseq app: https://github.com/joey711/shiny-phyloseq as a proof-of-concept target.

A fork of this Docker image tailored for the shiny app is available here: https://github.com/paulzierep/docker-phyloseq.
The image can be run locally to test the app and then must be deployed to quay.io: https://quay.io or any other Docker registry.

This app allows to perform dynamic analysis of
metabarcoding/amplicon data such as:

  • filter data based on metadata and taxonomy

  • plot alpha diversity

  • plot distance networks

  • ordination plots

  • heatmaps

  • trees

  • scatter plots

  • bar charts

The tool is available on usegalaxy.eu (https://usegalaxy.eu/?tool_id\=interactive_tool_phyloseq\&version\=latest) and was integrated into a dada2 based GTN tutorial: https://training.galaxyproject.org/training-material/topics/microbiome/tutorials/dada-16S/tutorial.html by Bérénice Batut.

Data upload from Galaxy

The original shiny-phyloseq app worked in an IT, but did not allow to upload amplicon data via CLI arguments making data input from Galaxy incovenient (requiring users to download data from their Galaxy History, then upload it to the IT via the web frontend).

Therefore, the tool was forked and modified to allow for additional data input. This functional adaptation of shiny-apps to allow for non-web based data upload is the only requirement to make any shiny app compatible with Galaxy based data upload.

The changes made to the original app can be found in this git diff: joey711/shiny-phyloseq@master...paulzierep:shiny-phyloseq:master.

Outlook

To improve the usability and Galaxy-interaction of the phyloseq-shiny app we are working on the possibility to export data (figures, modified phyloseq objects) to the Galaxy history.

This could be done either by collecting the data as outputs of the IT or by using utility functions such as put / get, that are used in other ITs like RStudio: https://usegalaxy.eu/?tool_id=interactive_tool_rstudio&version=latest.

#UseGalaxy #GalaxyProject #UniFreiburg #EOSC #EuroScienceGateway

Demo of the new shiny phyloseq interactive tool running on Galaxy Europe
Network
Ordination
Heatmap
Tree
Barplot

@wm75
Copy link
Member

wm75 commented Jul 31, 2024

Observed problems with generating the posts from the feed:

  • as observed by @bgruening in Update from feeds: https://galaxyproject.org/news/2024-07-26-shiny-phyloseq-on-eu/ #92 (comment) the demo gif can not be uploaded to any of the platforms
  • however, it still gets counted as an image (so on mastodon, for example, now only three images will get posted)
  • the link to the original news post should appear right under the announcement of the new news item (as done manually now)
  • when splitting out images from the text, empty lines can be left behind (if the image was the only thing on that line) -> should be removed automatically
  • both a UseGalaxy and a usegalaxy hashtag appeared in the original posts, but only the first one should be used
  • in general, I guess we should collapse 2 and more empty lines in feed posts into one before processing them further since there they don't have the meaning defined here of "split the post here".

@wm75
Copy link
Member

wm75 commented Jul 31, 2024

In addition, all the image links generated for the preview are broken.

@wm75
Copy link
Member

wm75 commented Jul 31, 2024

and in general, supporting bluesky (with its super-low per post char limit) for the same content as the other platforms is a pain forcing us to split the content into much smaller chunks than what would be needed for the other platforms.

Of course, maintaining extra posts to bluesky is also painful, but I don't have a better solution. Any ideas?

@bgruening
Copy link
Member

For the bot it does not matter if we create a bluesky post separately. We could do that.

@wm75
Copy link
Member

wm75 commented Jul 31, 2024

For the bot it does not matter if we create a bluesky post separately. We could do that.

Yes, but for making it look pretty it would still require manual insertion of paragraphs (so extra work).
Or, we could also decide to ignore formatting issues on bluesky and only put in the extra-effort if we have the time.

arash77 added a commit to usegalaxy-eu/galaxy-social-assistant that referenced this pull request Aug 20, 2024
@arash77
Copy link
Collaborator

arash77 commented Aug 20, 2024

@wm75 The images are now fixed thanks to Dannon and the rest of the bugs have been addressed in usegalaxy-eu/galaxy-social-assistant@ad496e5.
Also, I created an issue (#94) to discuss whether there should be different files for each social media.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants