|
-
Nov 23rd, 2010, 11:47 PM
#1
Thread Starter
New Member
counting base pairs
Dear all,
how to count the base pairs of a DNA and protein sequence?
What are the codings in VB?
-
Nov 24th, 2010, 04:35 AM
#2
Re: counting base pairs
Thread moved from the 'CodeBank VB6' forum (which is for you to post working code examples, not questions) to the 'VB6 and earlier' forum
-
Nov 24th, 2010, 06:25 AM
#3
Re: counting base pairs
How does a protein sequence (your data) look like?
-
Nov 24th, 2010, 07:09 AM
#4
Re: counting base pairs
I'm no biologist, I've just had a quick peek at wikipedia, do you have a bunch of strings which you need to match up like "(5)ATCGATTGAGCTCTAGCG(3)" pairs with "(5)CGCTAGAGCTCAATCGAT(3)" (I think I've just twigged where the film GATTACA gets its name.)
-
Nov 24th, 2010, 03:58 PM
#5
Re: counting base pairs

Sorry about the non-related posts that you might have seen before I deleted them.
-
Nov 24th, 2010, 04:15 PM
#6
Re: counting base pairs
OK, on the assumption that this is a serious question, and taking baja_yu's question into account, what data do you have (an example would be helpful) and what code have you already tried ?
-
Nov 26th, 2010, 03:59 AM
#7
Re: counting base pairs
I've done some research and I suspect you've just worded your request slightly incorrectly.
Are you looking to take a protein, work out the amino acids and RNA / DNA condons, and then decode into nucleotides and count them ?
eg (Somewhat simplified)
Peptide -> amino acids = Met Alo Trp Thr Ser -> mRNA = A U G G C C U G G A C U U C A
-> DNA Condons(Antisense) = {T A C} {C G G} {T C C} {T G T} {T G T}
-> nucleotides = T A C C G G T C C T G T T G T
from which you can work out the Sense strand (the Compliment) giving you the Base Pairings
T A C C G G T C C T G T T G T -> Antisense
A T G G C C A G G A C A A C A -> Sense
ie 15 Base Pairs in this example.
EDIT: Further reading suggests (to me at least) that the number of DNA Base Parings will always be 3 X number of amino acids (Number of condons). RNA might be different due to the start and stop condons but I've still to get my head round that.
Last edited by Doogle; Nov 26th, 2010 at 07:52 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|