Merging list problem

Posted by Martin Malmstrøm on Stack Overflow See other posts from Stack Overflow or by Martin Malmstrøm
Published on 2010-01-18T13:25:56Z Indexed on 2010/03/19 6:11 UTC
Read the original article Hit count: 196

Filed under:
|
|

Sorry about the bad heading, but the question was not easy to compress into one sentence...

I have two lists of contigs (list1 and list2). They contain mostly unique contigs, but with some overlap. I want to compare list1 and list2 and then create a list3 that contains all contigs in list1 minus those also present in list2. Is this possible with a simple cat/paste/grep/sort/uniq kind of batch command?

Thanks!

© Stack Overflow or respective owner

Related posts about batch

Related posts about command-line