I have three fasta files and basically all i want is to get is the consensus or union of three fasta files. I mean, i want to pull out all the sequences that are common among three files and put them in a separate fasta file. The three fasta files were generated differently and have different headers but the sequences are identical among three files. Is there a tool or script that does this?
If there is no existing tool/script, this is a fairly basic bioinformatics programming task which you should learn how to do.
I do understand it is basic bioinformatics programming but i thought if there is something already written then i can just use it rather than trying to write by myself
How large are the fasta files?
The files are not more than 100MB
search for "multiple sequence alignment" in a search engine of your choice or encyclopedia to get a starting point.
Your question title and use of the term "consensus sequence" is misleading, it is reserved for alignments; it seems that you are looking to find exactly identical sequences instead. Please take at least one quarter of the time it will take us to answer your question, to put a proper example, and to explain what you already have tried.