Primer-blast with bioconductor packages
1
0
Entering edit mode
@vinicius-henrique-da-silva-6713
Last seen 19 months ago
Brazil

There is an interesting function at NCBI website called primer-blast (http://bmcbioinformatics.biomedcentral.com/articles/10.1186/1471-2105-13-134). This function infers the expected amplicons coordinates when a primer pair sequences are tested against a genomic sequence.

I would like to know if there is some function with similar objective in the Bioconductor project. Let´s say that I am a code like that:

### Loading genomic sequence
library(Biostrings)
g = readDNAStringSet("genomicseq.fa") 

### Loading primer GRanges position
library(GenomicRanges)
gr <- 'chr start end strand
       chr1 10  30  +
       chr1 100 120 -'
gr <- read.table(text=gr, header=T)
gr <- makeGRangesFromDataFrame(gr, start.field="start", end.field="end", strand="strand")

What could I do with "g" and "gr" objects to find possible amplicons here?
 

primer blast • 1.7k views
ADD COMMENT
0
Entering edit mode
@herve-pages-1542
Last seen 6 days ago
Seattle, WA, United States

Hi,

It's not clear to me whether you want to design primers or if you already have a set of primers and want to match them against a genome to find the theoretical locations of the amplicons. If the fomer, check out the DECIPHER package which provides tools for primer design:

    http://bioconductor.org/packages/DECIPHER

If the latter, please have a look at matchProbePair() in the Biostrings package. See ?matchProbePair (after doing library(Biostrings)) for more information.

H.

PS: FWIW you can create your GRanges object gr with just:

GRanges(c("chr1:10-30:+", "chr1:100-120:-"))
ADD COMMENT

Login before adding your answer.

Traffic: 608 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6