obidistribute: Distributes sequence records over several sequence records files

obidistribute distributes equitably a set of sequence records over several files (No sequence records are printed on standard output).

The number of files is set using the -n option (required). File names are build with a prefix if provided (-p``option) and the file number (1 to ``n).

Example:

> obidistribute -n 10 -p 'part' seq.fastq

Distribute the sequence records contained in the seq.fastq file and distributes them over files part_1.fastq to part_10.fastq.

obidistribute specific options

-n <INT>, --number=<INT>

Number of files to distribute over.

-p <STRING>, --prefix=<STRING>

Prefix added at each file name.

Options to specify input format

Restrict the analysis to a sub-part of the input file

--skip <N>

The N first sequence records of the file are discarded from the analysis and not reported to the output file

--only <N>

Only the N next sequence records of the file are analyzed. The following sequences in the file are neither analyzed, neither reported to the output file. This option can be used conjointly with the –skip option.

Sequence annotated format

--genbank

Input file is in genbank format.

--embl

Input file is in embl format.

Specifying the sequence type

--nuc

Input file contains nucleic sequences.

--prot

Input file contains protein sequences.

Options to specify output format

Standard output format

--fasta-output

Output sequences in OBITools fasta format

--fastq-output

Output sequences in Sanger fastq format

Generating an ecoPCR database

--ecopcrdb-output=<PREFIX_FILENAME>

Creates an ecoPCR database from sequence records results

Miscellaneous option

--uppercase

Print sequences in upper case (default is lower case)

Common options

-h, --help

Shows this help message and exits.

--DEBUG

Sets logging in debug mode.