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

Make Bleeding Correction Optional in Visium10x Pipeline #133

Merged
merged 1 commit into from
Dec 21, 2023
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
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_build/
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,19 @@ workflow BAYESTME_BASIC_VISIUM_ANALYSIS {

BAYESTME_FILTER_GENES( filter_genes_input )

BAYESTME_BLEEDING_CORRECTION( BAYESTME_FILTER_GENES.out.adata_filtered )

deconvolution_input = BAYESTME_BLEEDING_CORRECTION.out.adata_corrected
.join( ch_input.map { tuple(it[0], it[2]) } )
.map { tuple(it[0], it[1], it[2], 1000.0, []) }
def deconvolution_input = null

if (params.bleeding_correction) {
BAYESTME_BLEEDING_CORRECTION( BAYESTME_FILTER_GENES.out.adata_filtered )

deconvolution_input = BAYESTME_BLEEDING_CORRECTION.out.adata_corrected
.join( ch_input.map { tuple(it[0], it[2]) } )
.map { tuple(it[0], it[1], it[2], 1000.0, []) }
} else {
deconvolution_input = BAYESTME_FILTER_GENES.out.adata_filtered
.join( ch_input.map { tuple(it[0], it[2]) } )
.map { tuple(it[0], it[1], it[2], 1000.0, []) }
}

BAYESTME_DECONVOLUTION( deconvolution_input )

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
- name: bayestme_basic_visium_analysis
command: nextflow run ./nextflow/tests/subworkflows/bayestme/bayestme_basic_visium_analysis -queue-size 1 -entry bayestme_basic_visium_analysis -c ./nextflow/tests/subworkflows/bayestme/bayestme_basic_visium_analysis/nextflow.config -c ./nextflow/tests/config/nextflow.config
command: nextflow run ./nextflow/tests/subworkflows/bayestme/bayestme_basic_visium_analysis -queue-size 1 -entry bayestme_basic_visium_analysis -c ./nextflow/tests/subworkflows/bayestme/bayestme_basic_visium_analysis/nextflow.config -c ./nextflow/tests/config/nextflow.config --bleeding_correction true
tags:
- bayestme_basic_visium_analysis
files: []
- name: bayestme_basic_visium_analysis_skip_bleeding
command: nextflow run ./nextflow/tests/subworkflows/bayestme/bayestme_basic_visium_analysis -queue-size 1 -entry bayestme_basic_visium_analysis -c ./nextflow/tests/subworkflows/bayestme/bayestme_basic_visium_analysis/nextflow.config -c ./nextflow/tests/config/nextflow.config --bleeding_correction false
tags:
- bayestme_basic_visium_analysis
files: []
Loading