FASTA Formatter

About

How often have you looked at the FASTA file with lines of 70 bp, and thought "Why can't they use 100 bp"? Now you can reformat it to use any line length with this simple script.

This tool was made by Kirill Kryukov in Saitou lab, NIG. I share it with the hope that it can be useful, but without any warranties.

News

2012-07-31 – Version 0.1.2: Fixed processing of files with mixed end of line characters.

2012-07-04 – This page is created, version 0.1.1 is uploaded.

Download

(Distributed under the zlib/libpng license, see the source file for details)

Usage

perl fasta_formatter.pl [options] <in >out Options: -line-length N - output line length, 60 by default (0 means single line) -eol [dos|mac|unix] - end-of-line of the output, unix by default

If you have any questions, comments or suggestions, please contact me.


  © 2012 Kirill Kryukov
This page is available under the CC BY 3.0 License