Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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?
[1nickt]: stevieb it's just a simple web page with a POST form. You can set the attribute so when the user's browser opens a file manager to select a file to upload, it will only show those o f the type you want to get.
[1nickt]: Question for my learned friends: is there a word meaning "CSV-like" i.e. I want to say that I accept CSV files, but the separator doesn;t have to be a comma. Or is that implicit these days?
[chacham]: dsv

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2017-07-22 18:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (340 votes). Check out past polls.