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

Add tutorial for tool annotation with EDAM via bio.tools #4734

Merged
merged 11 commits into from
Mar 6, 2024

Conversation

bebatut
Copy link
Member

@bebatut bebatut commented Feb 16, 2024

Tutorial from the BioHackathon, needed for the galaxy_tool_metadata_extractor preprint galaxyproject/galaxy_codex#55 and the next microGalaxy hackathon galaxyproject/galaxy-hub#2404

@paulzierep, @supernord, @matuskalas, @nsoranzo: this is ready for review.
I will prepare the other one "Create an interactive Galaxy tools table for your community" next week

@bebatut bebatut requested review from abretaud and a team as code owners February 16, 2024 15:12
@github-actions github-actions bot added the dev label Feb 16, 2024
Copy link
Collaborator

@paulzierep paulzierep left a comment

Choose a reason for hiding this comment

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

Great work ! Will continue next week !

topics/dev/tutorials/tool-annotation/tutorial.md Outdated Show resolved Hide resolved
topics/dev/tutorials/tool-annotation/tutorial.md Outdated Show resolved Hide resolved
topics/dev/tutorials/tool-annotation/tutorial.md Outdated Show resolved Hide resolved
topics/dev/tutorials/tool-annotation/tutorial.md Outdated Show resolved Hide resolved
topics/dev/tutorials/tool-annotation/tutorial.md Outdated Show resolved Hide resolved
topics/dev/tutorials/tool-annotation/tutorial.md Outdated Show resolved Hide resolved

The annotation of tools can be done on [bio.tools](https://bio.tools/). bio.tools ({% cite ison2016tools %}) is a global portal for bioinformatics resources that helps researchers to find, understand, compare, and select resources suitable for their work. It relies on the EDAM ontology for standardazing the annotations.

In Galaxy, tools can be annotated with EDAM terms, either by putting them directly in the wrapper or extracting them from their corresponding bio.tools entry by linking to it. The advantage of the second approach is that only one place (bio.tools entry) needs to store and keep updated EDAM terms.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
In Galaxy, tools can be annotated with EDAM terms, either by putting them directly in the wrapper or extracting them from their corresponding bio.tools entry by linking to it. The advantage of the second approach is that only one place (bio.tools entry) needs to store and keep updated EDAM terms.
In Galaxy, tools can be annotated with EDAM terms, either by putting them directly in the wrapper or extracting them from their corresponding bio.tools entry by linking to it. The advantage of the second approach is that only one place (bio.tools entry) needs to store and keep updated EDAM terms.
If the bio.tools entry for a tool is updated the information automatically propagates to the installed tool on a galaxy server, provided the tool is linked to its entry.


# Choose a tool without bio.tool identifier

To start, we need to select a tool without bio.tool identifier.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
To start, we need to select a tool without bio.tool identifier.
To start, we need to select a tool without bio.tool identifier. If a tool is installed on a server the bio.tools entry will be shown on the bottom of the tool view. Another way to directly search for tools without bio.tools entry is the galaxy tool metadata extractor.
<iframe id="edam" src="https://galaxyproject.github.io/galaxy_tool_metadata_extractor/" frameBorder="0" width="80%" height="600px"> </iframe>

time_estimation: 1H
key_points:
- Galaxy tools can get EDAM ontology terms from bio.tools
- bio.tools entry can be created and modified to provide the best EDAM annotations
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe we can add a point here?

  • An up-to-date bio.tools entry provides readily accessible metadata that can help users to find and understand tools that are available on Galaxy

Copy link
Member

Choose a reason for hiding this comment

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

Please consider using the "Suggestion Mode" feature of GitHub (see step 6).

By providing a suggestion using the proper suggestion mode:

  1. For authors, it is unambiguous what you are proposing
  2. It's also easier for them to simply accept the suggestion, PR authors prefer suggestions!
  3. You get credited in the Git commit helping us properly track attribution


---

Galaxy offers thousands of tools. A vast majority of these tools come with poor metadata.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Instead of "A vast majority" we could say:
Many of these tools either have incomplete metadata, or are not yet linked to sources of high quality metadata such as [bio.tools](https://bio.tools/).

@@ -0,0 +1,193 @@
---
layout: tutorial_hands_on
title: Annotation of a tool with EDAM ontology terms using bio.tools
Copy link
Collaborator

Choose a reason for hiding this comment

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

Alternate title suggestion: Linking Galaxy tools to metadata in the bio.tools registry

Copy link
Member Author

Choose a reason for hiding this comment

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

I feel that we cover more than just Linking in the tutorial. We cover also the aspect of creating bio.tools and improving the annotation on bio.tools

Copy link
Collaborator

Choose a reason for hiding this comment

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

What about: Adding and updating best practice metadata for Galaxy tools using the bio.tools registry?

@supernord
Copy link
Collaborator

supernord commented Feb 26, 2024

Some suggestions 😄
bebatut#2

contributions:
authorship:
- bebatut

Copy link
Member Author

Choose a reason for hiding this comment

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

@supernord, @paulzierep add yourselves here

> 2. Click on **Add Condition**
> 3. Select *bio.tool id* in **Data** drop-down
> 4. Select *Empty* in **Condition** drop-down
> 5. Select a tool in the list
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
> 5. Select a tool in the list
> 5. Select a tool in the list, and proceed to the next section of the tutorial

@supernord
Copy link
Collaborator

We have an opportunity to also emphasise the addition of additional best practice metadata for bio.tools entries.
Should we do this? Or is this too much detail for this tutorial?
@bebatut @paulzierep

Co-authored-by: Johan Gustafsson <[email protected]>
@bebatut
Copy link
Member Author

bebatut commented Feb 28, 2024

We have an opportunity to also emphasise the addition of additional best practice metadata for bio.tools entries.
Should we do this? Or is this too much detail for this tutorial?

On the principle it would be good but I am afraid people might be afraid it is too much work

@paulzierep
Copy link
Collaborator

We have an opportunity to also emphasise the addition of additional best practice metadata for bio.tools entries.
Should we do this? Or is this too much detail for this tutorial?

On the principle it would be good but I am afraid people might be afraid it is too much work

I would suggest making another tutorial if needed.

Copy link
Collaborator

@paulzierep paulzierep left a comment

Choose a reason for hiding this comment

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

I love optional paths.
Some small suggestions from my side.

topics/dev/tutorials/tool-annotation/tutorial.md Outdated Show resolved Hide resolved
topics/dev/tutorials/tool-annotation/tutorial.md Outdated Show resolved Hide resolved
topics/dev/tutorials/tool-annotation/tutorial.md Outdated Show resolved Hide resolved
topics/dev/tutorials/tool-annotation/add_edam_function.md Outdated Show resolved Hide resolved

> <hands-on-title>Find the Galaxy wrapper</hands-on-title>
>
> 1. Go to the tool on any Galaxy server
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we should use the parsed source folder instead: galaxyproject/galaxy_codex#65
Which will be correct for all tools in our list.
For many tools I checked the location in the .shed file is wrong... that might confuse the helpers !

topics/dev/tutorials/tool-annotation/tutorial.md Outdated Show resolved Hide resolved
@hexylena hexylena merged commit 91ff5f0 into galaxyproject:main Mar 6, 2024
3 checks passed
@bebatut bebatut deleted the biotool-edam branch March 6, 2024 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants