Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
05d3999
Create pert-map command
joshua-gould Jul 21, 2026
24b6774
Create pert-map command
joshua-gould Jul 21, 2026
4f92212
Create pert-map command
joshua-gould Jul 21, 2026
82b092d
Create pert-map command
joshua-gould Jul 21, 2026
c8f4cde
Create pert-map command
joshua-gould Jul 21, 2026
eb9e0e5
Create pert-map command
joshua-gould Jul 21, 2026
a7929b2
Create pert-map command
joshua-gould Jul 21, 2026
8dd0934
Create pert-map command
joshua-gould Jul 21, 2026
a027f01
Create pert-map command
joshua-gould Jul 21, 2026
e5f82d8
Create pert-map command
joshua-gould Jul 21, 2026
aa0d6ce
Create pert-map command
joshua-gould Jul 21, 2026
e375d99
Create pert-map command
joshua-gould Jul 21, 2026
87332ba
Create pert-map command
joshua-gould Jul 21, 2026
3240bd5
Create pert-map command
joshua-gould Jul 21, 2026
039ec95
set index for agg
joshua-gould Jul 22, 2026
8212177
save filtered data
joshua-gould Jul 22, 2026
802b104
save filtered data
joshua-gould Jul 23, 2026
d72200e
save filtered data
joshua-gould Jul 23, 2026
79939fb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 23, 2026
beb66ea
fixed tests
joshua-gould Jul 23, 2026
6ab75e8
Merge remote-tracking branch 'origin/map-build' into map-build
joshua-gould Jul 23, 2026
b3c7720
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 23, 2026
d842ac6
fixed tests
joshua-gould Jul 23, 2026
f1a09c0
Merge remote-tracking branch 'origin/map-build' into map-build
joshua-gould Jul 23, 2026
9112844
Merge branch 'main' of https://github.com/Genentech/scallops into map…
joshua-gould Jul 23, 2026
aae2107
fixed output dir
joshua-gould Jul 23, 2026
4df1529
fixed extension
joshua-gould Jul 23, 2026
58eb16c
fixed extension
joshua-gould Jul 23, 2026
be3c30f
Merge branch 'main' of https://github.com/Genentech/scallops into map…
joshua-gould Jul 23, 2026
ca8abd3
merge with main
joshua-gould Jul 23, 2026
6bbc9ae
check for layers instead of uns
joshua-gould Jul 24, 2026
ba9b1a7
test normalize with dask delayed
joshua-gould Jul 24, 2026
d3164ea
test normalize with dask delayed
joshua-gould Jul 24, 2026
77d85d1
test normalize
joshua-gould Jul 24, 2026
6dd6d5c
test normalize
joshua-gould Jul 24, 2026
ec19893
batch_size
joshua-gould Jul 24, 2026
91e0180
batch_size
joshua-gould Jul 24, 2026
75c6305
use clip
joshua-gould Jul 24, 2026
2819270
chunk
joshua-gould Jul 24, 2026
341dd15
Merge branch 'main' of https://github.com/Genentech/scallops into map…
joshua-gould Aug 3, 2026
1ff25cc
Removed nn z-score
joshua-gould Aug 3, 2026
1e3694c
lease timeout
joshua-gould Aug 3, 2026
f519e77
Merge branch 'main' of https://github.com/Genentech/scallops into map…
joshua-gould Aug 3, 2026
72ae71f
Merge branch 'main' of https://github.com/Genentech/scallops into map…
joshua-gould Aug 3, 2026
9f7ba04
Merge branch 'main' of https://github.com/Genentech/scallops into map…
joshua-gould Aug 3, 2026
14720eb
test z-score
joshua-gould Aug 3, 2026
7abe1fa
test z-score
joshua-gould Aug 4, 2026
066975f
Merge branch 'main' of https://github.com/Genentech/scallops into map…
joshua-gould Aug 4, 2026
346c11f
reverted
joshua-gould Aug 4, 2026
93d700d
Merge branch 'main' of https://github.com/Genentech/scallops into map…
joshua-gould Aug 4, 2026
e4fb610
Merge branch 'main' of https://github.com/Genentech/scallops into map…
joshua-gould Aug 6, 2026
ac37cfe
Updated local z-score and argument names
joshua-gould Aug 6, 2026
da42a28
anndata min version
joshua-gould Aug 6, 2026
1314a82
fixed docs
joshua-gould Aug 6, 2026
5d3e936
Fixed test
joshua-gould Aug 6, 2026
08cb317
Fixed test
joshua-gould Aug 6, 2026
25ae8f6
pca args
joshua-gould Aug 6, 2026
2529ea9
warning
joshua-gould Aug 6, 2026
ac91b73
resources
joshua-gould Aug 6, 2026
86a21bb
resources
joshua-gould Aug 7, 2026
37eebd0
resources
joshua-gould Aug 7, 2026
21989fe
logging
joshua-gould Aug 7, 2026
dddb282
logging
joshua-gould Aug 7, 2026
64967ff
Merge branch 'main' of https://github.com/Genentech/scallops into map…
joshua-gould Aug 7, 2026
dab0d16
fixed test
joshua-gould Aug 7, 2026
f1e9717
chunk
joshua-gould Aug 7, 2026
7ef262b
turn off anndata auto sharding
joshua-gould Aug 10, 2026
cbb880d
pca batch_size
joshua-gould Aug 10, 2026
0576180
renamed arg
joshua-gould Aug 10, 2026
f80a0c0
memory
joshua-gould Aug 10, 2026
26ce8a5
batch_size
joshua-gould Aug 10, 2026
92ce41e
check for no genes
joshua-gould Aug 10, 2026
463d918
cleanup
joshua-gould Aug 10, 2026
9fc07d2
cleanup
joshua-gould Aug 10, 2026
3dfa484
cleanup
joshua-gould Aug 10, 2026
c03f658
cleanup
joshua-gould Aug 10, 2026
4c39793
cleanup
joshua-gould Aug 10, 2026
9fd75e3
cleanup
joshua-gould Aug 10, 2026
77f207f
batch_size
joshua-gould Aug 10, 2026
dd2ef86
scale features before computing variance
joshua-gould Aug 11, 2026
123ad86
default batch size
joshua-gould Aug 11, 2026
c1d7661
fixed description
joshua-gould Aug 11, 2026
606f6d0
fixed test
joshua-gould Aug 11, 2026
9f7151e
n_features
joshua-gould Aug 11, 2026
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
19 changes: 4 additions & 15 deletions docs/command_line.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,28 +133,17 @@ Key Features:
:path: pooled-sbs


scallops norm-features
=======================
scallops pert-map
===================

The `scallops norm-features` command is used to normalize features.
The `scallops pert-map` command provides functionality for perturbation map building.

.. argparse::
:module: scallops.__main__
:func: create_parsers
:prog: scallops
:path: rank-features


scallops rank-features
=======================

The `scallops rank-features` command is used to compute significance from the output of `scallops norm-features`.
:path: pert-map

.. argparse::
:module: scallops.__main__
:func: create_parsers
:prog: scallops
:path: rank-features


scallops registration
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ classifiers = [

dependencies = [
"adjustText",
"anndata>=0.12.4", # https://github.com/scverse/anndata/issues/2166
"anndata>=0.13.0",
"bioio>=3",
"bioio-nd2",
"bioio-ome-tiff",
Expand Down
8 changes: 7 additions & 1 deletion scallops/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import warnings

import anndata

from scallops.zarr_io import write_basic_dask_dask_dense # noqa: F401

from .experiment.elements import Experiment # noqa: F401

warnings.filterwarnings(
"ignore", message="unclosed.*", category=ResourceWarning, module="aiohttp"
"ignore",
message="Unclosed client.* | client_session.*",
)
anndata.settings.auto_shard_zarr_v3 = False
6 changes: 2 additions & 4 deletions scallops/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@
features_main,
find_objects_main,
illumination_correction_main,
norm_features_main,
pert_map_main,
pooled_if_sbs_main,
rank_features_main,
register_main,
segment_main,
stitch_main,
Expand All @@ -67,8 +66,7 @@ def create_parsers(default_help: bool = False) -> argparse.ArgumentParser:
segment_main._create_parser(subparsers, default_help)
illumination_correction_main._create_parser(subparsers, default_help)
dialout_main._create_parser(subparsers, default_help)
norm_features_main._create_parser(subparsers, default_help)
rank_features_main._create_parser(subparsers, default_help)
pert_map_main._create_parser(subparsers, default_help)
register_main._create_parser(subparsers, default_help)
stitch_main._create_stitch_parser(subparsers, default_help)
stitch_main._create_stitch_preview_parser(subparsers, default_help)
Expand Down
4 changes: 2 additions & 2 deletions scallops/cli/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
_to_parquet,
is_parquet_file,
pluralize,
read_anndata_zarr,
read_anndata,
)

logger = _get_cli_logger()
Expand Down Expand Up @@ -79,7 +79,7 @@ def _read_merged_or_objects(

area_column = f"{_label_name_to_prefix[label_name]}_AreaShape_Area"
if merge_path.lower().endswith(".zarr"):
data = read_anndata_zarr(merge_path, dask=True)
data = read_anndata(merge_path, dask=True)
merged_df = data.obs
columns = {area_column}
assert area_column in data.var.index
Expand Down
152 changes: 0 additions & 152 deletions scallops/cli/norm_features.py

This file was deleted.

111 changes: 0 additions & 111 deletions scallops/cli/norm_features_main.py

This file was deleted.

Loading