Skip to content

Commit

Permalink
group pathways by topic type
Browse files Browse the repository at this point in the history
  • Loading branch information
shiltemann committed Jul 13, 2023
1 parent 22589fa commit c3f7a9f
Show file tree
Hide file tree
Showing 11 changed files with 71 additions and 33 deletions.
30 changes: 30 additions & 0 deletions _includes/pathway-card.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{% assign path = include.path %}

{% assign coverimage = path.coverimage | default: "/assets/images/GTNLogo1000.png" %}
{% assign coverimagealt = path.coverimagealt | default: "GTN logo with a multi-coloured star and the words Galaxy Training Network"%}


<div class="pathwayitem col-md-4">
<div class="card d-flex">
<div class="d-flex align-items-center" style="height:200px;">
{% if path.cover-image %}
<img class="pathwaycover card-img-top" src="{{site.baseurl}}/{{path.cover-image}}" alt="{{ path.cover-image-alt }}" loading="lazy">
{% else %}
<img class="pathwaycover card-img-top" src="{{site.baseurl}}{{coverimage}}" alt="{{ coverimagealt }}" loading="lazy">
{% endif %}
</div>
<div class="card-body d-flex flex-column">
<h5 class="card-title">{{path.title}}</h5>
<p class="card-text">
{{path.description}}
</p>
</div>
<div class="card-footer">
{% for tag in path.tags %}
<span class="label label-default tutorial_tag" style="{{ tag | colour_tag }}">{{ tag }}</span>
{% endfor %}
</div>
</div>
</div>


1 change: 1 addition & 0 deletions learning-pathways/admin-training.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: learning-pathway
title: Admin Training Course
type: admin-dev
description: |
Learn how to setup, configure, and maintain your own Galaxy server. This learning pathway
will guide you through all the steps required to setup your own Galaxy server with Ansible,
Expand Down
3 changes: 3 additions & 0 deletions learning-pathways/genome-annotation-eukaryote.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ layout: learning-pathway
title: Genome annotation for eukaryotes
description: |
Learn how to annotate an eukaryotic genome sequence: identify repeated regions, find the position and function of genes, and even set up a manual curation environment with Apollo.
type: use
tags: [genome annotation, eukaryote]

cover-image: assets/images/gga.png
Expand All @@ -12,6 +13,8 @@ maintainers:
funding:
- erasmusplus



pathway:
- section: "Module 1: Introduction"
description: |
Expand Down
1 change: 1 addition & 0 deletions learning-pathways/genome-annotation-prokaryote.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ layout: learning-pathway
title: Genome annotation for prokaryotes
description: |
Learn how to annotate a prokaryotic genome sequence: find the position and function of genes, and even set up a manual curation environment with Apollo.
type: use
tags: [genome annotation, prokaryote]

cover-image: assets/images/gga.png
Expand Down
54 changes: 25 additions & 29 deletions learning-pathways/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,40 @@
layout: page
---

{% assign pathways = site.pages | where: "layout", "learning-pathway" | sort: "priority", "last" %}
{% assign pathways_science = site.pages | where: "layout", "learning-pathway" | where: "type", "use" | sort: "priority", "last" %}

{% assign pathways_other = site.pages | where: "layout", "learning-pathway" | where_exp: "item", "item.type != 'use'" | sort: "priority", "last" %}


# Learning Pathways

Learning pathways are sets of tutorials curated for you by community experts to form a coherent set of lessons around a topic, building up knowledge as you go. We always recommend to follow the tutorials in the order they are listed in the pathway.

## For Scientists


<!-- list all available pathways as cards -->
<div class="pathwaylist row">

{% for path in pathways %}

{% assign coverimage = path.coverimage | default: "/assets/images/GTNLogo1000.png" %}
{% assign coverimagealt = path.coverimagealt | default: "GTN logo with a multi-coloured star and the words Galaxy Training Network"%}


<div class="pathwayitem col-md-4">
<div class="card d-flex">
<div class="d-flex align-items-center" style="height:200px;">
{% if path.cover-image %}
<img class="pathwaycover card-img-top" src="{{site.baseurl}}/{{path.cover-image}}" alt="{{ path.cover-image-alt }}" loading="lazy">
{% else %}
<img class="pathwaycover card-img-top" src="{{site.baseurl}}{{coverimage}}" alt="{{ coverimagealt }}" loading="lazy">
{% endif %}
</div>
<div class="card-body d-flex flex-column">
<h5 class="card-title">{{path.title}}</h5>
<p class="card-text">
{{path.description}}
</p>
</div>
<div class="card-footer">
{% for tag in path.tags %}
<span class="label label-default tutorial_tag" style="{{ tag | colour_tag }}">{{ tag }}</span>
{% endfor %}
</div>
</div>
</div>

{% for path in pathways_science %}

{% include _includes/pathway-card.html path=path %}

{% endfor %}

</div>


## For Teachers, Developers and System Administrators

<!-- list all available pathways as cards -->
<div class="pathwaylist row">

{% for path in pathways_other %}

{% include _includes/pathway-card.html path=path %}

{% endfor %}

</div>
1 change: 1 addition & 0 deletions learning-pathways/intro-to-galaxy-and-ecology.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: learning-pathway
tags: [beginner]
type: use

maintainers:
- yvanlebras
Expand Down
1 change: 1 addition & 0 deletions learning-pathways/intro-to-galaxy-and-genomics.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: learning-pathway
tags: [beginner]
type: use

maintainers:
- shiltemann
Expand Down
1 change: 1 addition & 0 deletions learning-pathways/intro-to-r-and-ml.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: learning-pathway
tags: [beginner]
type: use

maintainers:
- fpsom
Expand Down
9 changes: 5 additions & 4 deletions learning-pathways/metagenomics.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: learning-pathway # (uncomment this line to activate it)
type: use

maintainers:
- bebatut
Expand Down Expand Up @@ -54,7 +55,7 @@ pathway:
description: |
This module covers the following questions:
- Which species (or genera, families, ...) are present in my sample?
- What are the different approaches and tools to get the community profile of my sample?
- What are the different approaches and tools to get the community profile of my sample?
- How can we visualize and compare community profiles?
This module will cover taxonomic profiling in theory and also with an example tutorial.
Expand All @@ -67,15 +68,15 @@ pathway:
#description: Application tutorial

#- section: "Module 6: Taxonomic binning"
# description:
# description:
#
# tutorials:
# - name: learner_participation_engagement
# topic: metagenomics


#- section: "Module 7: Community Biodiversity"
# description:
# description:
#
# tutorials:
# - name: learner_participation_engagement
Expand Down
2 changes: 2 additions & 0 deletions learning-pathways/pathway-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ description: |
Description of the pathway. What will be covered, what are the learning objectives, etc?
Make this as thorough as possible, 1-2 paragraphs. This appears on the index page that
lists all the learning paths, and at the top of the pathway page
type: use # 'use' for science topics, or admin-dev or instructors
tags: [some, keywords, here ]

cover-image: assets/images/gat.png # optional, define your own cover image for the pathway index page, default is the GTN logo
Expand Down
1 change: 1 addition & 0 deletions learning-pathways/train-the-trainers.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: learning-pathway # (uncomment this line to activate it)
type: instructors

title: Train the Trainers
description: |
Expand Down

0 comments on commit c3f7a9f

Please sign in to comment.