From 5056aa4731c3b4878e48e3ed1abf65233739e036 Mon Sep 17 00:00:00 2001 From: Helena Rasche Date: Tue, 19 Dec 2023 12:46:27 +0100 Subject: [PATCH] cleanups --- _plugins/jekyll-topic-filter.rb | 14 +++++++++++++- .../tutorials/minerva-pathways/tutorial.md | 17 +++++++++-------- 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/_plugins/jekyll-topic-filter.rb b/_plugins/jekyll-topic-filter.rb index b06bd330bc1dde..ee1603db493ce8 100644 --- a/_plugins/jekyll-topic-filter.rb +++ b/_plugins/jekyll-topic-filter.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true - require 'json' require 'yaml' require './_plugins/gtn' @@ -963,6 +962,19 @@ def identify_contributors(materials, site) def identify_funders(materials, site) TopicFilter.identify_funders(materials, site) end + + def to_material(site, page) + topic = page['path'].split('/')[1] + material = page['path'].split('/')[3] + ret = TopicFilter.fetch_tutorial_material(site, topic, material) + Jekyll.logger.warning "Could not find material #{topic} #{material}" if ret.nil? + ret + end + + def get_workflow(site, page, workflow) + mat = self.to_material(site, page) + mat['workflows'].select{|w| w['workflow'] == workflow }[0] + end end end diff --git a/topics/transcriptomics/tutorials/minerva-pathways/tutorial.md b/topics/transcriptomics/tutorials/minerva-pathways/tutorial.md index 0383dd41b0cc68..b3bfda5e03e1f9 100644 --- a/topics/transcriptomics/tutorials/minerva-pathways/tutorial.md +++ b/topics/transcriptomics/tutorials/minerva-pathways/tutorial.md @@ -142,8 +142,6 @@ work. > {: .hands_on} -## Data Download - ## Analysis We have split this workflow into two parts, based only on how long the first portion of the workflow takes to execute. The rough runtime of the workflow portions when this was being developed can be broken down as follows: @@ -161,7 +159,7 @@ As such we recommend you skip to [Limma](#limma) to progress to the efficient portion. The data provided in the Zenodo record is from the entire analysis, analysed with the Counts step that can be skipped: -### Counts +### Data Download We'll start by downloading our fastq files from the [GEO Dataset GSE182152](https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE182152) @@ -182,13 +180,16 @@ We'll start by downloading our fastq files from the [GEO Dataset GSE182152](http > {: .hands_on} +### Counts + + With that done, we can start to analyse the data using HISAT2 and featureCounts > Run the Workflow > > 1. **Import the workflow** into Galaxy > -> {% snippet faqs/galaxy/workflows_run_wfh.md title="mRNA-Seq BY-COVID Pipeline" wfhub_id="688" %} +> {% snippet faqs/galaxy/workflows_run_wfh.md title="mRNA-Seq BY-COVID Pipeline" wfhub_id="688" box_type="none" %} > {: .hands_on} @@ -273,9 +274,9 @@ MultiQC report. Looking at the report we see generally reasonable quality data. > - Click `Build` > > 1. From **Rules** menu, select `Add / Modify Column Definitions` -> - `Add Definition`, `Collection Name`, Select Column `C` -> - `Add Definition`, `List Identifier(s)`, Select Column `B` -> - `Add Definition`, `URL`, Column `A` +> - `Add Definition` → `Collection Name` → Select Column `C` +> - `Add Definition` → `List Identifier(s)` → Select Column `B` +> - `Add Definition` → `URL` → Column `A` > {: .hands_on} @@ -284,7 +285,7 @@ MultiQC report. Looking at the report we see generally reasonable quality data. > > 1. Run the workflow with the Factor Data from the first Hands on, and the datasets from the workflow or Zenodo download, depending on your path: > -> {% snippet faqs/galaxy/workflows_run_wfh.md title="mRNA-Seq BY-COVID Pipeline" wfhub_id="689" %} +> {% snippet faqs/galaxy/workflows_run_wfh.md title="mRNA-Seq BY-COVID Pipeline" wfhub_id="689" box_type="none" %} > {: .hands_on}