Skip to main content

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.toml for 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

sc_samap-3.0.1.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sc_samap-3.0.1-py3-none-any.whl (92.3 kB view details)

Uploaded Python 3

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

Hashes for sc_samap-3.0.1.tar.gz
Algorithm Hash digest
SHA256 51d23ec01ac36bb467927292200301fc08a5402882b2d59932df3eb59b1108ed
MD5 8efe3fbdc3495962ace0b64985bd4987
BLAKE2b-256 87d700812b4d1f7e94a538a94eeab9250a3931afae965e049f76c494e82f39f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for sc_samap-3.0.1.tar.gz:

Publisher: release.yml on atarashansky/SAMap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for sc_samap-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0382a45e0cfc1c440b724a50a188be6a8de02f7aab084cfadf184258553e1580
MD5 f84317b83b4a92de05111630992bbe3f
BLAKE2b-256 f5d9024c49ab1d1b9e0d3c2e6e6ebd611c1a9d2c02a817d17f08b5fa5739afdc

See more details on using hashes here.

Provenance

The following attestation bundles were made for sc_samap-3.0.1-py3-none-any.whl:

Publisher: release.yml on atarashansky/SAMap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page