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

Revert "add paths in output directive in cellranger cout module" #5306

Merged
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
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.

Loading