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 fc5b18d
Show file tree
Hide file tree
Showing 5 changed files with 1,603 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,212 @@
- doc: Test outline for mRNA-Seq-BY-COVID-Pipeline-Analysis
job:
factordata:
class: File
location: https://zenodo.org/records/10405036/files/factordata.tabular
filetype: tabular
'featureCounts: Counts':
class: Collection
collection_type: list
elements:
- class: File
identifier: SRR15462516
location: https://zenodo.org/records/10405036/files/SRR15462516.featureCounts.tabular
- class: File
identifier: SRR15462517
location: https://zenodo.org/records/10405036/files/SRR15462517.featureCounts.tabular
- class: File
identifier: SRR15462518
location: https://zenodo.org/records/10405036/files/SRR15462518.featureCounts.tabular
- class: File
identifier: SRR15462519
location: https://zenodo.org/records/10405036/files/SRR15462519.featureCounts.tabular
- class: File
identifier: SRR15462520
location: https://zenodo.org/records/10405036/files/SRR15462520.featureCounts.tabular
- class: File
identifier: SRR15462521
location: https://zenodo.org/records/10405036/files/SRR15462521.featureCounts.tabular
- class: File
identifier: SRR15462522
location: https://zenodo.org/records/10405036/files/SRR15462522.featureCounts.tabular
- class: File
identifier: SRR15462523
location: https://zenodo.org/records/10405036/files/SRR15462523.featureCounts.tabular
- class: File
identifier: SRR15462524
location: https://zenodo.org/records/10405036/files/SRR15462524.featureCounts.tabular
- class: File
identifier: SRR15462525
location: https://zenodo.org/records/10405036/files/SRR15462525.featureCounts.tabular
- class: File
identifier: SRR15462526
location: https://zenodo.org/records/10405036/files/SRR15462526.featureCounts.tabular
- class: File
identifier: SRR15462527
location: https://zenodo.org/records/10405036/files/SRR15462527.featureCounts.tabular
- class: File
identifier: SRR15462528
location: https://zenodo.org/records/10405036/files/SRR15462528.featureCounts.tabular
- class: File
identifier: SRR15462529
location: https://zenodo.org/records/10405036/files/SRR15462529.featureCounts.tabular
- class: File
identifier: SRR15462530
location: https://zenodo.org/records/10405036/files/SRR15462530.featureCounts.tabular
- class: File
identifier: SRR16681520
location: https://zenodo.org/records/10405036/files/SRR16681520.featureCounts.tabular
- class: File
identifier: SRR16681521
location: https://zenodo.org/records/10405036/files/SRR16681521.featureCounts.tabular
- class: File
identifier: SRR16681522
location: https://zenodo.org/records/10405036/files/SRR16681522.featureCounts.tabular
- class: File
identifier: SRR16681523
location: https://zenodo.org/records/10405036/files/SRR16681523.featureCounts.tabular
- class: File
identifier: SRR16681524
location: https://zenodo.org/records/10405036/files/SRR16681524.featureCounts.tabular
- class: File
identifier: SRR16681525
location: https://zenodo.org/records/10405036/files/SRR16681525.featureCounts.tabular
- class: File
identifier: SRR16681526
location: https://zenodo.org/records/10405036/files/SRR16681526.featureCounts.tabular
- class: File
identifier: SRR16681527
location: https://zenodo.org/records/10405036/files/SRR16681527.featureCounts.tabular
- class: File
identifier: SRR16681528
location: https://zenodo.org/records/10405036/files/SRR16681528.featureCounts.tabular
- class: File
identifier: SRR16681529
location: https://zenodo.org/records/10405036/files/SRR16681529.featureCounts.tabular
- class: File
identifier: SRR16681530
location: https://zenodo.org/records/10405036/files/SRR16681530.featureCounts.tabular
- class: File
identifier: SRR16681531
location: https://zenodo.org/records/10405036/files/SRR16681531.featureCounts.tabular
- class: File
identifier: SRR16681532
location: https://zenodo.org/records/10405036/files/SRR16681532.featureCounts.tabular
- class: File
identifier: SRR16681533
location: https://zenodo.org/records/10405036/files/SRR16681533.featureCounts.tabular
- class: File
identifier: SRR16681534
location: https://zenodo.org/records/10405036/files/SRR16681534.featureCounts.tabular
- class: File
identifier: SRR16681535
location: https://zenodo.org/records/10405036/files/SRR16681535.featureCounts.tabular
- class: File
identifier: SRR16681536
location: https://zenodo.org/records/10405036/files/SRR16681536.featureCounts.tabular
- class: File
identifier: SRR16681537
location: https://zenodo.org/records/10405036/files/SRR16681537.featureCounts.tabular
- class: File
identifier: SRR16681538
location: https://zenodo.org/records/10405036/files/SRR16681538.featureCounts.tabular
- class: File
identifier: SRR16681539
location: https://zenodo.org/records/10405036/files/SRR16681539.featureCounts.tabular
- class: File
identifier: SRR16681540
location: https://zenodo.org/records/10405036/files/SRR16681540.featureCounts.tabular
- class: File
identifier: SRR16681541
location: https://zenodo.org/records/10405036/files/SRR16681541.featureCounts.tabular
- class: File
identifier: SRR16681542
location: https://zenodo.org/records/10405036/files/SRR16681542.featureCounts.tabular
- class: File
identifier: SRR16681543
location: https://zenodo.org/records/10405036/files/SRR16681543.featureCounts.tabular
- class: File
identifier: SRR16681544
location: https://zenodo.org/records/10405036/files/SRR16681544.featureCounts.tabular
- class: File
identifier: SRR16681545
location: https://zenodo.org/records/10405036/files/SRR16681545.featureCounts.tabular
- class: File
identifier: SRR16681546
location: https://zenodo.org/records/10405036/files/SRR16681546.featureCounts.tabular
- class: File
identifier: SRR16681547
location: https://zenodo.org/records/10405036/files/SRR16681547.featureCounts.tabular
- class: File
identifier: SRR16681548
location: https://zenodo.org/records/10405036/files/SRR16681548.featureCounts.tabular
- class: File
identifier: SRR16681549
location: https://zenodo.org/records/10405036/files/SRR16681549.featureCounts.tabular
- class: File
identifier: SRR16681550
location: https://zenodo.org/records/10405036/files/SRR16681550.featureCounts.tabular
- class: File
identifier: SRR16681551
location: https://zenodo.org/records/10405036/files/SRR16681551.featureCounts.tabular
- class: File
identifier: SRR16681552
location: https://zenodo.org/records/10405036/files/SRR16681552.featureCounts.tabular
- class: File
identifier: SRR16681553
location: https://zenodo.org/records/10405036/files/SRR16681553.featureCounts.tabular
- class: File
identifier: SRR16681554
location: https://zenodo.org/records/10405036/files/SRR16681554.featureCounts.tabular
- class: File
identifier: SRR16681555
location: https://zenodo.org/records/10405036/files/SRR16681555.featureCounts.tabular
- class: File
identifier: SRR16681556
location: https://zenodo.org/records/10405036/files/SRR16681556.featureCounts.tabular
- class: File
identifier: SRR16681557
location: https://zenodo.org/records/10405036/files/SRR16681557.featureCounts.tabular
- class: File
identifier: SRR16681558
location: https://zenodo.org/records/10405036/files/SRR16681558.featureCounts.tabular
- class: File
identifier: SRR16681559
location: https://zenodo.org/records/10405036/files/SRR16681559.featureCounts.tabular
- class: File
identifier: SRR16681560
location: https://zenodo.org/records/10405036/files/SRR16681560.featureCounts.tabular
- class: File
identifier: SRR16681561
location: https://zenodo.org/records/10405036/files/SRR16681561.featureCounts.tabular
- class: File
identifier: SRR16681562
location: https://zenodo.org/records/10405036/files/SRR16681562.featureCounts.tabular
- class: File
identifier: SRR16681563
location: https://zenodo.org/records/10405036/files/SRR16681563.featureCounts.tabular
- class: File
identifier: SRR16681564
location: https://zenodo.org/records/10405036/files/SRR16681564.featureCounts.tabular
- class: File
identifier: SRR16681565
location: https://zenodo.org/records/10405036/files/SRR16681565.featureCounts.tabular
- class: File
identifier: SRR16681566
location: https://zenodo.org/records/10405036/files/SRR16681566.featureCounts.tabular
'featureCounts: Lengths':
class: Collection
collection_type: list
elements:
- class: File
identifier: gene_lengths
location: https://zenodo.org/records/10405036/files/gene_lengths.tabular
outputs:
count_data:
asserts:
has_text:
text: "SRR15462519"
minerva_table:
asserts:
has_text:
text: "TRIM25"
Loading

0 comments on commit fc5b18d

Please sign in to comment.