webng package

Subpackages

Submodules

webng.main module

webng.main.main()[source]
class webng.main.weBNG(label=None, **kw)[source]

Bases: App

weBNG primary application.

class Meta[source]

Bases: object

config_defaults = {'webng': {'foo': 'bar'}}
config_file_suffix = '.yml'
config_handler = 'yaml'
description = 'A command line tool to setup WESTPA simulations from BNGL models.'
exit_on_close = True
extensions = ['yaml', 'colorlog']
handlers = [<class 'webng.main.weBNGBase'>]
help = 'weBNG'
label = 'webng'
log_handler = 'colorlog'
class webng.main.weBNGBase(*args, **kw)[source]

Bases: ArgparseController

webng is a simple command line tool to simplify WESTPA simulations of BioNetGen models. It can generate a template options file and using the options file you can generate a WESTPA folder ready to run using the model file given.

setup

creates a WESTPA folder ready to run form a given options YAML file

template

generates a simple template YAML file to pass to setup subcommand

analysis

runs the analyses set in the YAML config file

class Meta[source]

Bases: object

description = 'webng'
help = 'webng'
label = 'webng'
analysis()[source]

The analysis subcommand

setup()[source]

This sub command sets up a WESTPA folder from a given options YAML file.

See “webng template -h” for more information on the options YAML file.

template()[source]

This sub command is used to write a template options file

class webng.main.weBNGTest(label=None, **kw)[source]

Bases: TestApp, weBNG

A sub-class of weBNG that is better suited for testing.

class Meta[source]

Bases: object

label = 'webng'

Module contents