Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: compare third column of one file with the first column of another

by soonix (Canon)
on May 06, 2016 at 09:24 UTC ( [id://1162339]=note: print w/replies, xml ) Need Help??


in reply to compare third column of one file with the first column of another

First you should explain what comprises a "column". In your script, you split both files on /\t/ (a tab), so your ptt.txt (which is one single line, btw.) probably has the word "Location" as first column, and the third column of mapped.txt is the string "gi|448814763|ref|NC_00096".

Most probably that is not what you want.

  • Comment on Re: compare third column of one file with the first column of another
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-19 21:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found