Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: output the overlapping regions to new file

by starX (Chaplain)
on Jan 22, 2014 at 17:13 UTC ( [id://1071648]=note: print w/replies, xml ) Need Help??


in reply to output the overlapping regions to new file

I don't know how big your files are, so I don't know how practical of a solution this will be, but you might try saving each sequence from each file as the key of a hash (set the value to 1), and then checking to see if the keys of one hash are present in the other, and if so, save those as the keys of a third hash, which then contains the sequences that are duplicated between the two files.
  • Comment on Re: output the overlapping regions to new file

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 16:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found