Skip to main content

A Cython wrapper over uShuffle - a useful tool for shuffling biological sequences while preserving the k-let counts.

Project description

https://img.shields.io/pypi/v/ushuffle.svg

A Cython wrapper around uShuffle - a useful tool for shuffling biological sequences while preserving the k-let counts

This is just a bundle of files downloaded from ushuffle and wrapped in Cython for easy installation and use.

Installation

git clone https://github.com/guma44/ushuffle.git
cd ushuffle
python setup.py install [ --user ]

or

pip install [--user] ushuffle

Usage

The library exposes a shuffling function shuffle and a Shuffler object used to make shuffling many times eg.:

from ushuffle import shuffle, Shuffler
seq = "ababcdcdabdcabvababab"
shuffler = Shuffler(seq, 2)
for i in range(10):
    seqres = shuffler.shuffle()
    print("results:", seqres)
print shuffle(seq, 2)

References

If you use this tool please refer to the original paper and authors: Minghui Jiang, James Anderson, Joel Gillespie, and Martin Mayne. uShuffle: a useful tool for shuffling biological sequences while preserving the k-let counts. BMC Bioinformatics, 9:#192, 2008.

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

ushuffle-1.0.5.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

ushuffle-1.0.5-py2.7-linux-x86_64.egg (52.3 kB view details)

Uploaded Source

File details

Details for the file ushuffle-1.0.5.tar.gz.

File metadata

  • Download URL: ushuffle-1.0.5.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/2.7.15rc1

File hashes

Hashes for ushuffle-1.0.5.tar.gz
Algorithm Hash digest
SHA256 830e3cf6ea9f241edb87609a851fb0ebbd333378a22d90130d1082f26591c951
MD5 57f03b4e7186fbf344a7645900c7de28
BLAKE2b-256 a3302ac23ddf1b6e92f33741f8b595958b07ca85b39a5e28545dca5b5d3000d0

See more details on using hashes here.

File details

Details for the file ushuffle-1.0.5-py2.7-linux-x86_64.egg.

File metadata

  • Download URL: ushuffle-1.0.5-py2.7-linux-x86_64.egg
  • Upload date:
  • Size: 52.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/2.7.15rc1

File hashes

Hashes for ushuffle-1.0.5-py2.7-linux-x86_64.egg
Algorithm Hash digest
SHA256 e3356a122e6d28286eece6ec53b1da14b983ca6f84ccdd3e3944c3d4b6b0959b
MD5 b9a632342517cd41ea495ee9895bc904
BLAKE2b-256 0c70dd558030d4ebed19d795ddc1aa39468f95ca01e16c114e85739a661fb1f0

See more details on using hashes here.

Supported by

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