Skip to content Skip to footer

Guides: Testing your guides to improve content

Testing functional content

As an example, some How-to Guides detail the use of the bioinformatics platform Galaxy and demonstrate its application to analysis of real world data. It is critical that the functional content included (tools, workflows, code) is tested by:

  • The original developer ( if this isn’t you ); and
  • New users who have never seen the content before

A good example is a bioinformatics workflow: this workflow should be tested to ensure it functions as expected. This makes it more likely that someone will be able to successfully reuse the part of the guide that refers to the workflow.

Make sure that others can understand your How-to Guide

The How-to Guide you create will be more reusable if multiple people have worked through the content. They will either successfully complete the activities in the guide, or provide critical feedback that can be used to improve the How-to Guide.

You can embed links into a How-to Guide that instruct a Galaxy instance to import a specific version of a workflow from a source like Dockstore or WorkflowHub. The example use case is if you would like a user of your guide to be able to open a workflow by simply clicking a link.

  1. Create a GitHub repository for your workflow - the guide available here describes how to use the BioCommons documentation guidelines template for this purpose
  2. Commit your workflow to GitHub
  3. Register the workflow with WorkflowHub - see the getting started documentation for WorkflowHub
  4. Build the required link, as described in the example below

Example

An example workflow import link is included here for Galaxy Australia and WorkflowHub:

https://usegalaxy.org.au/workflows/trs_import?trs_server=workflowhub.eu&trs_id=221&trs_version=3

Breaking the link down into its components:

  1. https://usegalaxy.org.au/workflows/trs_import: Galaxy Australia, please initiate a workflow import using my account
  2. ?trs_server=workflowhub.eu: use the WorkflowHub TRS server, and
  3. &trs_id=221&trs_version=3: import workflow ID 221, version number 3
  4. Note that you can leave out the version, in which case Galaxy will provide the option to select a workflow version for import

If you add these links, don’t forget to also cite the workflow. Example for the workflow used above:

Price, G., & Farquharson, K. (2022). PacBio HiFi genome assembly using hifiasm v2.1. WorkflowHub. https://doi.org/10.48546/WORKFLOWHUB.WORKFLOW.221.3