Skip to content

Commit

Permalink
Revert "add paths in output directive in cellranger cout module" (nf-…
Browse files Browse the repository at this point in the history
…core#5306)

Revert "add paths in output directive in cellranger cout module (nf-core#5108)"

This reverts commit 92ca535.
  • Loading branch information
fmalmeida authored and Alexander Nater committed Mar 21, 2024
1 parent d0f8995 commit fb889a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 66 deletions.
10 changes: 2 additions & 8 deletions modules/nf-core/cellranger/count/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ process CELLRANGER_COUNT {
path reference

output:
tuple val(meta), path("**/outs/**") , emit: outs
tuple val(meta), path("**/outs/filtered_feature_bc_matrix**"), emit: filtered
tuple val(meta), path("**/outs/raw_feature_bc_matrix**") , emit: raw
path "versions.yml" , emit: versions
tuple val(meta), path("**/outs/**"), emit: outs
path "versions.yml" , emit: versions

when:
task.ext.when == null || task.ext.when
Expand All @@ -34,11 +32,7 @@ process CELLRANGER_COUNT {
def prefix = task.ext.prefix ?: "${meta.id}"
"""
mkdir -p "${prefix}/outs/"
mkdir -p "${prefix}/outs/filtered_feature_bc_matrix"
mkdir -p "${prefix}/outs/raw_feature_bc_matrix"
echo "$prefix" > ${prefix}/outs/fake_file.txt
echo "$prefix" > ${prefix}/outs/filtered_feature_bc_matrix/fake_file.txt
echo "$prefix" > ${prefix}/outs/raw_feature_bc_matrix/fake_file.txt
cat <<-END_VERSIONS > versions.yml
"${task.process}":
Expand Down
8 changes: 0 additions & 8 deletions modules/nf-core/cellranger/count/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ output:
type: file
description: Files containing the outputs of Cell Ranger, see official 10X Genomics documentation for a complete list
pattern: "${meta.id}/outs/*"
- filtered:
type: file
description: Files containing the filtered outputs of Cell Ranger.
pattern: "**/outs/filtered_feature_bc_matrix**"
- raw:
type: file
description: Files containing the raw outputs of Cell Ranger.
pattern: "**/outs/raw_feature_bc_matrix**"
- versions:
type: file
description: File containing software version
Expand Down
52 changes: 2 additions & 50 deletions modules/nf-core/cellranger/count/tests/main.nf.test.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fb889a1

Please sign in to comment.