Skip to main content

qPCR Analysis with Recursive PCR Model for robust quantification

Project description

qPyCR

Binder

qPyCR is a notebook‑first qPCR analysis workflow that implements global data fitting using a recursive PCR model.
It accepts raw, unadjusted CSV data and produces Cq, Seed, Max, KD, and Max/KD outputs.

Example Outputs

Output csv viewed in spreadsheet


Cq analysis plot Global fitting plot

Recommended Use

This project is designed to run as a Jupyter notebook. Choose one:

Option 1: Binder (no install)
Click the badge above to launch the notebook in your browser — no setup required.
Use ../examples/test_data.csv as the input path. Outputs are saved to notebooks/outputs/ — download before closing the session.

Option 2: Google Colab
Upload the notebook from notebooks/ to Google Colab.

Option 3: Local Jupyter
Clone the repo and run pip install -r requirements.txt, then open the notebook in notebooks/.

Running the Analysis

  1. Run cells in order (Cell‑0 → Cell‑11).
  2. Use -e for evaluation outputs or -d for full debug outputs.
  3. In some environments, 'Run All' may hang after providing input selections; you can click 'Run' repeatedly to step through the remaining cells.

Inputs

CSV format with a Cycle column and one or more sample columns containing qPCR data for each cycle.

Outputs

Cell‑11 generates the final report:

  • *_qPCR_Analysis_Outputs_*.csv

Evaluation/Debug modes add intermediate CSVs and plots in outputs/.

Folder Structure

qPyCR/
├── notebooks/      # Jupyter notebooks (run these)
├── cells/          # Individual cell scripts (for inspection/modification)
├── examples/       # Example datasets
├── images/         # Images for Readme
└── requirements.txt

Scientific Background

This software implements and extends the use of the recursive PCR model described in:

Carr AC, Moore SD (2012) Robust quantification of polymerase chain reactions using global fitting.
PLoS ONE 7(5): e37640. https://doi.org/10.1371/journal.pone.0037640

Is also generates the max/KD ratio for reaction performance evaluation described in:

Moore SD (2025) Thermal-bias PCR: generation of amplicon libraries without degenerate primer interference. Peer J. Oct 24:13:e20241. https://doi.org/10.7717/peerj.20241

Citation

Manuscript pending. If you use this software, please cite this repository for now:

We will update this section with the formal paper citation once available.

License

MIT (see LICENSE).

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

qpycr-1.2.0.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qpycr-1.2.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file qpycr-1.2.0.tar.gz.

File metadata

  • Download URL: qpycr-1.2.0.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for qpycr-1.2.0.tar.gz
Algorithm Hash digest
SHA256 38566558e0806c43243c0077f4f5c11e12518651d6685a7b0cab855eab799468
MD5 4b1ef5dbc2c30fcaf9f6dfc39b906568
BLAKE2b-256 cd7c0968a204b552f3c1861da3a36775ac08aa081af0efb2cf8a3d20e1e8348f

See more details on using hashes here.

File details

Details for the file qpycr-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: qpycr-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for qpycr-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 341f3fd8d5c040932860c3059dec8cd5339891fdde47055379b2d91cd4de7c2b
MD5 ac3b1b40abc61282fde40d7d99204815
BLAKE2b-256 ef016d6f41c63afa17f322ab63f8d1758129aad68c49134089c054d1a52fd88e

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