DownloadLiftoverChainRule

Download liftover chain rule

Description

Download liftover chain rule

Download liftover chain rule

Details

DownloadLiftoverChainRule materializes a liftover.chain resource by downloading the configured chain file into the resource store.

Super class

PolyGenius::Rule -> DownloadLiftoverChainRule

Methods

Public methods

Inherited methods

Method new()

Create the liftover-chain download rule.

Usage
DownloadLiftoverChainRule$new()

Method matches()

Check whether this rule can produce one output spec.

Usage
DownloadLiftoverChainRule$matches(output.spec)
Arguments
output.spec

Output resource specification.

Returns

Logical.


Method inputs()

Build dependency inputs.

Usage
DownloadLiftoverChainRule$inputs(output.spec)
Arguments
output.spec

Output resource specification.

Returns

Named list of dependency specs.


Method requirements()

Declare runtime requirements.

Usage
DownloadLiftoverChainRule$requirements(output.spec, inputs)
Arguments
output.spec

Output resource specification.

inputs

Bound input values.

Returns

Named list with cores and memory.


Method run()

Execute liftover-chain download.

Usage
DownloadLiftoverChainRule$run(output.spec, inputs, 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
DownloadLiftoverChainRule$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.