Hello, biostars! I have two fasta files for two different genes and want to create one data matrix. Is there any function in R for that? F.ex. if I have 2 DNAbin objects for that genes. Id numbers are identical in both files. I have the first file:
>sp1 aacc >sp2 ggtt
the second file:
>sp1 ggaa >sp2 ttgg
>sp1 aaccggaa >sp2 ggttttgg
Python is also OK, but i'm interested in R.