Hi
I got a scaffold sequence file from SOAPdenovo like:
>scaffold1 13.6
AATCCGCCGAGATGGGCAGATCCCTTGAGCTCANNNNNNNAATCCGCCGAGATGGGCA
.
.
I need a perl script to remove "N"s and split the scaffold into contigs like:
>scaffold1 13.6 contig1
AATCCGCCGAGATGGGCAGATCCCTTGAGCTCA
>scaffold1 13.6 contig2
AATCCGCCGAGATGGGCA
.
.
I'm new in perl programming. Could anyone help me with that?
Thanks!

I got a scaffold sequence file from SOAPdenovo like:
>scaffold1 13.6
AATCCGCCGAGATGGGCAGATCCCTTGAGCTCANNNNNNNAATCCGCCGAGATGGGCA
.
.
I need a perl script to remove "N"s and split the scaffold into contigs like:
>scaffold1 13.6 contig1
AATCCGCCGAGATGGGCAGATCCCTTGAGCTCA
>scaffold1 13.6 contig2
AATCCGCCGAGATGGGCA
.
.
I'm new in perl programming. Could anyone help me with that?
Thanks!
Comment