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

# fastaq\_split\_by\_base\_count(1)

## NAME

fastaq\_split\_by\_base\_count

## DESCRIPTION

 fastaq\_split\_by\_base\_count \[options\] \<fasta/q in\> \<prefix of output files\> \<max\_bases\>

Splits a multi fasta/q file into separate files. Does not split sequences. Puts up to max\_bases into each split file. The exception is that any sequence longer than max\_bases is put into its own file.

### positional arguments:

- infile

  Name of input fasta/q file to be split

- outprefix

  Name of output fasta/q file

- max\_bases

  Max bases in each output split file

### optional arguments:

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

  show this help message and exit

- **--max\_seqs** INT

  Max number of sequences in each output split file \[no limit\]

## AUTHOR

fastaq\_split\_by\_base\_count 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.
