Contents
DownloadLiftoverChainRule
Download liftover chain rule
DownloadLiftoverChainRule materializes a liftover.chain resource by
downloading the configured chain file into the resource store.
Super class
PolyGenius::Rule -> DownloadLiftoverChainRule
Methods
Public methods
DownloadLiftoverChainRule$new()DownloadLiftoverChainRule$matches()DownloadLiftoverChainRule$inputs()DownloadLiftoverChainRule$requirements()DownloadLiftoverChainRule$run()DownloadLiftoverChainRule$clone()
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 = 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
DownloadLiftoverChainRule$clone(deep = FALSE)
Arguments
deep — Whether to make a deep clone.