Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Molecular weight of Protein

by 2teez (Priest)
on Aug 07, 2013 at 05:40 UTC ( #1048248=note: print w/ replies, xml ) Need Help??


in reply to Molecular weight of Protein

You could also use: "Positive lookahead"

$_ = '>gi|226694487|sp|Q1DF98.2|ATPF_MYXXD RecName: Full=ATP synthase +subunit b; AltName: Full=ATP synthase F(0) sector subunit b; AltName: + Full=ATPase subunit I; AltName: Full=F-type ATPase subunit b; Short= +F-ATPase subunit b'; print $1 if/(.+?)(?= RecName)/;
NOTE: Am only showing the use of positive lookahead using the OP.

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me


Comment on Re: Molecular weight of Protein
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (15)
As of 2015-07-06 13:31 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 (74 votes), past polls