Hello,
With the aim of doing some phylogenetics based on Multi Locus Sequence Alignment, I need to generate concatenated sequences of several genes.
Does anyone how can I do it quickly by using any unix based command line? If yes, could you please help me and shae with me the program?
Thank you in advance
Example:
If I have 4 fasta files containing the sequence of 4 genes:
genea.fas
>geneA
ATGCCGTAATGCTAGCTAG
geneb.fas
>geneB
GTCGGCCTACGATCGGCCCTTTACG
genec.fas
>geneC
ACGCAGCCTGCGAGCTCA
gened.fas
>geneD
CATCCACTACCTTACGATCG
I need to obtain a final file containing 1 only concatenated sequence
concat.fas
>concat
ATGCCGTAATGCTAGCTAGATGCCGTAATGCTAGCTAGACGCAGCCTGCGAGCTCACATCCACTACCTTACGATCG