Skip to main content

CaSQ: Celldesigner as Sbml-Qual

Project description

   ______      _____ ____
  / ____/___ _/ ___// __ \
 / /   / __ `/\__ \/ / / /
/ /___/ /_/ /___/ / /_/ /
\____/\__,_//____/\___\_\

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

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

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

casq-1.4.3.tar.gz (619.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

casq-1.4.3-py3-none-any.whl (40.1 kB view details)

Uploaded Python 3

File details

Details for the file casq-1.4.3.tar.gz.

File metadata

  • Download URL: casq-1.4.3.tar.gz
  • Upload date:
  • Size: 619.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.2 cpython/3.14.0 HTTPX/0.28.1

File hashes

Hashes for casq-1.4.3.tar.gz
Algorithm Hash digest
SHA256 6736d348244826d1f625b539f74e5337a005c41bb3afdddf00244e0afd52253d
MD5 ca74729b123a28c71a577c7c7c3931d8
BLAKE2b-256 e236277af5669a1da625a56eb7c16af29bdad2c1cd606f7789fa403b27f722ec

See more details on using hashes here.

File details

Details for the file casq-1.4.3-py3-none-any.whl.

File metadata

  • Download URL: casq-1.4.3-py3-none-any.whl
  • Upload date:
  • Size: 40.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.2 cpython/3.14.0 HTTPX/0.28.1

File hashes

Hashes for casq-1.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6b2e157c4e3bd7fb5c30105ada061520d9dca91d5e1233750a7e5634ea98b49d
MD5 ea3964e7a68522ba01851c3f786f43ad
BLAKE2b-256 bcc6874ea348f326166c50f7e47afc2b76691ff8141a49feb80523db7a98df1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page