Skip to content

Commit eefcc7b

Browse files
Backport #913 to 2.0.x (#917)
1 parent da29d8c commit eefcc7b

File tree

786 files changed

+3550
-3534
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

786 files changed

+3550
-3534
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# openpipelines 2.0.0-rc.2
2+
3+
## MINOR CHANGES
4+
5+
* `dataflow/split_h5mu`: Optimize resource usage of the component (PR #917, backported from PR #913).
6+
17
# openpipelines 2.0.0-rc.1
28

39
## BREAKING CHANGES

src/dataflow/split_h5mu/script.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import mudata as mu
22
import pandas as pd
33
import re
4+
import gc
45
from pathlib import Path
56
from collections import defaultdict
67

@@ -100,6 +101,11 @@ def main():
100101
mdata_obs.mod[par["modality"]] = adata_obs
101102
mdata_obs.write_h5mu(output_dir / mdata_obs_name, compression=par["output_compression"])
102103

104+
# avoid keeping files in memory
105+
del mdata_obs
106+
del adata_obs
107+
gc.collect()
108+
103109
logger.info(f"Writing output_files CSV file to {par['output_files']}")
104110
df = pd.DataFrame({"name": obs_features_s, "filename": obs_files})
105111
df.to_csv(par["output_files"], index=False)

target/executable/annotate/celltypist/.config.vsh.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "celltypist"
22
namespace: "annotate"
3-
version: "2.0.0-rc.1"
3+
version: "2.0.0-rc.2"
44
authors:
55
- name: "Jakub Majercik"
66
roles:
@@ -394,9 +394,9 @@ build_info:
394394
output: "target/executable/annotate/celltypist"
395395
executable: "target/executable/annotate/celltypist/celltypist"
396396
viash_version: "0.9.0"
397-
git_commit: "f060d75d1633b6f25a83be2c483b393e08662673"
397+
git_commit: "686217bf7f7dadccb6d8a730b953d8124da01c58"
398398
git_remote: "https://github.com/openpipelines-bio/openpipeline"
399-
git_tag: "1.0.0-7-gf060d75d16"
399+
git_tag: "2.0.0-rc.1-1-g686217bf7f"
400400
package_config:
401401
name: "openpipeline"
402402
version: "dev"
@@ -413,7 +413,7 @@ package_config:
413413
.resources += {path: '/src/workflows/utils/labels.config', dest: 'nextflow_labels.config'}\n\
414414
.runners[.type == 'nextflow'].directives.tag := '$id'\n.runners[.type == 'nextflow'].config.script\
415415
\ := 'includeConfig(\"nextflow_labels.config\")'"
416-
- ".version := \"2.0.0-rc.1\""
416+
- ".version := \"2.0.0-rc.2\""
417417
- ".engines[.type == 'docker'].target_tag := '2.0.0-rc.1'"
418418
organization: "openpipelines-bio"
419419
links:

target/executable/annotate/celltypist/celltypist

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# celltypist 2.0.0-rc.1
3+
# celltypist 2.0.0-rc.2
44
#
55
# This wrapper script is auto-generated by viash 0.9.0 and is thus a derivative
66
# work thereof. This software comes with ABSOLUTELY NO WARRANTY from Data
@@ -175,7 +175,7 @@ VIASH_META_TEMP_DIR="$VIASH_TEMP"
175175

176176
# ViashHelp: Display helpful explanation about this executable
177177
function ViashHelp {
178-
echo "celltypist 2.0.0-rc.1"
178+
echo "celltypist 2.0.0-rc.2"
179179
echo ""
180180
echo "Automated cell type annotation tool for scRNA-seq datasets on the basis of"
181181
echo "logistic regression classifiers optimised by the stochastic gradient descent"
@@ -596,10 +596,10 @@ RUN pip install --upgrade pip && \
596596
597597
LABEL org.opencontainers.image.authors="Jakub Majercik, Weiwei Schultz"
598598
LABEL org.opencontainers.image.description="Companion container for running component annotate celltypist"
599-
LABEL org.opencontainers.image.created="2024-11-25T05:49:53Z"
599+
LABEL org.opencontainers.image.created="2024-11-27T14:19:07Z"
600600
LABEL org.opencontainers.image.source="https://github.com/openpipelines-bio/openpipeline"
601-
LABEL org.opencontainers.image.revision="f060d75d1633b6f25a83be2c483b393e08662673"
602-
LABEL org.opencontainers.image.version="2.0.0-rc.1"
601+
LABEL org.opencontainers.image.revision="686217bf7f7dadccb6d8a730b953d8124da01c58"
602+
LABEL org.opencontainers.image.version="2.0.0-rc.2"
603603
604604
VIASHDOCKER
605605
fi
@@ -735,7 +735,7 @@ while [[ $# -gt 0 ]]; do
735735
shift 1
736736
;;
737737
--version)
738-
echo "celltypist 2.0.0-rc.1"
738+
echo "celltypist 2.0.0-rc.2"
739739
exit
740740
;;
741741
--input)

target/executable/annotate/onclass/.config.vsh.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "onclass"
22
namespace: "annotate"
3-
version: "2.0.0-rc.1"
3+
version: "2.0.0-rc.2"
44
authors:
55
- name: "Jakub Majercik"
66
roles:
@@ -336,9 +336,9 @@ build_info:
336336
output: "target/executable/annotate/onclass"
337337
executable: "target/executable/annotate/onclass/onclass"
338338
viash_version: "0.9.0"
339-
git_commit: "f060d75d1633b6f25a83be2c483b393e08662673"
339+
git_commit: "686217bf7f7dadccb6d8a730b953d8124da01c58"
340340
git_remote: "https://github.com/openpipelines-bio/openpipeline"
341-
git_tag: "1.0.0-7-gf060d75d16"
341+
git_tag: "2.0.0-rc.1-1-g686217bf7f"
342342
package_config:
343343
name: "openpipeline"
344344
version: "dev"
@@ -355,7 +355,7 @@ package_config:
355355
.resources += {path: '/src/workflows/utils/labels.config', dest: 'nextflow_labels.config'}\n\
356356
.runners[.type == 'nextflow'].directives.tag := '$id'\n.runners[.type == 'nextflow'].config.script\
357357
\ := 'includeConfig(\"nextflow_labels.config\")'"
358-
- ".version := \"2.0.0-rc.1\""
358+
- ".version := \"2.0.0-rc.2\""
359359
- ".engines[.type == 'docker'].target_tag := '2.0.0-rc.1'"
360360
organization: "openpipelines-bio"
361361
links:

target/executable/annotate/onclass/onclass

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# onclass 2.0.0-rc.1
3+
# onclass 2.0.0-rc.2
44
#
55
# This wrapper script is auto-generated by viash 0.9.0 and is thus a derivative
66
# work thereof. This software comes with ABSOLUTELY NO WARRANTY from Data
@@ -174,7 +174,7 @@ VIASH_META_TEMP_DIR="$VIASH_TEMP"
174174

175175
# ViashHelp: Display helpful explanation about this executable
176176
function ViashHelp {
177-
echo "onclass 2.0.0-rc.1"
177+
echo "onclass 2.0.0-rc.2"
178178
echo ""
179179
echo "OnClass is a python package for single-cell cell type annotation. It uses the"
180180
echo "Cell Ontology to capture the cell type similarity."
@@ -561,10 +561,10 @@ RUN pip install --upgrade pip && \
561561
562562
LABEL org.opencontainers.image.authors="Jakub Majercik"
563563
LABEL org.opencontainers.image.description="Companion container for running component annotate onclass"
564-
LABEL org.opencontainers.image.created="2024-11-25T05:49:52Z"
564+
LABEL org.opencontainers.image.created="2024-11-27T14:19:06Z"
565565
LABEL org.opencontainers.image.source="https://github.com/openpipelines-bio/openpipeline"
566-
LABEL org.opencontainers.image.revision="f060d75d1633b6f25a83be2c483b393e08662673"
567-
LABEL org.opencontainers.image.version="2.0.0-rc.1"
566+
LABEL org.opencontainers.image.revision="686217bf7f7dadccb6d8a730b953d8124da01c58"
567+
LABEL org.opencontainers.image.version="2.0.0-rc.2"
568568
569569
VIASHDOCKER
570570
fi
@@ -700,7 +700,7 @@ while [[ $# -gt 0 ]]; do
700700
shift 1
701701
;;
702702
--version)
703-
echo "onclass 2.0.0-rc.1"
703+
echo "onclass 2.0.0-rc.2"
704704
exit
705705
;;
706706
--input)

target/executable/annotate/popv/.config.vsh.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "popv"
22
namespace: "annotate"
3-
version: "2.0.0-rc.1"
3+
version: "2.0.0-rc.2"
44
authors:
55
- name: "Matthias Beyens"
66
roles:
@@ -351,9 +351,9 @@ build_info:
351351
output: "target/executable/annotate/popv"
352352
executable: "target/executable/annotate/popv/popv"
353353
viash_version: "0.9.0"
354-
git_commit: "f060d75d1633b6f25a83be2c483b393e08662673"
354+
git_commit: "686217bf7f7dadccb6d8a730b953d8124da01c58"
355355
git_remote: "https://github.com/openpipelines-bio/openpipeline"
356-
git_tag: "1.0.0-7-gf060d75d16"
356+
git_tag: "2.0.0-rc.1-1-g686217bf7f"
357357
package_config:
358358
name: "openpipeline"
359359
version: "dev"
@@ -370,7 +370,7 @@ package_config:
370370
.resources += {path: '/src/workflows/utils/labels.config', dest: 'nextflow_labels.config'}\n\
371371
.runners[.type == 'nextflow'].directives.tag := '$id'\n.runners[.type == 'nextflow'].config.script\
372372
\ := 'includeConfig(\"nextflow_labels.config\")'"
373-
- ".version := \"2.0.0-rc.1\""
373+
- ".version := \"2.0.0-rc.2\""
374374
- ".engines[.type == 'docker'].target_tag := '2.0.0-rc.1'"
375375
organization: "openpipelines-bio"
376376
links:

target/executable/annotate/popv/popv

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# popv 2.0.0-rc.1
3+
# popv 2.0.0-rc.2
44
#
55
# This wrapper script is auto-generated by viash 0.9.0 and is thus a derivative
66
# work thereof. This software comes with ABSOLUTELY NO WARRANTY from Data
@@ -175,7 +175,7 @@ VIASH_META_TEMP_DIR="$VIASH_TEMP"
175175

176176
# ViashHelp: Display helpful explanation about this executable
177177
function ViashHelp {
178-
echo "popv 2.0.0-rc.1"
178+
echo "popv 2.0.0-rc.2"
179179
echo ""
180180
echo "Performs popular major vote cell typing on single cell sequence data using"
181181
echo "multiple algorithms. Note that this is a one-shot version of PopV."
@@ -561,10 +561,10 @@ RUN cd /opt && git clone --depth 1 https://github.com/YosefLab/PopV.git
561561
562562
LABEL org.opencontainers.image.authors="Matthias Beyens, Robrecht Cannoodt"
563563
LABEL org.opencontainers.image.description="Companion container for running component annotate popv"
564-
LABEL org.opencontainers.image.created="2024-11-25T05:49:52Z"
564+
LABEL org.opencontainers.image.created="2024-11-27T14:19:06Z"
565565
LABEL org.opencontainers.image.source="https://github.com/openpipelines-bio/openpipeline"
566-
LABEL org.opencontainers.image.revision="f060d75d1633b6f25a83be2c483b393e08662673"
567-
LABEL org.opencontainers.image.version="2.0.0-rc.1"
566+
LABEL org.opencontainers.image.revision="686217bf7f7dadccb6d8a730b953d8124da01c58"
567+
LABEL org.opencontainers.image.version="2.0.0-rc.2"
568568
569569
VIASHDOCKER
570570
fi
@@ -700,7 +700,7 @@ while [[ $# -gt 0 ]]; do
700700
shift 1
701701
;;
702702
--version)
703-
echo "popv 2.0.0-rc.1"
703+
echo "popv 2.0.0-rc.2"
704704
exit
705705
;;
706706
--input)

target/executable/annotate/random_forest_annotation/.config.vsh.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "random_forest_annotation"
22
namespace: "annotate"
3-
version: "2.0.0-rc.1"
3+
version: "2.0.0-rc.2"
44
authors:
55
- name: "Jakub Majercik"
66
roles:
@@ -355,9 +355,9 @@ build_info:
355355
output: "target/executable/annotate/random_forest_annotation"
356356
executable: "target/executable/annotate/random_forest_annotation/random_forest_annotation"
357357
viash_version: "0.9.0"
358-
git_commit: "f060d75d1633b6f25a83be2c483b393e08662673"
358+
git_commit: "686217bf7f7dadccb6d8a730b953d8124da01c58"
359359
git_remote: "https://github.com/openpipelines-bio/openpipeline"
360-
git_tag: "1.0.0-7-gf060d75d16"
360+
git_tag: "2.0.0-rc.1-1-g686217bf7f"
361361
package_config:
362362
name: "openpipeline"
363363
version: "dev"
@@ -374,7 +374,7 @@ package_config:
374374
.resources += {path: '/src/workflows/utils/labels.config', dest: 'nextflow_labels.config'}\n\
375375
.runners[.type == 'nextflow'].directives.tag := '$id'\n.runners[.type == 'nextflow'].config.script\
376376
\ := 'includeConfig(\"nextflow_labels.config\")'"
377-
- ".version := \"2.0.0-rc.1\""
377+
- ".version := \"2.0.0-rc.2\""
378378
- ".engines[.type == 'docker'].target_tag := '2.0.0-rc.1'"
379379
organization: "openpipelines-bio"
380380
links:

target/executable/annotate/random_forest_annotation/random_forest_annotation

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# random_forest_annotation 2.0.0-rc.1
3+
# random_forest_annotation 2.0.0-rc.2
44
#
55
# This wrapper script is auto-generated by viash 0.9.0 and is thus a derivative
66
# work thereof. This software comes with ABSOLUTELY NO WARRANTY from Data
@@ -174,7 +174,7 @@ VIASH_META_TEMP_DIR="$VIASH_TEMP"
174174

175175
# ViashHelp: Display helpful explanation about this executable
176176
function ViashHelp {
177-
echo "random_forest_annotation 2.0.0-rc.1"
177+
echo "random_forest_annotation 2.0.0-rc.2"
178178
echo ""
179179
echo "Automated cell type annotation tool for scRNA-seq datasets on the basis of"
180180
echo "random forest."
@@ -576,10 +576,10 @@ RUN pip install --upgrade pip && \
576576
577577
LABEL org.opencontainers.image.authors="Jakub Majercik"
578578
LABEL org.opencontainers.image.description="Companion container for running component annotate random_forest_annotation"
579-
LABEL org.opencontainers.image.created="2024-11-25T05:49:51Z"
579+
LABEL org.opencontainers.image.created="2024-11-27T14:19:05Z"
580580
LABEL org.opencontainers.image.source="https://github.com/openpipelines-bio/openpipeline"
581-
LABEL org.opencontainers.image.revision="f060d75d1633b6f25a83be2c483b393e08662673"
582-
LABEL org.opencontainers.image.version="2.0.0-rc.1"
581+
LABEL org.opencontainers.image.revision="686217bf7f7dadccb6d8a730b953d8124da01c58"
582+
LABEL org.opencontainers.image.version="2.0.0-rc.2"
583583
584584
VIASHDOCKER
585585
fi
@@ -715,7 +715,7 @@ while [[ $# -gt 0 ]]; do
715715
shift 1
716716
;;
717717
--version)
718-
echo "random_forest_annotation 2.0.0-rc.1"
718+
echo "random_forest_annotation 2.0.0-rc.2"
719719
exit
720720
;;
721721
--input)

0 commit comments

Comments
 (0)