intect has asked for the wisdom of the Perl Monks concerning the following question:
>GL13245678
ABDVEADGADE>GL123456789
BDADSFAEADVASDFGAGWE
>GL1254367890
DGAEGAHAGADRGASGASDGI want to shorten the header to GL + 6 digits (only keep the first 6 digits from the orginal header), like this:
>GL132456
ABDVEADGADE>GL123456
BDADSFAEADVASDFGAGWE>GL125436
DGAEGAHAGADRGASGASDGAt the same time, there is an empty line above each header (CL123456) and I want to remove these empty lines. Can anyone help me with this? Thanks
|
|---|