API

Main functions

create_binaries(file_prefix[, binary_dir])

Create binary files from fullband (FB) TSV files.

read_rfmix(file_prefix[, binary_dir, ...])

Read RFMix files into data frames and a Dask array.

Support functions

Chunk([nsamples, nloci])

Chunk specification for a contiguous submatrix of the haplotype matrix.

delete_files_or_directories(path_patterns)

Deletes the specified files or directories using the 'rm -rf' command.

get_prefixes(file_prefix[, verbose])

Retrieve and clean file prefixes for specified file types.

read_fb(filepath, nrows, ncols, row_chunk, ...)

Read and process data from a file in chunks, skipping the first 2 rows (comments) and 4 columns (loci annotation).

set_gpu_environment()

Reviews and prints the properties of available GPUs.

Admixture functions

generate_tagore_bed(loci, rf_q, admix, ...)

Generate a BED (Browser Extensible Data) file formatted for TAGORE visualization.

admix_to_bed_chromosome(loci, rf_q, admix, ...)

Returns loci and admixture data to a BED (Browser Extensible Data) file for a specific chromosome.