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(self.seq, 2)
for i in range(10):
    seqres = shuffler.shuffle()
    print("results:", seqres)
print shuffle(a, 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.3.tar.gz (5.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: ushuffle-1.0.3.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ushuffle-1.0.3.tar.gz
Algorithm Hash digest
SHA256 dc0bcac3557ec9c980e95eddb2994b625770ba56b13e8bf34b3ce92fbfb7966c
MD5 905398592275e68fc61e9e9bce0eec4c
BLAKE2b-256 6f05f037e29cc13a8e66cdeb1062aa90ab887da936da1f30a6f43f1594194c58

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