SEQanswers

Go Back   SEQanswers > Sequencing Technologies/Companies > 454 Pyrosequencing



Similar Threads
Thread Thread Starter Forum Replies Last Post
primer design razibus General 6 12-05-2014 06:04 AM
PCR primer -- a PCR simulation on your computer gringer General 0 01-26-2012 03:03 AM
HELP, primer design problem in gap closure f0415007 General 1 09-28-2011 03:44 AM
HELP, primer design problem in gap closure f0415007 Illumina/Solexa 0 09-21-2011 12:46 AM
Computational Gap Closure for 454 and Solid avtsanger Bioinformatics 1 08-19-2010 06:02 AM

Reply
 
Thread Tools
Old 10-26-2009, 09:46 AM   #1
bulletin2007
Junior Member
 
Location: Tennessee

Join Date: Oct 2009
Posts: 2
Default PCR Primer Design Software for Gap-closure

Hello, everyone. Recently I am working on the assembly of a bacterial genome. I used Mauve to reorder the contigs which was derived from newbler. Then I wanna close the gap. However, there are a lot of PCR primer design to do (56 contigs). I wonder if anybody know the software which can automate the primer design, better if it can use already reordered contigs. Projector 2 is such a software. But Projector 2 did not align the contigs to the reference as well as Mauve. And it seems project 2 can't use the contigs reordered by Mauve to design primer. Thanks a lot!
bulletin2007 is offline   Reply With Quote
Old 10-29-2009, 11:59 AM   #2
Broadie
Member
 
Location: Boston, MA

Join Date: Oct 2009
Posts: 15
Default

I wrote a perl script that does exactly that for my work actually, but it has some dependencies. We use it for bacterial genomes as well. It does require you to give it a fasta file that is already ordered and oriented, however.
If you know some Perl you can write a wrapper around primer3 that will do this.

Last edited by Broadie; 10-29-2009 at 12:13 PM.
Broadie is offline   Reply With Quote
Old 10-29-2009, 03:55 PM   #3
bulletin2007
Junior Member
 
Location: Tennessee

Join Date: Oct 2009
Posts: 2
Default

Thanks to Broadie. Unfortunately, I don't know perl. It sounds the perl script you wrote is what I wanted. Can you send me a copy (galathanksgiving@gmail.com)?
bulletin2007 is offline   Reply With Quote
Old 12-09-2009, 07:37 AM   #4
Broadie
Member
 
Location: Boston, MA

Join Date: Oct 2009
Posts: 15
Default

I will have to see what my works policy is about this. Sorry for the late response been very busy lately!
Broadie is offline   Reply With Quote
Old 04-05-2010, 11:36 AM   #5
Broadie
Member
 
Location: Boston, MA

Join Date: Oct 2009
Posts: 15
Default

Finally got around to finding out the policy. I can upload with a BSD license. I will have a version of my batch primer picking program soon. I have another tool you might find useful which finds joins across gaps in existing sequence. You may download it here, just note that you need to have blastall, formatdb and consed installed for this work. This also applies to the batch primer picker.

http://sourceforge.net/projects/joinfinder/

I'll post in a week or so when the batch script is available on sourceforge.
Broadie is offline   Reply With Quote
Old 05-19-2010, 12:58 PM   #6
Broadie
Member
 
Location: Boston, MA

Join Date: Oct 2009
Posts: 15
Default Boss 2.2

I have uploaded the most recent beta version of my batch oligo selection script. It can be found here, let me know if you have trouble running it:

https://sourceforge.net/projects/b-o-s-s/

And this is the readme file:

###Batch Oligo Selection Script(BOSS) V2.2 README###

A) DESCRIPTION

Batch Oligo Selection Script V2.2 (BOSS 2.2) is a program that selects primers using a heuristic algorithm. Two template primers an
d sequencing primers are selected and evaluated against user specified quality settings. The algorithm continuously slides
a 500 base window away from the gap edgeuntil the users quality threshold are met. The script outputs a number of files
to assist the user in the finishing process:
* A hits file indicates the uniqueness of each primer in a primet set.
* A stats file provides size and positional information for each primer in a primer set.
* A csv file is provided containing the actual primers selected for a primer set.
* An ace file is created identical to the input ace file but containing tags for all primers selected.
In addition, a set of five files are generated for each gap evaluated (use -log option to prevent them from being removed).
These are a primer 3 input file, primer 3 output file, a fasta file, a blast results file, and a score file that indicates how BOSS
evaluated the BLAST results in the blast file. Please see below for options and usage.

B) DEPENDENCIES

BOSS depends on Primer3 and Blast, and requires one output file from consed. If you do need to download and install either, please v
isit the following links:

Primer3
http://primer3.sourceforge.net/releases.php

Blast
http://www.ncbi.nlm.nih.gov/staff/ta...nix_setup.html

Prior to using the program, you must save an info.txt file using
Consed for the ace file assembly you wish to select oligos. Do
this by opening the ace file in consed and selecting Info>Show Maps of
Contigs In Scaffolds>Save to File>OK.

C) INSTALLATION INSTRUCTIONS

1) Extract the boss.tar.gz archive file to the desired location.
2) Open boss.pl in a text editor such as xemacs.
3) Edit line 43 between quotation marks to your path for the primer3core installation. Leave the last "/" off.
For example, if primer3 is installed in /production/tools/primer3, line 43 should read:

my $blast_path="/production/tools/primer3";
4) Edit line 44 between quotation marks to your path for the blastall installation. Leave the last "/" off.
For example, if blastall is installed in /production/tools/blast/blast-2.2.14/bin/blastall, line 44 should read:

my $blast_path="/production/tools/blast/blast-2.2.14/bin";

5) Save the file and exit.

6) If you know how many cores the linux machine that blast is running on has, change the "4" in line 45 to that number. If you do no
t know,
you can try changing this number to 1 if you have any problems.

D) BASIC HELP

DESCRIPTION
Batch Oligo Selection Script V2.2 (BOSS 2.2) is a program that selects primers using a heuristic algorithm. One or two template prim
ers and sequencing primersare selected and evaluated against user specified quality settings. The algorithm continuously slides
a 500 base window away from the gap edgeuntil the users quality threshold are met. The script outputs a number of files
to assist the user in the finishing process:
* A hits file indicates the uniqueness of each primer in a primet set.
* A stats file provides size and positional information for each primer in a primer set.
* A csv file is provided containing the actual primers selected for a primer set.
* An ace file is created identical to the input ace file but containing tags for all primers selected.
In addition, a set of five files are generated for each gap evaluated (use -log option to prevent them from being removed).
These are a primer 3 input file, primer 3 output file, a fasta file, a blast results file, and a score file that indicates how BOSS
evaluated the BLAST results in the blast file. Please see below for options and usage.
-----------
OPTIONS
The following options are available. Options with default settings will be set to internal defaults or config file settings
unless explicity specified. Required Options are indicated as so and script will not run without them.

-a: Designate input ace File(required).
-g: Activate gap identifier column in csv file.
-o Designate a custom ace output name (default is bpp_output.ace).
-i: Designate info.txt scaffold information file(required).
-log: Write processes to a log file named bpp.log.
-f: Designates numeral for first primer number(Default=1) for oligo tags
-t Activate additional order for each gap with template as sequencing primer.
-r: Designate minimum acceptable primer set ranking(default=2). See below for details.
-min: Designate minimum acceptable primer length (default=18).
-opt: Designate optimal acceptable primer length (default=25).
-max: Designate maximum acceptable primer length (default=28).
-tmin: Designate minimum acceptable melting temp (default=53).
-topt: Designate optimal acceptable melting temp (default=55).
-tmax: Designate maximum acceptable melting temp (default=60).
-gcmin: Designate minimum acceptable percent gc (default=20).
-gcmax: Designate maximum acceptable percent gc (default=80).
-gcend: Desigmate maximum allowable Gs and Cs in last 5 based of 3'end(default=2).
-clamp: Designate GC clamp(default=0).
-ex: Designate minimum allowable contig size to allow for primer selection(default=2000).
-polyx: Designmate maximum allowable length of mononucleotide run in primer(default=3).
-------
USAGE
boss.pl <PROJECT> -a <INPUT ACE FILE> -i <INPUT INFO.TXT FILE> -s <SUBCLONE> <OPTIONS: -r -min -max etc..>

-----
PRIMER SET RANK DEFINITIONS
The primer set ranking option (-r) defines what primer sets are accepted and which are rejected. They are as follows from most strin
gent to least:
4 (Excellent) Template and sequencing primers are ALL unique.
3 (Good) Template primers are unique, at least one sequencing primer is not.
2 (Fair) One Template primer is unique, sequencing primers may or may not be unique.
1 (Poor) Neither Template prime is unique. Use this rating for the -r option is not recommended!

In addition, you will sometimes see in the bpp.hits file a ranking called "Forced Selection."
This indicates that the program could not find a primer set that meets at least "Fair" criteria and therefore defaults to the first
primer set selected for the gap.
See the bpp.hits file for examples of these ratings applied to primer sets.

E) UNDERSTANDING OUTPUT

CSV output
BOSS outputs 3 CSV files. The first part of the name will be the project you designated when launching the script. This will be foll
owed by _gaps.csv, _bubble.csv, or _combo.csv depending on which file you are looking at. The gaps.csv file contains one PCR reactio
n per line with 2 template oligos and 2 sequencing oligos. An assembly with 3 gaps will have 3 reactions (or 6 if you use the -t opt
ion) will look like this:

project,subcloneName,oligoOneSequence,oligoTwoSequence,seqOligoOneSequence,seqOligoTwoSequence
P12345,S1234,GAATTTCTTTCAAACCGATGT,TGCATATCGTAAATAAACGTAAATA,GCCGAACACGCTGTCTTT,ATTTCATCATTCCCACAAGAT
P12345,S1234,CCGTTATGCTATGGGTTATC,GAAGACGAAAGACGTATTAATAGAA,CAAGCCTAATGCAGTCAATATAC,GAACTGAATAAATTAAGTTCTTTGG
P12345,S1234,TTTGTCTTTGATTTCTTTGTTTAC,ATTTGCATAGAAACACCACCTA,GTGATTCAGGTAATACTCGGTAAC,AAATTTCATCATTCCCACAA

Each line is a reaction for a project whos designation is P12345, on a subclone that is designated S1234, and consists of four oligo
s. The first two are the left and right template oligos used to generate the PCR template, and the last two are the primers existing
between the two template primers that will be used in the sequencing reaction.

The bubble.csv file will contain a selection of one template and sequencing primer for each scaffold edge in the assembly. This is u
seful for anchored or bubble PCR applications and will look like so:

pcrType,pcrSubtype,chemistry,project,subcloneName,oligoOne,seqOligoSequence
J38842,G1459,AAACCATAGCGGATTAACG,GGGAATCCAGGACGTAAA
J38842,G1459,GTACCGGCTCGGATTCTT,GGTTGTTGTGTCCTTGAAAC
J38842,G1459,CGTGAACCTTGCCAACAA,CGATACAAAGTCGATTGAAA

The combo.csv will contain scaffold edge to scaffold edge primer pairings in every possible combination. So if you have two scaffold
s (4 scaffold edges), BOSS generates a reaction for each possible scaffold-to-scaffold relationship. combo.csv output looks like thi
s:

project,subcloneName,oligoOneSequence,oligoTwoSequence,seqOligoOneSequence,seqOligoTwoSequence
J38842,G1459,GTCCAGTATATCTGGGATAGCTTAT,CGTGAACCTTGCCAACAA,GAAAGAAGTACAGAAAGAAGTACAGA,CGATACAAAGTCGATTGAAA
J38842,G1459,GTCCAGTATATCTGGGATAGCTTAT,GTCAGCGGCACATTCTTT,GAAAGAAGTACAGAAAGAAGTACAGA,AAGTTCGTATTGGAAATCATTC
J38842,G1459,GTCCAGTATATCTGGGATAGCTTAT,TACAACCTTTGCTCCATCA,GAAAGAAGTACAGAAAGAAGTACAGA,TCAGGTAGCCTTATCACGTT

You will notice that the left template and sequencing primer is the same in all three reactions, but the right are not. This is BOSS
pairing one particular scaffold edge with three other scaffold edges.

Analysis output

In addition to the csv files, boss outputs several files to assist in analysis or validation of the primers. These are bbp.hits,bpp.
hits.se,bpp.stats and bpp.stats.se. The versions with the .se extension are the same as those without except that they are pertinent
to the scaffold edge primers used in the bubble.csv and combo.csv files.

The bpp.hits file is the analysis of each 4 primer set selected for each gap in the assembly. The file looks like this:

Gap Identifier T1 Hits T2 Hits S1 Hits S2 Hits Set Strength
contig00013_contig00014 4 1 1 1 Fair
contig00014_contig00015 1 1 1 1 Excellent
contig00015_contig00016 1 1 1 1 Excellent

Gap Identifier indicates the gap between the contigs to the left and right of the underscore. T1 Hits indicates how many "perfect" b
last hits were found that matched the left template oligo, T2 Hits for the right template oligo, S1 Hits for the left sequencing oli
go, and S2 Hits for the right sequencing oligo. Set Strength is a qualitative rating of the primer set. See Basic Help in section D
for details. Thus, this file gives you an idea of how unique the primers selected are with respect to the entire assembly.

The bpp.stats file gives coordinate information regarding the primers selected, and looks like this:

Gap Identifier T1-S T1-E T2-S T2-E S1-S S1-E S1-DTE S1-L S2-S S2-E S2-L Template Size
contig00015_contig00016 67703 67721 400 418 67825 67847 351 Y 207 230 Y 412
contig00016_contig00017 2444 2463 396 417 2573 2592 349 Y 200 218 Y 407
contig00017_contig00018 55441 55464 367 392 55503 55527 407 Y 228 247 Y 377

The first column identifies the gap as in the bpp.hits file. Columns T1-S,T2-S,S1-S,S2-S give the starting coordinates of each oligo
in its respective contig.T1-E,T2-E,S1-E,S2-E gives the ending coordinates of each oligo in its respective contig. S1-DTE indicates
the distance to the gap edge for the left sequencing primer. S2-S provides the same information for the right sequencing primer. S1-
L and S2-L are just confirmations that the sequencing primers are logically placed, that is, within the bounds of the template prime
rs. Template size indicates the distance between T1-S and T2-E, not including the missing sequence in the gap.

F) HELP!
If you need help with BOSS, please contact the author at amr@broadinstitute.org. Thank you for downloading BOSS V2.2.
Broadie is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 03:14 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO