GC content of specific regular expression
0
0
Entering edit mode
3.4 years ago
isha.lily20 ▴ 10

Hello researchers,

Can any one tell me how to find out GC-content of specific regular expression through biopython like ([gG]{3,}\w{1,7}){3,}[gG]{3,}?

I tried adding GC % formula in the script but its is finding GC% of my sequences not of regular expression?

Thank you

GC-content • 1.6k views
ADD COMMENT
1
Entering edit mode

Regular expressions can be anything, so they don't necessarily have a GC-content. Are you interested in finding GC-content by using regular expressions?

It helps greatly to pose questions using more than one sentence.

ADD REPLY
0
Entering edit mode

Hello Mensur Diakic, yes obvious regular expression can b any thing but they do have GC content when specific regular expression carries more GC content ,

Finding GC content by a formula is easy in a particular sequences

but the question was how to find out GC content of regular expression when u have a regular expression with more GC content .

ADD REPLY
1
Entering edit mode

There is no easy way to judge which regex has more "GC" content capacity. For example, (GC){5} can have more GC than (GC)+ but it can also have less or equal GC content. You could count the number of occurrence of the string GC in the regex, but that is not a reliable metric. I'd say this question of calculating GC content in a regular expression makes no sense unless all the GC in the regular expression is made of characters with no meta-characters.

ADD REPLY
0
Entering edit mode

Please follow up on your previous questions - your behavior of asking questions and then abandoning the posts is bad etiquette at best and spam at worst. If this continues, your account might be suspended.

ADD REPLY
0
Entering edit mode

Hello Ram, i am following my previous questions , and i am not abandoning the post , obviously i am more concern for my project than any one else .

ADD REPLY
0
Entering edit mode

Please do not worry about suspension - as long as you follow up on posts and contribute (by accepting answers that work for you, upvoting content that help you, answering follow up questions, etc), you're using the forum right. Do read up on this post to understand how to ask questions on a forum - in my experience, a lot of your problems get solved when you write them out for others to understand.

Also, use your bio to say something about your professional self (if you wish to). Using it to send a message comes across as weird and even mildly passive aggressive. If you have any concerns, please email admin [at] biostars [dot] org.

ADD REPLY

Login before adding your answer.

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