Skip to content
Draft
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion modules/nf-core/doubletdetection/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ process DOUBLETDETECTION {
output:
tuple val(meta), path("*.h5ad"), emit: h5ad
tuple val(meta), path("*.pkl") , emit: predictions
path "versions.yml" , emit: versions
path "versions.yml" , emit: versions_doubletdetection, topic: versions

when:
task.ext.when == null || task.ext.when
Expand Down
17 changes: 10 additions & 7 deletions modules/nf-core/doubletdetection/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,19 @@ tools:
description: "Doublet detection in single-cell RNA-seq data"
tool_dev_url: "https://github.com/JonathanShor/DoubletDetection"
doi: "10.5281/zenodo.6349517"
licence: ["MIT"]
licence:
- "MIT"
identifier: biotools:DoubletDetection

input:
- - meta:
type: map
description: |
Groovy Map containing sample information
e.g. `[ id:'sample1', single_end:false ]`

- h5ad:
type: file
description: H5AD anndata object
pattern: "*.h5ad"

ontologies: []
output:
h5ad:
Expand All @@ -36,7 +34,6 @@ output:
type: file
description: H5AD anndata object
pattern: "*.h5ad"

ontologies: []
predictions:
- - meta:
Expand All @@ -48,14 +45,20 @@ output:
type: file
description: pandas dataframe containing the doublet classification
pattern: "*.pkl"

ontologies: []
versions_doubletdetection:
- versions.yml:
type: file
description: File containing software versions
pattern: "versions.yml"
ontologies:
- edam: http://edamontology.org/format_3750 # YAML
topics:
versions:
- versions.yml:
type: file
description: File containing software versions
pattern: "versions.yml"

ontologies:
- edam: http://edamontology.org/format_3750 # YAML
authors:
Expand Down
2 changes: 1 addition & 1 deletion modules/nf-core/doubletdetection/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ nextflow_process {
{ assert path(process.out.predictions.get(0).get(1)).exists() },

{ assert snapshot(
process.out.versions,
process.out.versions_doubletdetection,
path(process.out.h5ad.get(0).get(1)).size(),
path(process.out.predictions.get(0).get(1)).size()
).match() }
Expand Down
18 changes: 9 additions & 9 deletions modules/nf-core/doubletdetection/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
3262106,
148146
],
"timestamp": "2025-06-04T08:46:46.020919053",
"meta": {
"nf-test": "0.9.2",
"nextflow": "24.10.4"
},
"timestamp": "2025-06-04T08:46:46.020919053"
}
},
"scdownstream - h5ad - stub": {
"content": [
Expand All @@ -33,7 +33,7 @@
]
],
"2": [
"versions.yml:md5,3ed20fc4bca7372f427cb84f3e689992"
"versions.yml:md5,a804c82a9b0295aa4b1206a1f63e1e75"
],
"h5ad": [
[
Expand All @@ -51,15 +51,15 @@
"test.pkl:md5,d41d8cd98f00b204e9800998ecf8427e"
]
],
"versions": [
"versions.yml:md5,3ed20fc4bca7372f427cb84f3e689992"
"versions_doubletdetection": [
"versions.yml:md5,a804c82a9b0295aa4b1206a1f63e1e75"
]
}
],
"timestamp": "2026-03-13T13:13:34.562223845",
"meta": {
"nf-test": "0.9.2",
"nextflow": "24.10.4"
},
"timestamp": "2025-06-04T08:46:53.835580091"
"nf-test": "0.9.4",
"nextflow": "25.10.4"
}
}
}
Loading