Skip to content

Commit

Permalink
cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed Dec 19, 2023
1 parent 1eb8c39 commit 5056aa4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
14 changes: 13 additions & 1 deletion _plugins/jekyll-topic-filter.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# frozen_string_literal: true

require 'json'
require 'yaml'
require './_plugins/gtn'
Expand Down Expand Up @@ -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

Expand Down
17 changes: 9 additions & 8 deletions topics/transcriptomics/tutorials/minerva-pathways/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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)

Expand All @@ -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

> <hands-on-title>Run the Workflow</hands-on-title>
>
> 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}

Expand Down Expand Up @@ -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}

Expand All @@ -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}

Expand Down

0 comments on commit 5056aa4

Please sign in to comment.