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

Edits #64

Merged
merged 58 commits into from
Feb 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
9c1f83b
Update docs index.md structure
supernord Nov 29, 2024
e6c5ebe
Update documentation.yml
supernord Nov 29, 2024
aa60ae2
Update descriptions
supernord Dec 5, 2024
8fee088
update glossary.md
supernord Dec 5, 2024
03e065e
add glossary.yml
supernord Dec 5, 2024
207c310
add glossary.html
supernord Dec 5, 2024
89f061b
add resources.yml
supernord Dec 5, 2024
e5343a2
add resources.html
supernord Dec 5, 2024
5137115
add wfms.md
supernord Dec 5, 2024
d4f27fd
fix resources.html
supernord Dec 5, 2024
3bac236
update complete-workflow-metadata.md
supernord Jan 13, 2025
92f8238
update how-to-register.md
supernord Jan 13, 2025
44b49e3
update index.md
supernord Jan 13, 2025
13e8ab6
update logging-in.md
supernord Jan 13, 2025
197bc8f
update how-to-register.md, index.md and guide-to-using-workflowhub.md
supernord Jan 13, 2025
7b9998d
update index.md
supernord Jan 13, 2025
e10b5d4
update page IDs
supernord Jan 13, 2025
fbd8e68
update page IDs
supernord Jan 13, 2025
2e3e079
update index.md include
supernord Jan 13, 2025
b991887
update index.md include
supernord Jan 13, 2025
793d943
custom card class
supernord Jan 13, 2025
89a8359
custom card class
supernord Jan 13, 2025
825a89d
custom card variables
supernord Jan 13, 2025
8d0ca4a
update custom card class
supernord Jan 13, 2025
e7068ec
update custom card class
supernord Jan 13, 2025
f0be7dd
update custom card class
supernord Jan 13, 2025
111f191
update custom card class
supernord Jan 13, 2025
e775565
ETT to 4.0.0
supernord Jan 14, 2025
9482cc0
Remove type: documentation
supernord Jan 14, 2025
407144c
Update navigation-tiles
supernord Jan 14, 2025
804fd0a
Update navigation-tiles
supernord Jan 14, 2025
e79de4b
Update navigation-tiles
supernord Jan 14, 2025
5da8e0b
Update navigation-tiles
supernord Jan 14, 2025
4405db8
Update navigation-tiles
supernord Jan 14, 2025
edf00b7
Update navigation-tiles
supernord Jan 14, 2025
ebd2b1b
Update navigation-tiles
supernord Jan 14, 2025
422595d
Update finding-workflows.md
supernord Jan 14, 2025
1811854
Update maintaining-your-workflow.md
supernord Jan 14, 2025
619c80d
Update index.md and space-team-organisation.md
supernord Jan 15, 2025
9451db9
Add reference material to dev index.md
supernord Jan 15, 2025
27e91f2
Update documentation.yml
supernord Jan 15, 2025
7119dcf
Update docs for registration
supernord Jan 15, 2025
19ac3ae
Update documentation.yml
supernord Jan 15, 2025
d44e91e
Update page descriptions
supernord Jan 15, 2025
1084fcd
Update supported-workflow-types.md
supernord Jan 15, 2025
1a30d41
Update how-to-make-a-workflow-ro-crate.md
supernord Jan 15, 2025
cc28b3a
Rename and update organising-and-setup.md
supernord Jan 15, 2025
acacec5
Fix documentation.yml
supernord Jan 15, 2025
9c97823
Update citable.md
supernord Jan 15, 2025
e35237f
Update citable.md
supernord Jan 15, 2025
3f1224e
Update citable.md
supernord Jan 15, 2025
3e05ec4
Update citable.md
supernord Jan 15, 2025
3894ca0
Update citable.md
supernord Jan 15, 2025
14cea8a
Update citable.md
supernord Jan 15, 2025
a350cc8
Update descriptions and tocs
supernord Jan 15, 2025
9760c9c
Update how-to-register.md, join-create-teams-spaces.md, and organisin…
supernord Jan 15, 2025
95b9a53
Update _config.yml - no set ETT version
supernord Jan 15, 2025
ef1b8cb
update actions versions
supernord Feb 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.branch }}

Expand All @@ -30,7 +30,7 @@ jobs:

- name: Setup Pages
id: pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v5

- name: Install dependencies
run: |
Expand All @@ -46,4 +46,4 @@ jobs:
JEKYLL_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: >
Project pages for developing and running WorkflowHub,
a registry of scientific workflows.

remote_theme: ELIXIR-Belgium/elixir-toolkit-theme@2.5.0
remote_theme: ELIXIR-Belgium/elixir-toolkit-theme

permalink: pretty

Expand Down
25 changes: 25 additions & 0 deletions _data/glossary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
- title: "Team"
description: Project, also called “Team”
url:
- title: "Workflow type"
description: See <a href="{{ '/docs/supported-workflow-types' | relative_url }}">supported workflow types</a>
- title: "Organisation"
description:
url:
- title: "Space"
description:
url:
- title: "Main workflow file"
description: This is the main workflow file that has to be uploaded/referenced. Specify the Workflow type of the main workflow in the dropdown list (i.e. Common Workflow Language ".cwl", Galaxy ".ga", KNIME ".knwf", Nextflow ".nf", Snakemake ".snake". If your workflow type is not listed, please choose "other".
- title: "Git repository"
description:
url:
- title: "Remote file URL"
description:
- title: "CWL abstract"
description: The CWL abstract is used as a summary of the workflow to parse for example the description (doc) if provided or to generate a svg diagram. If you have a Galaxy workflow you can generate the CWL abstract with <a href="https://github.com/workflowhub-eu/galaxy2cwl">galaxy2cwl</a>. If your main workflow is a CWL workflow, you can skip this step. In the future it will also be possible to convert other workflow types to CWL abstract.
- title: "Diagram"
description: If your main workflow file is CWL or you give a CWL abstract, the diagram is automatically generated by the WorkflowHub website. In any other case, you will have to supply a diagram yourself, which will then be included in the workflow entry on WorkflowHub (and by extension in the RO-Crate). During registration, you can use the upload / reference fields to attach a diagram in .svg (preferred) or .jpeg/.png format.
- title: "RO-Crate"
description: Research Object Crate (RO-crate)
url: https://www.researchobject.org/ro-crate/
15 changes: 15 additions & 0 deletions _data/resources.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
- title: "Common Workflow Language (.cwl)"
url: https://www.commonwl.org/
url_community_workflows: https://github.com/common-workflow-library
url_community: https://www.commonwl.org/community/
- title: "Nextflow (.nf)"
url: https://www.nextflow.io/
url_community_workflows: https://nf-co.re/pipelines/
url_community: https://nf-co.re/
- title: "SnakeMake (.snake)"
url: https://snakemake.github.io/
url_community_workflows: https://snakemake.github.io/snakemake-workflow-catalog/
- title: "KNIME (.knwf)"
url: https://www.knime.com/
url_community_workflows: https://hub.knime.com/

65 changes: 33 additions & 32 deletions _data/sidebars/documentation.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,44 @@
title: Documentation
subitems:
- title: Quick start guide
- title: Getting started
url: /docs/index
- title: Complete guide to using WorkflowHub
url: /docs/guide-to-using-workflowhub
- title: Detailed documentation
- title: Finding workflows
url: /docs/finding-workflows/
- title: Test submissions to WorkflowHub
url: /docs/workflowhub_instances/
- title: Getting set up on WorkflowHub
url: /docs/organising-and-setup/
subitems:
- title: How to register with WorkflowHub
url: /docs/how-to-register/
- title: Logging in
url: /docs/logging-in/
- title: Join or set up Teams & Spaces
url: /docs/join-create-teams-spaces/
- title: What are Teams, Spaces and Organizations?
url: /docs/space-team-organisation/
- title: Contributing workflows
url: /docs/registering_workflows/registering-a-workflow/
subitems:
- title: WorkflowHub instances
url: /docs/workflowhub_instances/
- title: How to register
url: /docs/how-to-register/
- title: Logging in
url: /docs/logging-in/
- title: What are Teams, Spaces and Organizations?
url: /docs/space-team-organisation/
- title: Join or set up Teams & Spaces
url: /docs/join-create-teams-spaces/
- title: Registering workflows
url: /docs/registering_workflows/registering-a-workflow/
subitems:
- title: Register and login
url: /docs/registering_workflows/register-and-login/
- title: Adding files
url: /docs/registering_workflows/adding-files/
- title: Complete workflow metadata
url: /docs/registering_workflows/complete-workflow-metadata/
- title: Check uploaded workflow
- title: Finalise registration
url: /docs/registering_workflows/check-uploaded-workflow/
- title: Supported workflow types
url: /docs/registering_workflows/supported-workflow-types/
- title: Organising your workflows on WorkflowHub
url: /docs/organising-workflows/
- title: Maintaining your workflow
url: /docs/maintaining-your-workflow/
- title: Mint a DOI for your workflow
url: /docs/citable/
- title: Finding workflows
url: /docs/finding-workflows/
- title: Metadata list
url: /docs/metadata-list/
- title: Glossary
url: /docs/glossary/
- title: For developers
url: /developer/
subitems:
- title: Maintain your workflows
url: /docs/maintaining-your-workflow/
- title: Mint a workflow DOI
url: /docs/citable/
- title: For developers
url: /developer/
subitems:
- title: Bioschemas.org
url: /developer/bioschemas/
- title: Workflow RO-Crate
Expand All @@ -52,5 +47,11 @@ subitems:
url: /developer/how-to-make-a-workflow-ro-crate/
- title: RO-Crate API
url: /developer/ro-crate-api/
- title: TRS
- title: TRS API
url: /developer/trs/
- title: FAQ
url: /docs/faq/
- title: Metadata list
url: /docs/metadata-list/
- title: Glossary
url: /docs/glossary/
34 changes: 34 additions & 0 deletions _includes/glossary.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{%- if include.tag %}
{%- assign tools = site.data.glossary | add_related_pages | where:"related_pages", include.tag | sort_natural: "name" %}
{%- else %}
{%- assign tools = site.data.glossary | add_related_pages | sort_natural: "name" %}
{%- endif %}
{%- assign country_pages = site.pages | where_exp: "item", "item.search_exclude != true" | where_exp:"item","item.national_resources != nil" %}
{%- unless tools.size == 0 or tools == nil %}
<a class="visually-hidden-focusable" href='#skip-tool-table'>Skip tool table</a>
<div class="table-responsive mt-4 mb-5">
<table class="tooltable table display">
<thead>
<tr class="text-nowrap">
<th>Term</th>
<th>Description</th>
</tr>
</thead>
<tbody>
{%- for tool in tools %}
<tr>
{% if tool.url %}
<td><a href="{{tool.url}}">{{tool.title}}</a></td>
{%- else %}
<td>{{tool.title}}</td>
{%- endif %}
{% if tool.description %}
<td>{{tool.description}}</td>
{%- endif %}
</tr>
{%- endfor %}
</tbody>
</table>
</div>
{%- endunless %}
<div id="skip-tool-table"></div>
43 changes: 43 additions & 0 deletions _includes/resources.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{%- if include.tag %}
{%- assign tools = site.data.resources | add_related_pages | where:"related_pages", include.tag | sort_natural: "name" %}
{%- else %}
{%- assign tools = site.data.resources | add_related_pages | sort_natural: "name" %}
{%- endif %}
{%- assign country_pages = site.pages | where_exp: "item", "item.search_exclude != true" | where_exp:"item","item.national_resources != nil" %}
{%- unless tools.size == 0 or tools == nil %}
<a class="visually-hidden-focusable" href='#skip-tool-table'>Skip tool table</a>
<div class="table-responsive mt-4 mb-5">
<table class="tooltable table display">
<thead>
<tr class="text-nowrap">
<th>WfMS</th>
<th>Links to related information {%- if include.tag -%}
<a data-bs-toggle="tooltip" data-bs-original-title="Links">
<i class="fa-solid fa-info-circle"></i>
</a>{%- endif %}
</th>
</tr>
</thead>
<tbody>
{%- for tool in tools %}
<tr>
{% if tool.url %}
<td><a href="{{tool.url}}">{{tool.title}}</a></td>
{%- else %}
<td>{{tool.title}}</td>
{%- endif %}
<td>
{%- if tool.url_community %}
<a data-bs-toggle="tooltip" data-bs-original-title="Community" href="{{tool.url_community}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-info me-2"></i>Community</span></a>
{%- endif %}
{%- if tool.url_community_workflows %}
<a data-bs-toggle="tooltip" data-bs-original-title="Community workflows" href="{{tool.url_community_workflows}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-database me-2"></i>Community workflows</span></a>
{%- endif %}
</td>
</tr>
{%- endfor %}
</tbody>
</table>
</div>
{%- endunless %}
<div id="skip-tool-table"></div>
21 changes: 21 additions & 0 deletions _sass/_custom_classes.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
/*-----Navigation tiles-----*/
/*-----From https://github.com/elixir-europe/infectious-diseases-toolkit/blob/main/_sass/_custom_classes.scss-----*/

.navigation-tiles {
.card {
background-color: $light;
color: $dark;
}
.card:hover {
box-shadow: $box-shadow;
background-color: $primary;
}

.card-body {
h3 {
color: $dark;
font-size: 1.2rem;
}
}
}

/*-----Top navigation-----*/
header .navbar {
.navbar-brand {
Expand Down
5 changes: 5 additions & 0 deletions _sass/_custom_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ $topnav-bg: $light;
$topnav-title-color: $primary;
$topnav-brand-height: 80px;

/*-----Section navigation tiles-----*/
$nav-card-bg: $primary;
$nav-card-color: $dark;
$nav-card-bg-hover: $primary;
$nav-card-color-hover: $white;
25 changes: 11 additions & 14 deletions developer/how-to-make-a-workflow-ro-crate.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
---
title: How to make a workflow RO-crate?
title: How to make a workflow RO-crate
redirect_from: /how-to-make-a-workflow-ro-crate/
---

More info about workflow RO-crate specification can be found in our [Workflow-RO-Crate](/Workflow-RO-Crate/) section.

### 1. Using the WorkflowHub website
## 1. Using the WorkflowHub website

The most convenient way to make a workflow RO-crate at this moment is by making use of WorkflowHub capabilities. The website is able to generate RO-crates based on an uploaded/referenced workflow file and some general metadata that is requested through a form. After the workflow is [registered](/docs/registering-a-workflow) for more info about this topic) it is possible to download the RO-crate with the download button. The generated RO-crate, basically a zip file, will contain these elements:
The most convenient way to make a workflow RO-crate at this moment is by making use of WorkflowHub capabilities. The website is able to generate RO-crates based on an uploaded/referenced workflow file and some general metadata that is requested through a form. After the workflow is [registered](/docs/registering-a-workflow) for more info about this topic) it is possible to download the RO-crate with the download button.

- **JSONLD file**\
JSONLD serving machine readable metadata including:
The generated RO-crate, basically a zip file, will contain these elements:

- **JSONLD file**: JSONLD serving machine-readable metadata including:
- Author
- Contents and structure
- Project
Expand All @@ -24,23 +25,19 @@ The most convenient way to make a workflow RO-crate at this moment is by making

The metadata properties are based on the [BioSchemas workflow profile](https://bioschemas.org/profiles/Workflow) .

- **HTML file**\
A web page serving the metadata in a human readable way.
- **HTML file**: A web page serving the metadata in a human-readable way.
- Original URL
- Author (creators)
- License
- Contents

- **Main Workflow file**\
The workflow file itself if uploaded.
- **Main Workflow file**: The workflow file itself, if uploaded.

- **Main Workflow Diagram (optional)**\
A diagram visualizing the steps in the workflow if uploaded or generated out of the CWL.
- **Main Workflow Diagram (optional)**: A diagram visualizing the steps in the workflow, if uploaded or generated from CWL.

- **Main Workflow CWL Description (optional)**\
This file can be included if supplied by the user.
- **Main Workflow CWL Description (optional)**: This file can be included if supplied by the user.

### 2. Making one offline yourself
## 2. Making one offline yourself

We are working on a python package at this moment to wrap your own RO-crates. This will allow you to not be bounded by the file limitations of the WorkflowHub website (workflow + CWL abstract and/or diagram), and will make it possible to automate the RO-Crate generation.
The python package can be found in [ResearchObject/ro-crate-py](https://github.com/ResearchObject/ro-crate-py).
16 changes: 15 additions & 1 deletion developer/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
title: For developers
title: Documentation for developers
description: Documentation for developers, including bioschemas, RO-crate, and APIs.
page_id: developer
toc: false
---

Programmatic access to WorkflowHub is based on [FAIRDOM-SEEK](https://seek4science.org/) and [RO-Crate](https://www.researchobject.org/ro-crate/):
Expand All @@ -9,3 +12,14 @@ Programmatic access to WorkflowHub is based on [FAIRDOM-SEEK](https://seek4scien
* [Workflow RO-Crate](../Workflow-RO-Crate) including [How to make Workflow RO-Crate](how-to-make-a-workflow-ro-crate/) and [RO-Crate API](ro-crate-api/)
* [FAIR Signposting](signposting/) and FAIR Digital Objects (FDO)
* [GA4GH’s Tool Registry Service API](trs/) for iterating over every workflow


### Reference material

WorkflowHub is based on the [SEEK framework](https://docs.seek4science.org/). Below is a map between WorkflowHub terms and the underlying SEEK definitions and documentation.

|WorkflowHub term|FAIRDOM SEEK term|Explanation|Link|
|-----|-----|-----|-----|
|Team|Project|Set up for a specific activity or group|<https://docs.seek4science.org/help/user-guide/create-a-project.html>|
|Space|Programme|Set up for a funded piece of work, project or consortium|<https://docs.seek4science.org/help/user-guide/programme-creation-and-management.html>|

Loading
Loading