Skip to main content
   ______      _____ ____
  / ____/___ _/ ___// __ \
 / /   / __ `/\__ \/ / / /
/ /___/ /_/ /___/ / /_/ /
\____/\__,_//____/\___\_\

pipeline status coverage report Code style: black Documentation Status PyPI - License

PyPI PyPI - Python Version PyPI - Wheel PyPI - Downloads Libraries.io dependency status for latest release

Conda-Forge CaSQ version Conda-Forge CaSQ total downloads badge Made by humans

CaSQ converts CellDesigner and SBGN-ML models to Boolean models encoded in SBML-Qual with a rather strict semantics defined in a published article.

Install

CaSQ is provided as a Python3 package, you can install it from the Python package index with pip, conda or your Python package manager of choice:

$ python3 -m pip install casq

Note that we currently recommend that you use the excellent uv tool from Astral, which allows you to run CaSQ without worrying about any installation procedure at all:

$ uvx casq -v
casq v1.4.3

Command-line usage

Just follow the instructions:

$ casq --help
usage: casq [-h] [-v] [-D] [-c] [-s] [-r S] [-f FIXED] [-n]
            [-u [UPSTREAM ...]] [-d [DOWNSTREAM ...]] [-b] [-g GRANULARITY]
            [-i INPUT] [-C]
            [infile] [outfile]

Convert CellDesigner/SBGNML models to SBML-qual with a rather strict
semantics. Copyright (C) 2019, Sylvain.Soliman@inria.fr GPLv3

positional arguments:
  infile                CellDesigner or SBGN-ML File
  outfile               SBML-Qual/BMA json File

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -D, --debug           Display a lot of debug information
  -c, --csv             Additionally store the information in a .bnet and
                        separate CSV files compatible with the Spreadsheet-
                        SBML-qual format
  -s, --sif             Store the influence information in a separate SIF file
  -r S, --remove S      Delete connected components in the resulting model if
                        their size is smaller than S. A negative S leads to
                        keep only the biggest(s) connected component(s)
  -f FIXED, --fixed FIXED
                        A CSV file containing input values or knock-ins/knock-
                        outs, one per line, with name in the first column and
                        the value in the second.
  -n, --names           Use the names as IDs in the SBML file
  -u [UPSTREAM ...], --upstream [UPSTREAM ...]
                        Only species upstream of this/these species will be
                        kept
  -d [DOWNSTREAM ...], --downstream [DOWNSTREAM ...]
                        Only species downstream of this/these species will be
                        kept
  -b, --bma             Output to BMA json format
  -g GRANULARITY, --granularity GRANULARITY
                        When exporting to BMA, use this granularity
  -i INPUT, --input INPUT
                        When exporting to BMA, nodes with no input should be
                        set to this value
  -C, --colourConstant  When exporting to BMA, colour all variables pink
                        (defaults to colour by compartment)

Release files for casq 1.4.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for casq 1.4.4
File Size Uploaded
casq-1.4.4.tar.gz 620.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for casq 1.4.4
File Interpreter ABI Platform
casq-1.4.4-py3-none-any.whl Python 3 none any Details

Total release size: 662.1 kB

Release files / casq-1.4.4.tar.gz

Download URL casq-1.4.4.tar.gz
Size 620.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f5758796e7c7af980c15e859b6cf04c734ca5e93e1fa6a26ea276320dce48b94
BLAKE2b-256 checksum
How to use checksums
1b823f673adf98743aada30b884112a1d31eb2ed94b1bee3b6a05b42fcfd11d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.16.5 cpython/3.14.0 HTTPX/0.28.1

Release files / casq-1.4.4-py3-none-any.whl

Download URL casq-1.4.4-py3-none-any.whl
Size 41.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60472bc61ebe54f6ef36a53733ae9f399f652135e27e603a64ddac5019e06c64
BLAKE2b-256 checksum
How to use checksums
665f684ef1fd5f4f2afb2eacd9ab93a97fd05536a66c6d00773b0a32fa94e873
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.16.5 cpython/3.14.0 HTTPX/0.28.1

Release history Release notifications | RSS feed

This release

1.4.4 This release

2 release files

1.4.3

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.3

2 release files

1.3.2

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.5

1 release file

1.1.4

1 release file

1.1.3

1 release file

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.9.13

2 release files

0.9.9

2 release files

0.9.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.8.6

2 release files

0.8.2

2 release files

0.8.0

2 release files

0.7.8

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page