Skip to main content

Welcome to scalabis

A Python3 module for fast & easy sequence comparison

scalabis is built on numba and numpy, taking advantage of JIT compiled functions for speedy mismatched sequence comparisons.

Instructions

Install scalabis using pip:

pip install scalabis

Import it as any other python module:

import scalabis as sc

Usage examples. See help(function) after import for more use details:

sequence1 = "pihton"

sequence2 = "Hello there, this is a test for a fast & easy mismatch matching python module. Allegedly, it is efficient"

count by how many mismatches 2 same lenght sequences diverge:

sc.mismatch_counter(sequence1,sequence2)

find one sequence in another, with mismatches. return_template=True returns

sc.find(sequence1,sequence2,mismatch=1)

without return in a class

sc.find(sequence1,sequence2,mismatch=2,dict_return=False)

compare two sequences, searching from the search sequence from a specified starting point (default=0), returning the full aligned matrix whrere mismatches are 1, and matches are 0. Mismatches are the total mismatches in the compared matrix

sc.comparefromfound(sequence1,sequence2,mismatch=0,start=0,dict_return=True)

compare two sequences, returning all the locations in which they differ

sc.compareandlocate(start=0,search=sequence1,template=sequence2)

compare two sequences, returning the full aligned matrix. starting point can be specified

sc.compare(search=sequence1,template=sequence2,start=0,dict_return=False)

Metadata

Release files for scalabis 1.1

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

Source distribution (sdist)

Source distribution for scalabis 1.1
File Size Uploaded
scalabis-1.1.tar.gz 4.5 kB Details

Built distribution (wheel)

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

Total release size: 9.4 kB

Release files / scalabis-1.1.tar.gz

Download URL scalabis-1.1.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fe035650242ad3c44ff6b6fa646a27070b21b70bc0e36fdf552a7b9c3a0a6760
BLAKE2b-256 checksum
How to use checksums
1e04f80757f32b88b188fab5f6ada82fecc593adfd4d2da19fd0b17894d51f2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.13.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.8

Release files / scalabis-1.1-py3-none-any.whl

Download URL scalabis-1.1-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a17b3e4e18d0b97c6f41972b69f1b9d1c20a899f6e848a14c7b98ea4a39c72f3
BLAKE2b-256 checksum
How to use checksums
33e5b0288ae30e45f7f8a7324de162c4c458fee7aaf4cd020003e10024e8fe9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.13.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.8

Release history Release notifications | RSS feed

This release

1.1 This release

2 release files

1.0

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