I need a Perl script to concatenation the line..
I have more than 1000 gene name (>pmpI) and its function (polymorphic outer membrane protein) its is in separate line and i wish to join the function of the gene near to the gene name, so that it can be easy in future to visualize and save it for further reference.
Eg: Files content looks like this
>pmpG
polymorphic outer membrane protein
>pmpH
polymorphic outer membrane protein
>CTA_0953
hypothetical protein
>pmpI
polymorphic outer membrane protein
I tried to do manually in excel manually, but its not possible for many files, so i thought to get help from programmer..
I need Perl script to concatenation the lines
Program out put should be like this:
>pmpG polymorphic outer membrane protein
>pmpH polymorphic outer membrane protein
>CTA_0953 hypothetical protein
>pmpI polymorphic outer membrane protein