You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-3
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,22 @@ A command-line interface for functions of the Scanpy suite, to facilitate flexib
4
4
5
5
## Install
6
6
7
+
The recommended way of using this package is through the latest container produced by Bioconda [here](https://quay.io/repository/biocontainers/scanpy-scripts?tab=tags). If you must, one can install scanpy-scripts via conda:
8
+
7
9
```bash
8
10
conda install scanpy-scripts
9
-
# or
10
-
pip3 install scanpy-scripts
11
11
```
12
12
13
+
pip installation is also possible, however the version of mnnpy is not patched as in the conda version, and so the `integrate` command will not work.
14
+
15
+
```bash
16
+
pip install scanpy-scripts
17
+
```
18
+
19
+
For development installation, we suggest following the github actions python-package.yml file.
20
+
21
+
Currently, tests run on python 3.9, so those are the recommended versions if not installing via conda. BKNN doesn't currently install on Python 3.10 due to a skip in Bioconda.
22
+
13
23
## Test installation
14
24
15
25
There is an example script included:
@@ -22,7 +32,7 @@ This requires the [bats](https://github.com/sstephenson/bats) testing framework
22
32
23
33
## Commands
24
34
25
-
Available commands are described below. Each has usage instructions available via --help, consult function documentation in scanpy for further details.
35
+
Available commands are described below. Each has usage instructions available via `--help`, consult function documentation in scanpy for further details.
26
36
27
37
```
28
38
Usage: scanpy-cli [OPTIONS] COMMAND [ARGS]...
@@ -53,3 +63,7 @@ Commands:
53
63
multiplet Execute methods for multiplet removal.
54
64
plot Visualise data.
55
65
```
66
+
67
+
## Versioning
68
+
69
+
Major and major versions will follow the scanpy versions. The first digit of the patch should follow the scanpy patch version as well, subsequent digits in the patch are reserved for changes in this repository.
Copy file name to clipboardExpand all lines: scanpy_scripts/cmd_options.py
+17-2
Original file line number
Diff line number
Diff line change
@@ -3,13 +3,14 @@
3
3
"""
4
4
5
5
importclick
6
+
6
7
from .click_utilsimport (
7
8
CommaSeparatedText,
8
9
Dictionary,
9
-
valid_limit,
10
-
valid_parameter_limits,
11
10
mutually_exclusive_with,
12
11
required_by,
12
+
valid_limit,
13
+
valid_parameter_limits,
13
14
)
14
15
15
16
COMMON_OPTIONS= {
@@ -856,6 +857,20 @@
856
857
"'seurat_v3', ties are broken by the median (across batches) rank based on "
857
858
"within-batch normalized variance.",
858
859
),
860
+
click.option(
861
+
"--always-hv-genes-file",
862
+
"always_hv_genes_file",
863
+
type=click.Path(exists=True),
864
+
default=None,
865
+
help="If specified, the gene identifers in this file will be set as highly variable in the var dataframe after HVGs are computed.",
866
+
),
867
+
click.option(
868
+
"--never-hv-genes-file",
869
+
"never_hv_genes_file",
870
+
type=click.Path(exists=True),
871
+
default=None,
872
+
help="If specified, the gene identifers in this file will be removed from highly variable in the var dataframe (set to false) after HVGs are computed.",
0 commit comments