Skip to main content

Package for designing headloop primers to use in headloop suppression PCR to suppress amplification of a known haplotype.

Project description

Headloop

Package for designing headloop primers to use in headloop suppression PCR to suppress amplification of a known haplotype. Copyright (C) July 2020, Gareth T. Powell

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Description

Function designs tags from guide sequence provided by the user, with frameshifting to minimise Tm differences between the tags and the PCR primers, then adds the 'best' tags to the correct PCR primer provided by the user, depending upon strand orientation of the guide sequence relative to the PCR primers e.g. if the guide sequence in on the same strand as the sense primer, a reverse complement tag is added to the sense primer and an offset tag is added to the antisense primer.

For further details of headloop suppression PCR, see the paper at eLife:

Kroll, F., Powell, G.T. et al (2021) eLife 10:e59683, doi: 10.7554/eLife.59683
https://doi.org/10.7554/eLife.59683

Installation

pip install headloop

This package uses 'melting' from Erik Clarke [https://github.com/eclarke/melt] to calculate Tm of primers and headloop tags, and Seq & SeqRecord from Biopython [https://biopython.org/wiki/Seq] for reverse complementation and object input/output.

Usage

To use this package, the user needs to provide four variables:

sense_oligo     #string containing the sense primer
antisense_oligo #string containing the antisense primer
guide_context   #string containing guide sequence and >= 15 bp forward context
orientation     #is the guide in the same strand as the 'sense' primer or 'antisense' primer?

Example (tbx16_AA):

from headloop.designer import design

design('CTGGTCCAGTGCGTTATTGG', 'AGCCAAATGCTTCTTGCTCTTTT', 
       'CTACAGGACGTACCTGCACCCGGATTCACCAGCGCCCG', 'antisense')

Returns: Two primers as SeqRecord objects, with comments on Tm matching in the description

CCTGCACCCGGATTCACCAGCTGGTCCAGTGCGTTATTGG
WARNING: Could not optimise sense headloop tag (Tm difference > 3°C) 

GGTGCAGGTACGTCCTGTAGAGCCAAATGCTTCTTGCTCTTTT
Tm difference < 3°C

(Gives a warning flag if the Tm difference between the headloop tag and the 
 base primer is calculated to be > 3C)

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

headloop-1.0.11.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

headloop-1.0.11-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file headloop-1.0.11.tar.gz.

File metadata

  • Download URL: headloop-1.0.11.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.7

File hashes

Hashes for headloop-1.0.11.tar.gz
Algorithm Hash digest
SHA256 1bd5c9c692699a2452c96751c8277c35147a003b55380890c7ce7d8c35736378
MD5 c60a122af6a7f8668508f1ef88395c63
BLAKE2b-256 c6c63197eff79e767d119cf9552dedef77101b2be57b2ad403b349d60e889e90

See more details on using hashes here.

File details

Details for the file headloop-1.0.11-py3-none-any.whl.

File metadata

  • Download URL: headloop-1.0.11-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.7

File hashes

Hashes for headloop-1.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 6dc795035b75d51bcb82899241b238426aff962a844aafbe5499fec5a22fb479
MD5 be78599de62ffd3d363ee0733d3429d4
BLAKE2b-256 ca2e22d17fd228b4c316ae289256e9781dd02ad7f8a82f7c4ed9087e73543b61

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