-
Notifications
You must be signed in to change notification settings - Fork 902
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5507 from galaxyproject/tutorialmodefaq
Add an FAQ to explain how to prepare a tutorial to support tutorial mode
- Loading branch information
Showing
6 changed files
with
65 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
title: Supporting Tutorial Mode (GTN-in-Galaxy) in a tutorial | ||
area: contributors | ||
layout: faq | ||
box_type: tip | ||
contributors: [shiltemann] | ||
--- | ||
|
||
GTN tutorials can be viewed directly within Galaxy, we call this *Tutorial mode* ([read news post]({% link faqs/galaxy/tutorial_mode.md %})) | ||
|
||
In this mode, tool names in hands-on boxes become clickable, directly opening the tool in Galaxy, at the right version. | ||
|
||
To enable this feature, a bit of metadata needs to be added to the tool names in hands-on boxes as follows: | ||
|
||
{% raw %} | ||
``` | ||
{% tool [Name](Toolshed ID) %} | ||
``` | ||
{% endraw %} | ||
|
||
For example: | ||
|
||
{% raw %} | ||
``` | ||
{% tool [bedtools intersect intervals](toolshed.g2.bx.psu.edu/repos/iuc/bedtools/bedtools_intersectbed/2.30.0+galaxy1) %} | ||
``` | ||
{% endraw %} | ||
|
||
To find the toolshed ID of a tool: | ||
|
||
1. Open the tool in Galaxy | ||
2. Click on the {% icon dropdown %} options menu (dropdown icon) | ||
3. Select **Copy Tool ID** | ||
|
||
![screenshot of menu with toolshed link for a tool]({% link faqs/gtn/images/tool_toolshed_link.png %}) | ||
|
||
Example of a hands-on box using this feature: | ||
|
||
{% raw %} | ||
``` | ||
> <hands-on-title> Counting SNPs </hands-on-title> | ||
> | ||
> 1. {% tool [Datamash](toolshed.g2.bx.psu.edu/repos/iuc/datamash_ops/datamash_ops/1.8+galaxy0) %} (operations on tabular data): | ||
> | ||
> - *"Input tabular dataset"*: select the output dataset from **bedtools intersect intervals** {% icon tool %} | ||
> - *"Group by fields"*: `Column: 4` (the column with the exon IDs) | ||
> | ||
{: .hands_on} | ||
``` | ||
{% endraw %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters