---
name: "fastaq_chunker"
section: "1"
platform: "linux"
package: "fastaq"
version: "1.5.0-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/fastaq_chunker"
---

# fastaq\_chunker(1)

## NAME

fastaq\_chunker

## DESCRIPTION

 fastaq\_chunker \[options\] \<fasta/q in\> \<prefix of output files\> \<chunk size\> \<tolerance\>

Splits a multi fasta/q file into separate files. Splits sequences into chunks of a fixed size. Aims for chunk\_size chunks in each file, but allows a little extra, so chunk can be up to (chunk\_size + tolerance), to prevent tiny chunks made from the ends of sequences

### positional arguments:

- infile

  Name of input fasta/q file to be split

- outprefix

  Name of output fasta/q file

- chunk\_size

  Size of each chunk

- tolerance

  Tolerance allowed in chunk size

### optional arguments:

- **-h**, **--help**

  show this help message and exit

- **--skip\_all\_Ns**

  Do not output any sequence that consists of all Ns

## AUTHOR

fastaq\_chunker was originally written by Martin Hunt (mh12@sanger.ac.uk)

## COPYING

Wellcome Trust Sanger Institute Copyright © 2013 Wellcome Trust Sanger Institute This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
