Skip to main content

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

Project description

uShuffle
========

.. image:: https://img.shields.io/pypi/v/ushuffle.svg
:target: https://pypi.python.org/pypi/ushuffle

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](http://digital.cs.usu.edu/~mjiang/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, len(self.seq), 2)

for i in range(10):
seqres = shuffler.shuffle()
print("results:", seqres)

print shuffle(a, 2)
```


Reference
---------

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.](http://bmcbioinformatics.biomedcentral.com/articles/10.1186/1471-2105-9-192) 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.tar.gz (29.0 kB view details)

Uploaded Source

Built Distribution

ushuffle-1.0-cp27-cp27m-macosx_10_10_intel.whl (28.0 kB view details)

Uploaded CPython 2.7m macOS 10.10+ intel

File details

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

File metadata

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

File hashes

Hashes for ushuffle-1.0.tar.gz
Algorithm Hash digest
SHA256 ce4286a793dbfd7a201591a13a5acba6535ef2b74eee88c13ab28273cc96055a
MD5 d2322ecfd514585d40972b940b27f821
BLAKE2b-256 5aeae4871e37a4bc420cea782ba073670472b8eb82db102f9362fb49f006fb8c

See more details on using hashes here.

File details

Details for the file ushuffle-1.0-cp27-cp27m-macosx_10_10_intel.whl.

File metadata

File hashes

Hashes for ushuffle-1.0-cp27-cp27m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 e7d3e21bcdcfa89e4902a018cb17b244edf437da1e03cc3584a1397650622c9c
MD5 a76d8deed8ea04e9d32d8cf67a8db6e1
BLAKE2b-256 48e10ddd4a887c37c8a423363a867f6a36233eb3c977fc85b08fb777a95de305

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