Skip to main content

ampCountPy

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

Metadata

Release files for ampcountpy 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ampcountpy 0.2.0
File Size Uploaded Provenance Actions
ampcountpy-0.2.0.tar.gz 6.2 kB Without provenance Details for ampcountpy-0.2.0.tar.gz

Release files / ampcountpy-0.2.0.tar.gz

Download URL ampcountpy-0.2.0.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ab6032343abb133190fa12be4d66fa73086f223553acf5baf95f9cc33f196c98
BLAKE2b-256 checksum
How to use checksums
44968697bd7926f80de43e4fa658d2a2415ee75e437cd073988d73fdbe473bfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ampcountpy 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page