Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update module propr/grea #7198

Merged
merged 13 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion modules/nf-core/propr/grea/environment.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
channels:
- conda-forge
- bioconda

dependencies:
- conda-forge::r-propr=5.0.4
- bioconda::bioconductor-limma=3.58.1
- conda-forge::r-propr=5.1.5
14 changes: 7 additions & 7 deletions modules/nf-core/propr/grea/main.nf
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
process PROPR_GREA {
tag "$meta.id"
label 'process_single'
label 'process_high'

conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/r-propr:5.0.4':
'biocontainers/r-propr:5.0.4' }"
'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/b6/b65f7192866fbd9a947df15b104808abb720e7a224bbe3ca8f7f8f680f52c97a/data' :
'community.wave.seqera.io/library/bioconductor-limma_r-propr:f52f1d4fea746393' }"

input:
tuple val(meta), path(adj)
tuple val(meta), path(adjacency)
tuple val(meta2), path(gmt)

output:
tuple val(meta), path("*.go.tsv"), emit: enrichedGO
path "versions.yml", emit: versions
path "*.R_sessionInfo.log", emit: session_info
tuple val(meta), path("*.grea.tsv"), emit: results
path "versions.yml", emit: versions
path "*.R_sessionInfo.log", emit: session_info

when:
task.ext.when == null || task.ext.when
Expand Down
42 changes: 26 additions & 16 deletions modules/nf-core/propr/grea/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
name: "propr_grea"
description: Perform Gene Ratio Enrichment Analysis
keywords:
- logratio
- differential
- propr
- grea
- enrichment
- expression
- logratio
- differential expression
- functional enrichment
- functional analysis
tools:
- "grea":
description: "Gene Ratio Enrichment Analysis"
Expand All @@ -21,34 +21,42 @@ input:
- - meta:
type: map
description: |
Groovy Map containing sample information.
Groovy Map containing data information.
This can be used at the workflow level to pass optional parameters to the module.
[id: 'test', ...]
- adj:
- adjacency:
type: file
description: adjacency matrix for gene ratio proportionality/differential proportionality
description: |
Adjacency matrix representing the graph connections (ie. 1 for edges, 0 otherwise).
This can be the adjacency matrix output from gene ratio approaches like propr/propd.
pattern: "*.{csv,tsv}"
- - meta2:
type: map
description: |
Groovy map containing study-wide metadata related to the knowledge database
Groovy Map containing data information.
This can be used at the workflow level to pass optional parameters to the module.
[id: 'test', ...]
- gmt:
type: file
description: relational database containing genes and GO terms (generated by
mygene module)
description: |
A tab delimited file format that describes gene sets. The first column is the
concept id (eg. GO term, pathway, etc), the second column is the concept description, and the
rest are nodes (eg. genes) that is associated to the given concept.
pattern: "*.{gmt}"
output:
- enrichedGO:
- results:
- meta:
type: map
type: file
description: |
Groovy Map containing sample information.
This can be used at the workflow level to pass optional parameters to the module.
[id: 'test', ...]
- "*.go.tsv":
- "*.grea.tsv":
type: file
description: File containing GO terms and their enrichment values
pattern: "*.{csv}"
description: |
Output file containing the information about the tested concepts (ie. gene sets)
and enrichment statistics.
pattern: "*.{tsv}"
suzannejin marked this conversation as resolved.
Show resolved Hide resolved
- versions:
- versions.yml:
type: file
Expand All @@ -57,9 +65,11 @@ output:
- session_info:
- "*.R_sessionInfo.log":
type: file
description: R session log
description: dump of R SessionInfo
pattern: "*.R_sessionInfo.log"
authors:
- "@caraiz2001"
- "@suzannejin"
maintainers:
- "@caraiz2001"
- "@suzannejin"
Loading
Loading