Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Lower-casing Substrings and Iterating Two Files together

by eye (Chaplain)
on Dec 27, 2008 at 19:52 UTC ( [id://732833]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $seq =  'GGTACACAGAAGCCAAAGCAGGCTCCAGGCTCTGAGCTGTCAGCACAGAGACCGAT';
    $mask = 'GGTNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNT';
    ...
    
    $seq =~ s/$srch/$repl/ee;
    print $seq, "\n";
    
  2. or download this
    GGT(....................................................)T
    GGT . lc($1) . T
    
    GGTACACAGAAGCCAAAGCAGGCTCCAGGCTCTGAGCTGTCAGCACAGAGACCGAT
    GGTacacagaagccaaagcaggctccaggctctgagctgtcagcacagagaccgaT
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-23 14:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found