Skip to content

Commit 5b6ae25

Browse files
committed
Version 1.1.3
1 parent 15e4c11 commit 5b6ae25

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

dist/paste-bio-1.1.2.tar.gz

-10.3 KB
Binary file not shown.

dist/paste-bio-1.1.3.tar.gz

11.5 KB
Binary file not shown.
-9.29 KB
Binary file not shown.
10.4 KB
Binary file not shown.

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = paste-bio
3-
version = 1.1.2
3+
version = 1.1.3
44
author = Max Land
55
author_email = [email protected]
66
description = A computational method to align and integrate spatial transcriptomics experiments.

src/paste_bio.egg-info/PKG-INFO

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.1
22
Name: paste-bio
3-
Version: 1.1.2
3+
Version: 1.1.3
44
Summary: A computational method to align and integrate spatial transcriptomics experiments.
55
Home-page: https://github.com/raphael-group/paste
66
Author: Max Land
@@ -55,7 +55,7 @@ Or you can install PASTE on bioconda: https://anaconda.org/bioconda/paste-bio.
5555

5656
Check out Tutorial.ipynb for an example of how to use PASTE.
5757

58-
Lastly, you can clone the respository and run from command line (see below).
58+
Alternatively, you can clone the respository and run from command line (see below).
5959

6060

6161
### Command Line
@@ -68,7 +68,7 @@ First, clone the repository:
6868

6969
Next, when providing files, you will need to provide two separate files: the gene expression data followed by spatial data (both as .csv) for the code to initialize one slice object.
7070

71-
Sample execution: `python paste-cmd-line.py -m pairwise -f slice1.csv slice1_coor.csv slice2.csv slice2_coor.csv slice3.csv slice3_coor.csv`
71+
Sample execution (based on this repo): `python paste-cmd-line.py -m center -f ./sample_data/slice1.csv ./sample_data/slice1_coor.csv ./sample_data/slice2.csv ./sample_data/slice2_coor.csv ./sample_data/slice3.csv ./sample_data/slice3_coor.csv`
7272

7373
Note: `pairwise` will return pairwise alignment between each consecutive pair of slices (e.g. \[slice1,slice2\], \[slice2,slice3\]).
7474

@@ -77,11 +77,15 @@ Note: `pairwise` will return pairwise alignment between each consecutive pair of
7777
| -m | mode | Select either `pairwise` or `center` | (str) `pairwise` |
7878
| -f | files | Path to data files (.csv) | None |
7979
| -d | direc | Directory to store output files | Current Directory |
80-
| -a | alpha | alpha parameter for PASTE | (float) `0.1` |
80+
| -a | alpha | Alpha parameter for PASTE | (float) `0.1` |
81+
| -c | cost | Expression dissimilarity cost (`kl` or `Euclidean`) | (str) `kl` |
8182
| -p | n_components | n_components for NMF step in `center_align` | (int) `15` |
82-
| -l | lmbda | lambda parameter in `center_align` | (floats) probability vector of length `n` |
83+
| -l | lmbda | Lambda parameter in `center_align` | (floats) probability vector of length `n` |
8384
| -i | intial_slice | Specify which file is also the intial slice in `center_align` | (int) `1` |
8485
| -t | threshold | Convergence threshold for `center_align` | (float) `0.001` |
86+
| -x | coordinates | Output new coordinates (toggle to turn on) | `Flase` |
87+
| -w | weights | Weights files of spots in each slice (.csv) | None |
88+
| -s | start | Initial alignments for OT. If not given uses uniform (.csv structure similar to alignment output) | None |
8589

8690
`pairwise_align` outputs a (.csv) file containing mapping of spots between each consecutive pair of slices. The rows correspond to spots of the first slice, and cols the second.
8791

0 commit comments

Comments
 (0)