The SAMap algorithm
Project description
SAMap -- version 3.0.0
Citation
Please cite the following paper if using SAMap: https://elifesciences.org/articles/66747
Tarashansky, Alexander J., et al. "Mapping single-cell atlases throughout Metazoa unravels cell type evolution." Elife 10 (2021): e66747.
Requirements: Python ≥3.11. See
pyproject.tomlfor the full dependency list.
Installation
SAMap requires Python ≥3.11.
From PyPI (recommended)
conda create -n SAMap -c conda-forge python=3.12 pip
conda activate SAMap
pip install sc-samap
From source (development)
conda create -n SAMap -c conda-forge python=3.12 pip
conda activate SAMap
git clone https://github.com/atarashansky/SAMap.git
cd SAMap
pip install -e .
NCBI BLAST
SAMap requires NCBI BLAST on your PATH for the homology mapping step.
Easiest via conda:
conda install -c bioconda blast
Or download binaries directly from NCBI.
Installation time should take no more than 10 minutes.
Running BLAST
The BLAST mapping script can be run from the SAMap_vignette.ipynb Jupyter notebook.
Depending on the number of cores available on your machine and the size/type of the input fasta files, this step may take up to around 4 hours.
Running SAMap
To run SAMap, use the SAMAP class from samap:
from samap import SAMAP
sm = SAMAP(sams={'sp1': 'species1.h5ad', 'sp2': 'species2.h5ad'}, f_maps='maps/')
sm.run()
See the function documentation for a description of the inputs and outputs. Take a look at the provided Jupyter notebook to get started (SAMap_vignette.ipynb).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sc_samap-3.0.1.tar.gz.
File metadata
- Download URL: sc_samap-3.0.1.tar.gz
- Upload date:
- Size: 2.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51d23ec01ac36bb467927292200301fc08a5402882b2d59932df3eb59b1108ed
|
|
| MD5 |
8efe3fbdc3495962ace0b64985bd4987
|
|
| BLAKE2b-256 |
87d700812b4d1f7e94a538a94eeab9250a3931afae965e049f76c494e82f39f1
|
Provenance
The following attestation bundles were made for sc_samap-3.0.1.tar.gz:
Publisher:
release.yml on atarashansky/SAMap
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sc_samap-3.0.1.tar.gz -
Subject digest:
51d23ec01ac36bb467927292200301fc08a5402882b2d59932df3eb59b1108ed - Sigstore transparency entry: 1202612194
- Sigstore integration time:
-
Permalink:
atarashansky/SAMap@8ffeaec17d738477d4a6302045098943a2726be7 -
Branch / Tag:
refs/tags/v3.0.1 - Owner: https://github.com/atarashansky
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8ffeaec17d738477d4a6302045098943a2726be7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sc_samap-3.0.1-py3-none-any.whl.
File metadata
- Download URL: sc_samap-3.0.1-py3-none-any.whl
- Upload date:
- Size: 92.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0382a45e0cfc1c440b724a50a188be6a8de02f7aab084cfadf184258553e1580
|
|
| MD5 |
f84317b83b4a92de05111630992bbe3f
|
|
| BLAKE2b-256 |
f5d9024c49ab1d1b9e0d3c2e6e6ebd611c1a9d2c02a817d17f08b5fa5739afdc
|
Provenance
The following attestation bundles were made for sc_samap-3.0.1-py3-none-any.whl:
Publisher:
release.yml on atarashansky/SAMap
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sc_samap-3.0.1-py3-none-any.whl -
Subject digest:
0382a45e0cfc1c440b724a50a188be6a8de02f7aab084cfadf184258553e1580 - Sigstore transparency entry: 1202612198
- Sigstore integration time:
-
Permalink:
atarashansky/SAMap@8ffeaec17d738477d4a6302045098943a2726be7 -
Branch / Tag:
refs/tags/v3.0.1 - Owner: https://github.com/atarashansky
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8ffeaec17d738477d4a6302045098943a2726be7 -
Trigger Event:
push
-
Statement type: