seismicrna.pool package
Submodules
- class seismicrna.pool.data.PoolDataset(sample: str, datasets: Iterable[Dataset])
Bases:
TallMutsDatasetLoad pooled batches of relation vectors.
- classmethod get_dataset_load_func()
Function to load one constituent dataset.
- classmethod get_report_type()
Type of report.
- seismicrna.pool.main.pool_samples(out_dir: Path, name: str, ref: str, samples: Iterable[str], *, force: bool)
Combine one or more samples into a pooled sample.
- Parameters:
out_dir (
pathlib.Path) – Output directory.name (
str) – Name of the pool.ref (
str) – Name of the referencesamples (
Iterable[str]) – Names of the samples in the pool.force (
bool) – Force the report to be written, even if it exists.
- Returns:
Path of the Pool report file.
- Return type:
- seismicrna.pool.main.run(input_path: tuple[str, ...], *, pool: str = '', max_procs: int = 16, parallel: bool = True, force: bool = False) list[Path]
Merge samples (vertically) from the Relate step.
- Parameters:
pool (
str) – Pooled sample name [keyword-only, default: ‘’]max_procs (
int) – Run up to this many processes simultaneously [keyword-only, default: 16]parallel (
bool) – Run tasks in parallel or in series [keyword-only, default: True]force (
bool) – Force all tasks to run, overwriting any existing output files [keyword-only, default: False]