snakemake.resources

Functions

eval_resource_expression(val[, threads_arg])

infer_resources(name, value, resources)

Infer resources from a given one, if possible.

is_humanfriendly_resource(value)

parse_resources(resources_args[, fallback])

Parse resources from args.

Classes

DefaultResources([args, from_other, mode])

GroupResources()

ParsedResource(orig_arg, value)

ResourceScopes(*args, **kwargs)

Index of resource scopes, where each entry is 'RESOURCE': 'SCOPE'