-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #380 from nf-core/update_local_modules
Update local modules
- Loading branch information
Showing
21 changed files
with
401 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
channels: | ||
- conda-forge | ||
- bioconda | ||
|
||
dependencies: | ||
- conda-forge::gawk=5.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: tabular_to_gsea_chip | ||
description: Convert tabular data into GSEA-compatible CHIP files. | ||
keywords: | ||
- GSEA | ||
- CHIP | ||
- Bioinformatics | ||
tools: | ||
- gawk: | ||
description: | | ||
GNU Awk (gawk) is a powerful programming language designed for text processing and typically used as a data extraction and reporting tool. | ||
It is used here to manipulate tabular data and create the CHIP file format. | ||
homepage: https://www.gnu.org/software/gawk/ | ||
documentation: https://www.gnu.org/software/gawk/manual/ | ||
licence: ["GPL-3.0-or-later"] | ||
input: | ||
- tsv: | ||
type: file | ||
description: | | ||
Tab-separated values (TSV) file containing data to be converted into a CHIP file. | ||
- - id: | ||
type: string | ||
description: | | ||
Feature ID attribute in the abundance table as well as in the GTF file (e.g. the gene_id field). | ||
- symbol: | ||
type: string | ||
description: | | ||
Feature name attribute in the abundance table as well as in the GTF file (e.g. the gene symbol field). | ||
output: | ||
- chip: | ||
type: file | ||
description: Generated GSEA-compatible CHIP file. | ||
pattern: "*.chip" | ||
- versions: | ||
- versions.yml: | ||
type: file | ||
description: File containing software versions | ||
pattern: "versions.yml" | ||
authors: | ||
- "@pinin4fjords" # Replace with actual author handles | ||
maintainers: | ||
- "@nschcolnicov" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
nextflow_process { | ||
|
||
name "Test Process TABULAR_TO_GSEA_CHIP" | ||
script "../main.nf" | ||
process "TABULAR_TO_GSEA_CHIP" | ||
tag "modules" | ||
tag "modules_nfcore" | ||
tag "tabular_to_gsea_chip" | ||
|
||
test("test_tabular_to_gsea_chip") { | ||
|
||
when { | ||
process { | ||
""" | ||
input[0] = Channel.fromPath("https://raw.githubusercontent.com/nf-core/test-datasets/refs/heads/differentialabundance/modules_testdata/Mus_musculus.anno.feature_metadata.tsv") | ||
input[1] = ["gene_id", "gene_name"] | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assertAll ( | ||
{ assert process.success }, | ||
{ assert snapshot(process.out).match() }, | ||
) | ||
} | ||
} | ||
|
||
test("test_tabular_to_gsea_chip - stub") { | ||
|
||
options "-stub" | ||
|
||
when { | ||
process { | ||
""" | ||
input[0] = Channel.fromPath("https://raw.githubusercontent.com/nf-core/test-datasets/refs/heads/differentialabundance/modules_testdata/Mus_musculus.anno.feature_metadata.tsv") | ||
input[1] = ["gene_id", "gene_name"] | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assertAll ( | ||
{ assert process.success }, | ||
{ assert snapshot(process.out).match() }, | ||
) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"test_tabular_to_gsea_chip - stub": { | ||
"content": [ | ||
{ | ||
"0": [ | ||
"stub.chip:md5,d41d8cd98f00b204e9800998ecf8427e" | ||
], | ||
"1": [ | ||
"versions.yml:md5,a422b1a01e86be433a25d1776d497f5a" | ||
], | ||
"chip": [ | ||
"stub.chip:md5,d41d8cd98f00b204e9800998ecf8427e" | ||
], | ||
"versions": [ | ||
"versions.yml:md5,a422b1a01e86be433a25d1776d497f5a" | ||
] | ||
} | ||
], | ||
"meta": { | ||
"nf-test": "0.9.0", | ||
"nextflow": "24.10.2" | ||
}, | ||
"timestamp": "2024-12-06T21:03:06.781994447" | ||
}, | ||
"test_tabular_to_gsea_chip": { | ||
"content": [ | ||
{ | ||
"0": [ | ||
"Mus_musculus.anno.feature_metadata.chip:md5,5abf60bb982bb2ff5b8b3e37f14a21e4" | ||
], | ||
"1": [ | ||
"versions.yml:md5,a422b1a01e86be433a25d1776d497f5a" | ||
], | ||
"chip": [ | ||
"Mus_musculus.anno.feature_metadata.chip:md5,5abf60bb982bb2ff5b8b3e37f14a21e4" | ||
], | ||
"versions": [ | ||
"versions.yml:md5,a422b1a01e86be433a25d1776d497f5a" | ||
] | ||
} | ||
], | ||
"meta": { | ||
"nf-test": "0.9.0", | ||
"nextflow": "24.10.2" | ||
}, | ||
"timestamp": "2024-12-06T21:02:58.608468636" | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
modules/nf-core/custom/filterdifferentialtable/environment.yml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.