Entering edit mode
3.5 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
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.
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 .
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 stringGC
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 theGC
in the regular expression is made of characters with no meta-characters.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.
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 .
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.