Joining 2 Lines Based On First Field
Hi i have something like this in a file
12345 aaaaaaaaaabbbbbbbbbb
23456 bbcbcbbgyhuhuhhhhhhh
12345 7ijkunmmnniiiiiiii
23456 bbcbcbbgyhuhsdrfrrhhhv
I want to merge lines into a single line based on first field i,e.,
12345 aaaaaaaaaabbbbbbbbbb 12345 7ijkunmmnniiiiiiii
23456 bbcbcbbgyhuhuhhhhhhv 23456 bbcbcbbgyhuhsdrfrrhhh
can any one let me know how to do that?
• 1,306 views
•
link
0 answers
No answers yet.
Log in to answer this question.
This is more a text/file manipulation and I see that you have posted here on stackOverflow and people have replied, you might want to wait more for an appropriate answer there. This forum is dedicated to Bioinformatics and/or related ques. Also, for your answer, check this same post on unix forum
Cheers