Logo


Home
Biophysical Motivation
Installation
Quick Start Jupyter Notebook
Quick Start command line
Examples
Publications

Quickstart Guide for the Command Line

pip install molclustpy

Downloadable python input files

Downloadable bngl files

python EGFR_model.py

Due to the system configuration, in some cases, you may need to type

python3 EGFR_model.py

Detailed description of code-blocks

This notebook provides a step by step guide on how to change simulation parameters and analyze the results.

Terminal Output and Results

The terminal will ouput this:

png

The outputed results will be found in the same location as the bngl file:

png

Simulation output will be stored in a folder called MyModel if the model name is MyModel.bngl. There are two types of output:

Note: If the folder already contains results and number of current trials is less than existing ones, then existing results will be deleted. For higher number of trials, existing trajectories will be overwritten.

Locating Package Through Command Line

If you need to find the location of the package

import molclustpy
print(molclustpy.__file__)

This will output a path to the package that will look something like this

/usr/local/lib/python3.10/site-packages/molclustpy/__init__.py

Common Error Identification

AttributeError: module 'bionetgen' has no attribute 'bngmodel'
pip uninstall bionetgen
pip install bionetgen