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

Small code fixes in panpipes_ingest #144

Merged
merged 2 commits into from
Nov 29, 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 panpipes/panpipes/pipeline_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ def concat_bg_mudatas(infiles, outfile):

def orfile():
return PARAMS['sample_prefix'] + "_cell_metadata.tsv"
@active_if(PARAMS["scr_run"])
@active_if(PARAMS['modalities_rna'])
@active_if(PARAMS["use_existing_h5mu"] is False)
@follows(mkdir("scrublet"))
Expand Down
2 changes: 2 additions & 0 deletions panpipes/python_scripts/run_scanpyQC_rna.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@

L.info("calculated scores and metrics")

mdata.update()

L.info("saving anndata and obs in a metadata tsv file")
write_obs(mdata, output_prefix=args.sampleprefix,
output_suffix="_cell_metadata.tsv")
Expand Down