More seriously, there is the babel command from Open Babel
in case the second format you show has a known name.
On 05/08/2012 04:46 PM, Francois Berenger wrote:
> The tool is called awk.
> There is also another tool called Perl, but I won't recommend it.
> On 05/08/2012 04:02 PM, K Singh wrote:
>> Dear All
>> I was looking for a script or an informatics tool enabling me to
>> change the sequence from FASTA format to something like following:
>>> FASTA FORMAT
>> 1 abcde fghij
>> 11 klmno pqrst
>> 21 uvwxy z
>> Many thanks in advance