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

Add Run option params LISI and SCIB metrics for pipeline_integration.py #321

Merged
merged 3 commits into from
Nov 27, 2024
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
2 changes: 2 additions & 0 deletions panpipes/panpipes/pipeline_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,7 @@ def plot_umaps(infile, outfile):

#this can follow now any mtd generation, but it will collate only RNA jobs for lisi
@follows(collate_integration_outputs)
@active_if(PARAMS['lisi_run'])
@transform(collate_integration_outputs,
formatter(), 'logs/7_lisi.log')
def run_lisi(infile, outfile):
Expand All @@ -834,6 +835,7 @@ def run_lisi(infile, outfile):


@follows(collate_integration_outputs)
@active_if(PARAMS['scib_run'])
@transform(collate_integration_outputs, formatter(), 'logs/scib.log')
def run_scib_metrics(infile, outfile):
cell_mtd_file = sprefix + "_cell_mtd.csv"
Expand Down
6 changes: 6 additions & 0 deletions panpipes/panpipes/pipeline_integration/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,18 @@ plotqc:
atac:
multimodal: rna:total_counts

#-------------
# LISI metrics
#-------------
lisi:
run: True

#-------------
# scib metrics
#-------------
#Obs columns containing the cell type labels
scib:
run: True
rna:
prot:
atac:
Expand Down
Loading