split merge

Usage

Run using mc_script split merge after installation or using ~ndcn0236/bin/mc_script split merge on jalapeno.

Import in python using from mcutils.scripts.split import merge

Documentation

Merge result from individual runs

Functions

merge_basenames(basenames, out_basename[, clean])

Merges all files starting with given basenames into files starting with out_basename

merge_directories(directories, out_directory)

Merges all files in the input directories into out_directory

merge_files(paths, out_path[, clean])

Merges the given files into a single file

run(names, njobs[, clean])

Access to the script for other python programs.

CLI interface

add_to_parser(parser)

Creates the parser of the command line arguments

run_from_args(args)

Runs the script based on a Namespace containing the command line arguments