Hi,
Please let me know how the coding can be done for extracting each sequence in separate files, from a single file (*.txt or *.fa) containing those multiple sequences in Fasta formay.
Now, please let me elaborate this:
Suppose I have a file MultiFasta.txt which containes these three sequences in Fasta format:
> Species1
GTTGATGTAGCTTAAACTTAAAGCAAGGCA... ...AACAGACTTACACATGCAAGCATCCACGCCCCGGTGAG
> Species2
CGCTTAACCACACCC... ... ...CCATAA
> Species3
ATTAGATACCCC... ...TATATACCGCCATCTTCAGCAAACCC
Now I want these sequences should be extracted in separate files (eithe text format or fasta format). Please let me know what should be the code for the same. I was trying but, all in vein.
Thanks in advance.
Please let me know how the coding can be done for extracting each sequence in separate files, from a single file (*.txt or *.fa) containing those multiple sequences in Fasta formay.
Now, please let me elaborate this:
Suppose I have a file MultiFasta.txt which containes these three sequences in Fasta format:
> Species1
GTTGATGTAGCTTAAACTTAAAGCAAGGCA... ...AACAGACTTACACATGCAAGCATCCACGCCCCGGTGAG
> Species2
CGCTTAACCACACCC... ... ...CCATAA
> Species3
ATTAGATACCCC... ...TATATACCGCCATCTTCAGCAAACCC
Now I want these sequences should be extracted in separate files (eithe text format or fasta format). Please let me know what should be the code for the same. I was trying but, all in vein.
Thanks in advance.
Comment