Creation of a Galaxy tutorial table for your community

Overview
Creative Commons License: CC-BY Questions:
  • Is it possible to have an overview of all Galaxy tutorials for a specific scientific domain?

Objectives:
  • Create a community reviewed table for Galaxy tutorials within a specific scientific domain

  • Embed the tutorial table in a community page

Time estimation: 1 hour
Level: Introductory Introductory
Supporting Materials:
Published: Sep 17, 2025
Last modification: Sep 17, 2025
License: Tutorial Content is licensed under Creative Commons Attribution 4.0 International License. The GTN Framework is licensed under MIT
version Revision: 1

Similarly to the numerous tools available on Galaxy, the Galaxy Training Network includes numerous tutorials. This tutorial will take you through the steps to generate resources listing all the relevant tutorials and display the tutorial table on your community codex page.

The pipeline creates a table with all the tutorials. This table can be filtered to only include tutorials that are relevant to a specific research community.

The generated community-specific table can be used as is (e.g. downloadable tsv file) and/or embedded (e.g. into a Galaxy Hub page or Galaxy subdomain).

The pipeline is fully automated and executes on a weekly basis. Any research community can apply the pipeline to create a table specific to their community.

The aim is this tutorial is to create a tutorial table for a community.

Agenda

In this tutorial, we will cover:

  1. Add your community to the Galaxy CoDex
  2. Pull list of tags relevant to your community
  3. Add the list relevant tags for your community in the tutorial_tags file
  4. Embed the table in your community page on the Hub
  5. Conclusion

Add your community to the Galaxy CoDex

You first need to check if your Community is in the Galaxy CoDex, a central resource for Galaxy communities. If the community is already there, you can move to the next step of this tutorial.

If you community is not already included, follow this step :

Hands On: Add your community to the Galaxy CoDex

You need to create a new folder in the data/community folder within Galaxy CoDex code source.

  1. If not already done, fork the Galaxy Codex repository
  2. Go to the communities folder
  3. Click on Add file in the drop-down menu at the top
  4. Select Create a new file
  5. Fill in the Name of your file field with: name of your community + /metadata/tutorial_tags This will create a folder for your community, a new folder for your community called metadata and a file called tutorial_tags.
  6. Click on Commit changes
  7. Fill in the commit message with something like Add X community
  8. Click on Create a new branch for this commit and start a pull request
  9. Create the pull request by following the instructions

Pull list of tags relevant to your community

To add tutorials in your community tutorial table, you will need to indicate a list of tags relevant to your community, and tutorials associated with this tag will be automatically pulled from the Galaxy Training Network one a week. Only tutorials with the selected tags will be added to the filtered table. You will then be able to remove tutorials that are not relevant to your community or deprecated.

Hands On: Select tutorials tags from the Galaxy Training Network
  1. Go to the Galaxy Training Network
  2. Browse for tutorials that are relevant to your community
  3. Note the tags that are associated with tutorials of interest
Comment: Tips

You can also create a tag (for example, your community name) and tag all relevant tutorials with it. Then, you only need to use this tag to pull all the relevant tutorials.

Add the list relevant tags for your community in the tutorial_tags file

Hands On: Add the relevant tags to the tutorial_tags file
  1. Open or create a file named tutorial_tags in your comunity metadata folder (communities/<your community>/metadata/tutorial_tags)
  2. Add the name of the tags relevant to your community in the tutorial_tags file, with 1 tag per row (See above for how to identify the appropriate tags)

    For example:

    Assembly
    Metagenomics
    

Once you have a list of the tags that you wish to keep, you can submit this to Galaxy CoDex.

Hands On: Submit the new list of tags to Galaxy CoDex
  1. Click on Commit changes at the top
  2. Fill in the commit message with something like Add tutorials tags for my community
  3. Click on Create a new branch for this commit and start a pull request
  4. Create the pull request by following the instructions

The Pull Request will be reviewed. Make sure to respond to any feedback.

On the sunday following the Pull Request merge, a table with all tutorial will be created in communities/<your community>/resources/tutorials.tsv

Here is an overview of the files :

Filename Location Generation Function Format Example (microgalaxy)
tutorial_tags communities//metadata/ Manual Name of the tags relevant to your community, with 1 tag per row NA Example
tutorials.tsv communities//resources/ Automatic Table with all the tutorials relevant to your community TSV Example
tutorials.html communities//resources/ Automatic A list of the tutorials in html format to include in a website HTML Example
Flowchart illustrating the steps to generate the tutorials resources for your community.Open image in new tab

Figure 1: Flowchart illustrating the steps to generate the tutorials resources for your community.

Embed the table in your community page on the Hub

The table you have created can be embedded in your community page on the Hub, e.g. microGalaxy.

Hands On: Embed your table
  1. If not already done, fork the repository Galaxy Hub
  2. Open or create your community page: content/community/sig/<your community>/index.md
  3. TO DO : We Will soon update this section to explain how to include the table, sorry for the inconvenience.
  4. Submit the changes
  5. Wait for the Pull Request to be merged

Conclusion

You now have a table with tutorials available for your community, and this table is embedded in a community page.