Skip to main content

A software to design PCR primers for a a subset of sequences which belong to a greater set

Project description

Genprimers

Genprimers is a software aimed to produce PCR primers. Unlike other primers programs, such as primer3, it is focused on generating specific primers for a set the sequences (defined as targets) which are a subset of a greater set of sequences (defined as the universe). This is very useful for example when we have 16S amplicon experiments from ambiental samples, which have a lot of different miroorganisms, and we are interested in detecting spefific phylums or clades. Genprimers is also useful when we have to amplify a specific biomarker of a subset of individuals belonging to a greater set of closely- related microorganism.

Prerequisites

  • Bowtie 1

  • Python 2.7

  • Cython

For the moment, Bowtie 1 is necessary to run genprimers. In the future, this won’t be necessary.

How to install

Automatic install

Genprimers is available in the Python pip repository

$ pip install genprimers

Manual install

Clone the git repository in your local machine

$ git clone git@bitbucket.org:lbmg/genprimers.git

Enter to the cloned repository

$ cd genprimers

Install using the python install framework

$ python setup.py install

Examples

Generating the index for the universe

In order to run genprimers, the input FASTA file must be indexed with Bowtie (for the moment)

$ bowtie-build universe.fna universe.fna

Running genprimers

Assuming we already have the FASTA file of the universe indexed with bowtie and a one-column file containing the IDs of a subset of sequences of the universe we want to amplify (targets_ids.txt in this example), run genprimers is as easy as:

$ genprimers primers universe.fna targets_ids.txt output_folder

The list of targets IDs can be passed through the standard input

$ cat targets_ids.txt | genprimers primers universe.fna output_folder

Listing all the sequences in the Universe

In order to run Genprimers you need the IDs of the targets in the FASTA file of the universe, but often we don’t know those identifier. To list the IDs in the universe, and their respectives descriptions, we can use the list command from genprimers.

$ genprimers list unvierse.fna

We can filter the output list to report only those sequences belonging to some class and then use that list to design primers. In the example below we list all the sequences that fit the Gluconobacter genus description and produce new primers for this subset:

$genprimers list universe.fna | grep Gluconobacter | cut -f1 | genprimers primer universe.fna output_prefix

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

genprimers-0.0.1.tar.gz (1.2 MB view details)

Uploaded Source

Built Distributions

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

genprimers-0.0.1-py2.7.egg (1.3 MB view details)

Uploaded Egg

genprimers-0.0.1-py2-none-any.whl (1.3 MB view details)

Uploaded Python 2

File details

Details for the file genprimers-0.0.1.tar.gz.

File metadata

  • Download URL: genprimers-0.0.1.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for genprimers-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e9f9e301ec3297854d884ff1688fdd99c5781692e15e0a2b5200ebcd32f51f18
MD5 5b38fdb9fcd7cb224fd60a573011d925
BLAKE2b-256 d71343412a8c09814201d11bf6423e9f729b6003347cbd53ffd3550c7a2ad2bc

See more details on using hashes here.

File details

Details for the file genprimers-0.0.1-py2.7.egg.

File metadata

File hashes

Hashes for genprimers-0.0.1-py2.7.egg
Algorithm Hash digest
SHA256 02fb7dd9e0a11399ac89e637b63b92aadeca7a0d948a7a2b451eb0d51ca24b8c
MD5 7723f1749e35a0bc5f767116d0070391
BLAKE2b-256 1cdf47c523dcd75f4da91813a9d5ea7be554298d7006aa7e1968cb0374cd7b6c

See more details on using hashes here.

File details

Details for the file genprimers-0.0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for genprimers-0.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 db16bffba1c22dbd25a7d5ec3655b9fdced2479ff2018c6abdaee98846749bdc
MD5 e01c991d8c5664bac85ca06fe18ddcc7
BLAKE2b-256 d1d9d31fc80830a89eafc75fd773114f4e1a0d6346d7c6abe3a112a5628abd32

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