Tuesday 15 July 2014

perl - how to one line text format and convert to multi line text? -


I'm using noob so I want some help. For example, I have anonosis sequence in the file. In a line so I need 60 aminoids in one line. How can I do that using Pearl?

  open your $ infiline, '', '/ path / to / sequence file' "Or $$! Open your $ outfile, '& gt;', "/ path / to / newfile" or $$! While joining {print $ outfile (my $ line = & lt; $ infile & gt;) ("\ n", partition (/ \ / s,, $ line)). "\ N"; } $ Infile; Around $ outfill;    

No comments:

Post a Comment