datadings.commands.split module

usage: split.py [-h] [-o PATH [PATH …]] [-y] infile split [split …]

Splits one dataset into several smaller ones.

For example two split positions A and B produce three output files:

[…..file1…..|A|…..file2…..|B|…..file3…..]

File 1 contains samples 0 to A-1. File 2 contains samples A to B-1. File 3 contains samples B to end of input.

Positional arguments

infile File to split. split Index where infile is split.

options:
-h, --help

show this help message and exit

-o PATH [PATH …], –outfiles PATH [PATH …]

Output files.

-y, --no-confirm

Don’t require user interaction.

datadings.commands.split.entry()[source]
datadings.commands.split.main()[source]
datadings.commands.split.split_dataset(infile, outfiles, splits, overwrite)[source]