Entering edit mode
3.0 years ago
Vladimir Leshuk
▴
50
I found .ali file with alignment in this article but I can't open it properly, can you please suggest some programs or web applications to convert it to a more convenient format?
You can open it with a text editor (vi, nano, gedit, geany, textpad etc on GNU-linux, notepad++ on windows). However, the file seems to be in non-standard .ali format. There are many ali files and I looked at 13062_2009_161_MOESM2_ESM.ali.
Try this script:
tr -s $'\t' < 13062_2009_161_MOESM2_ESM.ali | awk -v OFS="\n" '{print ">"$1,$2}' > 13062_2009_161_MOESM2_ESM.fa
Thanks a lot!!! Your script has solved my problem)