Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Defining substring matches

by jwkrahn (Monsignor)
on Sep 21, 2013 at 01:24 UTC ( #1055094=note: print w/ replies, xml ) Need Help??


in reply to Re: Defining substring matches
in thread Defining substring matches

until( eof( FASTA) {

You have two left parentheses but only one right parenthesis.

$seq =~ tr[\n][];

You are replacing the newline character with a newline character?


Comment on Re^2: Defining substring matches
Select or Download Code
Re^3: Defining substring matches
by Anonymous Monk on Sep 21, 2013 at 02:19 UTC

    You are replacing the newline character with a newline character?

    Indeed, to count newline characters, but not save the count? Hmmm:)

Re^3: Defining substring matches
by BrowserUk (Pope) on Sep 21, 2013 at 02:38 UTC
    See above:
    NB: The above is untested code typed directly into my browser.

    Corrected.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2014-11-27 23:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (190 votes), past polls