i got a big blast2go result, it's just like:
Contig1 GO:0016301
Contig2 GO:0016301
Contig3 GO:0016301
Contig4 GO:0003700
Contig4 GO:0009651
Contig4 GO:0006355
Contig5 GO:0009556
Contig5 GO:0005515
Contig5 GO:0080019
Contig5 GO:0016563
Contig5 GO:0016627
Contig6 GO:0003700
Contig6 GO:0010018
now i want to use WEGO ,so i need to convert it like:
Contig1 GO:0016301
Contig2 GO:0016301
Contig3 GO:0016301
Contig4 GO:0003700 GO:0009651 GO:0006355
Contig5 GO:0009556 GO:0005515 GO:0080019 GO:0016563 GO:0016627
Contig6 GO:0003700 GO:0010018
but i don't know how to write a script,could you write a script for me ? Thanks a lot
Contig1 GO:0016301
Contig2 GO:0016301
Contig3 GO:0016301
Contig4 GO:0003700
Contig4 GO:0009651
Contig4 GO:0006355
Contig5 GO:0009556
Contig5 GO:0005515
Contig5 GO:0080019
Contig5 GO:0016563
Contig5 GO:0016627
Contig6 GO:0003700
Contig6 GO:0010018
now i want to use WEGO ,so i need to convert it like:
Contig1 GO:0016301
Contig2 GO:0016301
Contig3 GO:0016301
Contig4 GO:0003700 GO:0009651 GO:0006355
Contig5 GO:0009556 GO:0005515 GO:0080019 GO:0016563 GO:0016627
Contig6 GO:0003700 GO:0010018
but i don't know how to write a script,could you write a script for me ? Thanks a lot
Comment