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

https://travis-ci.org/sherrillmix/ampCountPy.svg?branch=master https://codecov.io/github/sherrillmix/ampCountPy/coverage.svg?branch=master

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

To install, 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 test
python setup.py install --user

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.

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.1.tar.gz (5.0 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for ampcountpy-0.1.tar.gz
Algorithm Hash digest
SHA256 0573bd6fc07293621cae46c5122cdb5c139ac208ce59ba3aca5afbc0d408619c
MD5 b9077d1dccc13bbf7cbed37af7c2cd97
BLAKE2b-256 287fe91ce109dde7ca781e0f895bd8a44975893a8fe454162d5ec98d4ec9d42d

See more details on using hashes here.

Supported by

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