FASTA Splitter

About

When sequence data is large it often makes sense to analyze it in smaller chunks. This script divides a large FASTA file into a set of smaller equally sized files.

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-03-02 – Version 0.1.1 - minor correction.

2012-02-01 – This page is created, version 0.1.0 is uploaded.

Download

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

Usage

Usage: perl fasta_splitter.pl method [options] fastafile Where "method" is one of: -n-parts-total N - split into N parts of similar total size -n-parts-sequence N - split into N parts of similar sequence size -part-total-size N - split into parts of at most N bytes each -part-sequence-size N - split into parts containing at most N bp each Options: -line-length N - output line lenght, 60 by default -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