Do I have to look for sequence or reverse complement?
1
0
Entering edit mode
8.0 years ago
eyb ▴ 270

I have a gene reference sequence I downloaded from NCBI: https://www.ncbi.nlm.nih.gov/gene/102267223#reference-sequences I've read a paper and wanted to do a little sanity check mostly for educational purposes. Basically I want to find primers in a reference sequence. The primers are for example:

E8-S GCTAACCTCTCTGGACCACCTTC 
E8-A TGTCAGCCTCAGGAACACCC

I could find Start primer, but couldn't find Abort primer. The command I am using to find primers is:

In [74]: yak_2.seq.find("GCTAACCTCTCTGGACCACCTTC")
Out[74]: 35708

When I tried to search for reverse_compliment() did not find anything. Am I doing something stupidly wrong?

Thanks.

sequence BioPython • 2.8k views
ADD COMMENT
0
Entering edit mode

How did you search for reverse_complement? Just to be sure that's not where things went wrong...

ADD REPLY
0
Entering edit mode
In [86]: dna = Seq("GCTAACCTCTCTGGACCACCTTC")
In [87]: dna.reverse_complement
Out[87]: <bound method Seq.reverse_complement of Seq('GCTAACCTCTCTGGACCACCTTC', Alphabet())>
In [88]: dna.reverse_complement()
Out[88]: Seq('GAAGGTGGTCCAGAGAGGTTAGC', Alphabet())
In [90]: yak_2.seq.find(dna.reverse_complement())
Out[90]: -1
ADD REPLY
0
Entering edit mode

Can't think of what is wrong right now. But I assume the S and A stand for sense and antisense. When I use those primers for in silico pcr on the UCSC genome browser I find a product matching the correct gene.

ADD REPLY
2
Entering edit mode

If A is the antisense primer, I guess that means op needs to revcomp the E8-A sequence TGTCAGCCTCAGGAACACCC not the sense one. In general I would search both primers in both directions.

ADD REPLY
0
Entering edit mode

I've searched for reverse compliment of antisense primer, but it does not find anything.

ADD REPLY
0
Entering edit mode
8.0 years ago

Many of the popular DNA sequence matching tools (eg BWA, BarraCUDA, Bowtie2) include looking for the antisense match by default. Bill

ADD COMMENT

Login before adding your answer.

Traffic: 2300 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