Entering edit mode
8.6 years ago
sp
▴
20
I am trying to convert tab limited "name-seq" format to ">name \n seq\n". I think I can use "awk" function will do the job, but need your help. Thanks for your help!
For example,
From;
CHP2_ABL1_1 ACGACAAGTGGGAGATGGAAC
CHP2_ABL1_2 TAACTAGTCAAGTACTTACCCACTGAAA
TO;
>CHP2_ABL1_1
ACGACAAGTGGGAGATGGAAC
>CHP2_ABL1_2
TAACTAGTCAAGTACTTACCCACTGAAA
Thanks a lot! I need to take some time and learn gawk. It seems really useful tool.
It is really easy and quick tool for transforming table-like data. I use it a lot. But beware, not to be so short to the level of cryptic. You will curse yourself in the future :D Consider mark my answer "accepted" by the way
I will keep that in mind. Your answer "accepted".