PolyGenius
Contents

DownloadLDBlocksRule

Download LD block boundary rule

DownloadLDBlocksRule materializes an ld.block.boundaries resource by downloading the configured Berisa-Pickrell BED file into the resource store.

Super class

PolyGenius::Rule -> DownloadLDBlocksRule

Methods

Public methods

  • DownloadLDBlocksRule$new()
  • DownloadLDBlocksRule$matches()
  • DownloadLDBlocksRule$inputs()
  • DownloadLDBlocksRule$requirements()
  • DownloadLDBlocksRule$run()
  • DownloadLDBlocksRule$clone()

Method new()

Create the LD block boundary download rule.

Usage

DownloadLDBlocksRule$new()

Method matches()

Check whether this rule can produce one output spec.

Usage

DownloadLDBlocksRule$matches(output.spec)

Arguments

output.spec — Output resource specification.

Returns

Logical.

Method inputs()

Build dependency inputs.

Usage

DownloadLDBlocksRule$inputs(output.spec)

Arguments

output.spec — Output resource specification.

Returns

Named list of dependency specs.

Method requirements()

Declare runtime requirements.

Usage

DownloadLDBlocksRule$requirements(output.spec, inputs)

Arguments

output.spec — Output resource specification.

inputs — Bound input values.

Returns

Named list with cores and memory.

Method run()

Execute LD block boundary download.

Usage

DownloadLDBlocksRule$run(output.spec, inputs, logger = pg.logger())

Arguments

output.spec — Output resource specification.

inputs — Bound input values.

logger — Rule logger.

Returns

Rule result list with data, meta, and logs.

Method clone()

The objects of this class are cloneable with this method.

Usage

DownloadLDBlocksRule$clone(deep = FALSE)

Arguments

deep — Whether to make a deep clone.

See Also