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)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scalabis-1.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

scalabis-1.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file scalabis-1.1.tar.gz.

File metadata

  • Download URL: scalabis-1.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for scalabis-1.1.tar.gz
Algorithm Hash digest
SHA256 fe035650242ad3c44ff6b6fa646a27070b21b70bc0e36fdf552a7b9c3a0a6760
MD5 06c8a141e144b284060e673da8678008
BLAKE2b-256 1e04f80757f32b88b188fab5f6ada82fecc593adfd4d2da19fd0b17894d51f2d

See more details on using hashes here.

File details

Details for the file scalabis-1.1-py3-none-any.whl.

File metadata

  • Download URL: scalabis-1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for scalabis-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a17b3e4e18d0b97c6f41972b69f1b9d1c20a899f6e848a14c7b98ea4a39c72f3
MD5 f2c1df715d0415c92664f85b1adb9e0b
BLAKE2b-256 33e5b0288ae30e45f7f8a7324de162c4c458fee7aaf4cd020003e10024e8fe9e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1 This release

2 files

1.0

2 files

Supported by

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