Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Finding patterns

by snape (Pilgrim)
on May 24, 2012 at 00:59 UTC ( #972149=note: print w/ replies, xml ) Need Help??


in reply to Finding patterns

This might work for u

if ($seq =~ m/ATGAA(.*)TGCCG/){ print $1; }

Also, the following link1 and link2 talks about the concept of $1 and use of regular expression


Comment on Re: Finding patterns
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://972149]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (13)
As of 2015-07-07 19:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls