Skip to main content

Some functions to count the expected amplifications for genomic regions given a set of primer binding locations for a multiple displacement amplification reaction.

Project description

Travis CI Codecov PyPi version

Some python functions to count the expected amplifications for genomic regions given a set of primer binding locations for a multiple displacement amplification reaction. See ampCountR for more details.

Installation

Easy install

The easy way to install is to just do:

pip install ampcountpy

Github

To install the development version from github, clone the repository to a local directory using something like:

git clone https://github.com/sherrillmix/ampcountpy.git

and run setup.py from the resulting directory (the –user installs it locally and doesn’t require root access):

cd ampcountpy
python setup.py install --user
python setup.py test

Run directly

The module can be called directly using something like:

python -m ampcountpy -f forward.txt -r reverse.txt

or:

ampcountpy -f forward.txt -r reverse.txt

where forward.txt is a text file containing position of primer landing sites on the forward strand and reverse.txt is primer landing sites on the reverse strand. By default, amplification predictions are output to out.csv. The full details on options and arguments is available with:

ampcountpy --help

Using function in python

The main function is predictAmplifications which can be used like:

from ampcountpy import predictAmplifications
  forwards=[1,2,3]
  reverses=[5,6,7]
  predictions=predictAmplifications(forwards,reverses)

where forwards are the 5’-most base of primer landing sites on the forward strand and reverses are the 3’-most base of primers landing on the reverse strand.

Changelog

0.2.0 (2015-12-08)

  • Count non-overlapping primers correctly

0.1.3 (2015-11-02)

  • Fix header

0.1.2 (2015-11-02)

  • Fix changelog formatting

0.1.1 (2015-11-02)

  • Pip install instructions

0.1.0 (2015-11-02)

  • Initial public release

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

ampcountpy-0.2.0.tar.gz (6.2 kB view details)

Uploaded Source

File details

Details for the file ampcountpy-0.2.0.tar.gz.

File metadata

  • Download URL: ampcountpy-0.2.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ampcountpy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ab6032343abb133190fa12be4d66fa73086f223553acf5baf95f9cc33f196c98
MD5 bfff555b3e1e69f9ce30cd3bc058778f
BLAKE2b-256 44968697bd7926f80de43e4fa658d2a2415ee75e437cd073988d73fdbe473bfe

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