snakemake.io.Params

class snakemake.io.Params(toclone=None, fromdict=None, plainstr=False, strip_constraints=False, custom_map=None)[source]
__init__(toclone=None, fromdict=None, plainstr=False, strip_constraints=False, custom_map=None)

Create the object.

Arguments toclone – another Namedlist that shall be cloned fromdict – a dict that shall be converted to a

Namedlist (keys become names)

Methods

__init__([toclone, fromdict, plainstr, ...])

Create the object.

append(object, /)

Append object to the end of the list.

clear()

Remove all items from list.

copy()

Return a shallow copy of the list.

count(value, /)

Return number of occurrences of value.

extend(iterable, /)

Extend list by appending elements from the iterable.

get(key[, default_value])

index(value[, start, stop])

Return first index of value.

insert(index, object, /)

Insert object before index.

items()

keys()

pop([index])

Remove and return item at index (default last).

remove(value, /)

Remove first occurrence of value.

reverse()

Reverse IN PLACE.

sort(*[, key, reverse])

Sort the list in ascending order and return None.

update(items)