Skip to content

Commit

Permalink
Merge pull request #5583 from nomadscientist/single-cell-my-layout
Browse files Browse the repository at this point in the history
Update single-cell topic layout and content
  • Loading branch information
nomadscientist authored Dec 4, 2024
2 parents 4aec785 + 3d10cf8 commit 2a55341
Showing 4 changed files with 41 additions and 9 deletions.
14 changes: 14 additions & 0 deletions _layouts/topic.html
Original file line number Diff line number Diff line change
@@ -45,6 +45,20 @@ <h3 style="margin: unset;">Not sure where to start?</h3>
{% endif %}

<h2 id="material">Material</h2>

{% if topic.toc %}
<p>
<blockquote class="agenda">
<div class="box-title agenda-title" id="agenda">Jump to a section!</div>
<ul class="markdown-toc">
{% for subtopic in topic_material %}
<li><a href="#st-{{ subtopic[0] | slugify }}">{{subtopic[1].subtopic.title}}</a></li>
{% endfor %}
</ul>
</blockquote>
</p>
{% endif %}

<i>You can view the tutorial materials in different languages by clicking the dropdown icon next to the slides ({% icon slides %}) and tutorial ({% icon tutorial %}) buttons below. </i>

{% if topic.draft %}
7 changes: 6 additions & 1 deletion bin/schema-topic.yaml
Original file line number Diff line number Diff line change
@@ -66,6 +66,11 @@ mapping:
The image ID for an image which contains all of the tools and data for this topic.
_examples:
- quay.io/galaxy/sequence-analysis-training
toc:
type: bool
required: false
description:
For large topics with many subtopics, set this to true to generate a table of contents above the tutorial table to support quickly jumping to a subtopic.
subtopics:
type: seq
required: false
@@ -219,7 +224,7 @@ mapping:
type: str
description: |
The alt text for the logo (MANDATORY).
learning_path_cta:
learning_path_cta:
type: str
description: |
The specific learning path you wish to reference as a call-to-action for views who aren't sure where to get started.
15 changes: 12 additions & 3 deletions topics/single-cell/index.md
Original file line number Diff line number Diff line change
@@ -7,9 +7,18 @@ topic_name: single-cell

## Want to explore analysis beyond our tutorials?

Check out workflows shared by users like you!

<iframe src="https://training.galaxyproject.org/training-material/workflows/embed.html?query=single-cell" height="600px" width="100%" class="gtn-embed" frameborder="0"></iframe>
<div class="row">
<div class="col-md-6 mb-4">
<!-- First Column: Workflows -->
<h3 class="mb-3">Public workflows</h3>
<iframe src="https://training.galaxyproject.org/training-material/workflows/embed.html?query=single-cell" height="600px" width="100%" class="gtn-embed" frameborder="1"></iframe>
</div>
<!-- Second Column: News and Events -->
<div class="col-md-6 mb-4">
<h3 class="mb-3">News and Events</h3>
<iframe width="100%" height="600px" src="https://training.galaxyproject.org/training-material/feeds/single-cell-month.w.html"></iframe>
</div>
</div>

## Want to contribute?

14 changes: 9 additions & 5 deletions topics/single-cell/metadata.yaml
Original file line number Diff line number Diff line change
@@ -3,15 +3,17 @@ name: single-cell
type: use
topic_type: technology
title: Single Cell

learning_path_cta: intro_single_cell
gitter: Galaxy-Training-Network_galaxy-single-cell:gitter.im

summary: |
Training material and practicals for all kinds of single cell analysis (particularly scRNA-seq!). When you generate your lovely gene lists for your cells, consider checking out our Transcriptomics tutorials for further network analysis!
Training material and practicals for all kinds of single cell analysis (particularly scRNA-seq!).
What else do you want to see? You can submit tool and/or tutorial request on our <i class="fa fa-wrench" aria-hidden="true"></i> [Single Cell Community Tool Request Spreadsheet](https://docs.google.com/spreadsheets/d/15hqgqA-RMDhXR-ylKhRF-Dab9Ij2arYSKiEVoPl2df4/edit?usp=sharing).
What else do you want to see? You can submit tool or tutorial requests, or upvote other requests, on our <i class="fa fa-wrench" aria-hidden="true"></i> [Single-Cell & Spatial Omics Tool Request Spreadsheet](https://docs.google.com/spreadsheets/d/15hqgqA-RMDhXR-ylKhRF-Dab9Ij2arYSKiEVoPl2df4/edit?usp=sharing).
{: .alert.alert-success}
#docker_image: "quay.io/galaxy/transcriptomics-training"
learning_path_cta: intro_single_cell
gitter: Galaxy-Training-Network_galaxy-single-cell:gitter.im
#docker_image: "quay.io/galaxy/transcriptomics-training"

requirements:
-
@@ -23,6 +25,7 @@ editorial_board:
- mtekman
- pavanvidem

toc: true # create table of contents for the subtopics
subtopics:
- id: scintroduction
title: "Introduction"
@@ -68,3 +71,4 @@ references:
title: "User-friendly, scalable tools and workflows for single-cell RNA-seq analysis"
link: "https://www.nature.com/articles/s41592-021-01102-w"
summary: ""

0 comments on commit 2a55341

Please sign in to comment.