Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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?

Replies are listed 'Best First'.
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 meditating upon the Monastery: (7)
As of 2016-06-30 17:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (399 votes). Check out past polls.