diff --git a/_layouts/base.html b/_layouts/base.html index 1f9081c23905b9..2da5bf1dd03064 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -31,8 +31,7 @@ {{ page | generate_dublin_core: site }} - {%- assign og_desc = page.description | default: page.excerpt | default:topic.summary | default: page.content | default: "Collection of tutorials developed and maintained by the worldwide Galaxy community" -%} - + {%- assign og_desc = page.description | default: page.excerpt | default:topic.summary | default: page.content | default: "Collection of tutorials developed and maintained by the worldwide Galaxy community" -%} diff --git a/assets/css/main.scss b/assets/css/main.scss index 4e25074a89d1e8..dab3d9446b75f5 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -1264,7 +1264,8 @@ li { // The default presentation body { .show-when-galaxy-proxy-active { - cursor: not-allowed; + // cursor: not-allowed; + display: none; } span.tool, span.workflow { diff --git a/faqs/galaxy/workflows_run_ds.md b/faqs/galaxy/workflows_run_ds.md new file mode 100644 index 00000000000000..63afaeff7de234 --- /dev/null +++ b/faqs/galaxy/workflows_run_ds.md @@ -0,0 +1,31 @@ +--- +title: Importing and Launching a Dockstore workflow +area: workflows +box_type: hands_on +layout: faq +contributors: [hexylena] +--- + +{% if include.dockstore_id %} + +
-My Galaxy Instance allows the GTN to link you to specific pages in your preferred Galaxy -
++ This page lets us redirect you to specific pages in your preferred Galaxy. See the FAQ for more information. +
-Go to your server - - - +
+ You are being redirected to
+
+ Go to https://usegalaxy.eu +
+ ++ UseGalaxy.eu ππͺπΊ + UseGalaxy.org ππΊπΈ + UseGalaxy.org.au π + +
+-Configure My Galaxy Instance by entering your preferred Galaxy Server (e.g. usegalaxy.eu or usegalaxy.org.au) and clicking Save. -
--Note: This URL is only stored in your browser. -
diff --git a/topics/contributing/tutorials/create-new-tutorial-content/tutorial.md b/topics/contributing/tutorials/create-new-tutorial-content/tutorial.md index e9801c5b3445cc..f3ddf854f249fe 100644 --- a/topics/contributing/tutorials/create-new-tutorial-content/tutorial.md +++ b/topics/contributing/tutorials/create-new-tutorial-content/tutorial.md @@ -920,6 +920,42 @@ The alternative is to figure out the ID for the tool you want to use: ![Finding the tool ID](../../images/tool-id.png) +## Workflows + +In some tutorials you aren't as interested in teaching users the individual steps for analysing data, but rather want to focus on some downstream aspects of analysis, or to showcase the best practice workflows that are already available for a user to use! In those cases it can be useful to have a nicer way of inviting the user to execute those steps. + +### WorkflowHub + +You can use a dedicated snippet to invite users to run a WorkflowHub workflow: + +{% raw %} +```markdown +{% snippet faqs/galaxy/workflows_run_wfh.md title="mRNA-Seq BY-COVID Pipeline" wfhub_id="685" %} +``` +{% endraw %} + +Rendered: + +{% snippet faqs/galaxy/workflows_run_wfh.md title="mRNA-Seq BY-COVID Pipeline" wfhub_id="685" %} + +Note that it links to a specific workflow, on any Galaxy server. When this tutorial is opened from within the Tutorial Mode, that link will change to one on the current server, removing the intermediate step. + +### Dockstore + +Please note that the dockstore ID should be provided without the `#` character. + +{% raw %} +```markdown +{% snippet faqs/galaxy/workflows_run_ds.md title="My Cool Workflow" dockstore_id="workflow/github.com/jmchilton/galaxy-workflow-dockstore-example-1/mycoolworkflow" %} +``` +{% endraw %} + +Rendered: + +{% snippet faqs/galaxy/workflows_run_ds.md title="My Cool Workflow" dockstore_id="workflow/github.com/jmchilton/galaxy-workflow-dockstore-example-1/mycoolworkflow" %} + +This snippet has the same behaviour, it will use my.galaxy.training links to make them server independent, but in Tutorial Mode it will open on the current server. + ## FAQs (snippets)