Skip to main content

DOI DOI badge

sam2lca

Lowest Common Ancestor from a SAM/BAM/CRAM sequence alignment file.

TLDR

Analysis of sequencing reads aligned to a DNA database with NCBI accession numbers, using the NCBI taxonomy

sam2lca analyze myfile.bam

See all options

sam2lca --help
sam2lca update-db --help
sam2lca list-db --help
sam2lca analyze --help

For further infos, check out the sam2lca documentation and tutorial

Installation

With Conda (recommended)

conda install -c bioconda sam2lca

With pip

pip install sam2lca

For development purposes, from the dev branch

# clone repository 
git clone git@github.com:maxibor/sam2lca.git
# work on the dev branch
git checkout dev
# work in the sam2lca conda environment
conda env create -f environment.yml
conda activate sam2lca
# install sam2lca in editable mode
pip install -e .
# Run the unit and integration tests
pytest -s -vv --script-launch-mode=subprocess

or

pip install git+ssh://git@github.com/maxibor/sam2lca.git@dev

Documentation

The documentation of sam2lca, including tutorials, is available here: sam2lca.readthedocs.io

Cite

sam2lca has been published in JOSS with the following DOI: 10.21105/joss.04360

@article{Borry2022,
  doi = {10.21105/joss.04360},
  url = {https://doi.org/10.21105/joss.04360},
  year = {2022},
  publisher = {The Open Journal},
  volume = {7},
  number = {74},
  pages = {4360},
  author = {Maxime Borry and Alexander Hübner and Christina Warinner},
  title = {sam2lca: Lowest Common Ancestor for SAM/BAM/CRAM alignment files},
  journal = {Journal of Open Source Software}
}

Metadata

Release files for sam2lca 1.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sam2lca 1.1.4
File Size Uploaded
sam2lca-1.1.4.tar.gz 28.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sam2lca 1.1.4
File Interpreter ABI Platform
sam2lca-1.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 59.4 kB

Release files / sam2lca-1.1.4.tar.gz

Download URL sam2lca-1.1.4.tar.gz
Size 28.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c1d26f67458c2ad3ff8541b4ecf672c97c81fd65c91092beefab10cdea6f945b
BLAKE2b-256 checksum
How to use checksums
326438d53e064d6acd2dbcb2b80f3884707bcb7e499ed11c010d6a1caf086df0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / sam2lca-1.1.4-py3-none-any.whl

Download URL sam2lca-1.1.4-py3-none-any.whl
Size 31.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c39cdaf02056f3f91503017bef5085e59d53f5c0dbb92c3b7ff6974115d5ead1
BLAKE2b-256 checksum
How to use checksums
3e11fb9a0ad46b15a87c10a34fec7c5a964c1ce4826a7468a1f3486ee46a4c5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release history Release notifications | RSS feed

This release

1.1.4 This release

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.3.3

2 release files

0.3.1

2 release files

0.3

2 release files

0.2.1

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page