[Bioperl-l] how-to-remove-redundant-lines

vijayaraj nagarajan bioinfovijayaraj at yahoo.com
Wed Jun 29 03:19:47 EDT 2005

i have a cluster file with contents like this:

1 2 5 7 8 11
2 5 7 8 11 
3 13 17 19
4 21 45 67
5 7 8 11

Now the 1,2 and 5th lines are redundant. i need to
remove the 2nd and 5th line from the file, while
retaining only the first line, since the first line
contains all the members present in 2 and 5th line...

could anyone suggest me how to parse this file, to
remove such redundant lines using perl.
any help and suggestions in this regard would be
greatly appreciated.


vijayaraj nagarajan
research assistant
the university of southern mississippi
ms, usa 

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the Bioperl-l mailing list