Skip to content

Commit

Permalink
Merge pull request #321 from DendrouLab/deevdevil88-patch-3
Browse files Browse the repository at this point in the history
Add Run option params LISI and SCIB metrics for pipeline_integration.py
  • Loading branch information
bio-la authored Nov 27, 2024
2 parents b3c3262 + 9462f9c commit d32952e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
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

0 comments on commit d32952e

Please sign in to comment.