How to have the sed output side by side?

后端 未结 6 1894
忘了有多久
忘了有多久 2021-01-22 10:55

I want to have standard output for KEGG pathways of a gene placed side by side no matter how many lines of the KEGG pathways it has. For example, a gene TT123456 is involves in

6条回答
  •  北海茫月
    2021-01-22 11:19

    You can use xargs like this:

    $ xargs -n15 

    Note 15 is the number of words in your file. You could write a bigger number like xargs -n50 < file to make sure everything printed in the same line.

提交回复
热议问题