Re: Adjusting line lengths

2009-12-13 Thread Hattori Hanzo
Hello, and thanks to all of you! The joining issue is solved by :2,$j! and the splitting issue by :s/.\{49}/&\r/g As I'm working with genes, files are not that big and contain about 1 characters. However, when it comes to genomes, sequence lengths will get bigger. Therefore also thanks f

Adjusting line lengths

2009-12-12 Thread Hattori Hanzo
Hello, I am molecular biologist, so I'm frequently dealing with large sequence strings in fasta-format. Unfortunately, I'm not an IT expert. Fasta files are textfiles beginning with > followed by a header. After the first "return", sequence strings start until the end of the file or until the nex