>HWI-ST667:190:C0TPFACXX:1:1101:2885:1985 1:N:0:GATCAG
TCGGATAGAGCTCCAAATCTATCT
>HWI-ST667:190:C0TPFACXX:1:1101:3058:1999 1:N:0:GATCAG
CAATATCAACTGCTGCAACTCTCT
>HWI-ST667:190:C0TPFACXX:1:1101:3372:1992 1:N:0:GATCAG
TCAAAGGTTGAAGAGAATGAAATTTCT
>HWI-ST667:190:C0TPFACXX:1:1101:7190:1996 1:N:0:GATCAG
AAAAGGGATGCGAGTTTTGAAACTTCT
>HWI-ST667:190:C0TPFACXX:1:1101:7768:1991 1:N:0:GATCAG
GATGGTGAACTATCT
如何利用perl编程将上面多个序列(每个序列有两行,第一行是序列名称,第二行是序列本身)改成如下格式?也就是把序列名按顺序编号?谢谢!
>seq_1
TCGGATAGAGCTCCAAATCTATCT
>seq_2
CAATATCAACTGCTGCAACTCTCT
>seq_3
TCAAAGGTTGAAGAGAATGAAATTTCT
>seq_4
AAAAGGGATGCGAGTTTTGAAACTTCT
>seq_5
GATGGTGAACTATCT