cg
Clinical Genomics command center
Decision gist · record as of 2026-08-14
Yes, if you are operating a clinical genomics platform or integrating with SciLifeLab's infrastructure. The package is actively maintained, has no known vulnerabilities, and low install friction. However, verify the license terms before use, and note that it is tightly scoped to clinical sequencing workflows—not a general-purpose library. The Python version requirement and large dependency footprint make it suitable for dedicated backend deployment rather than lightweight embedding.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later (not compatible with Python 3.13 or later).
- Intended for clinical genomics workflows; runtime dependencies include database (SQLAlchemy, PyMySQL), web framework (Flask stack), and bioinformatics tools (genologics).
- Low install friction with a pure-Python wheel distribution.
License · maintenance · safety
(unclear) — License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before using in proprietary or restricted contexts.
last release 2026-08-13 (1 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 90,961 downloads/mo, #13,553 on PyPI
Alternatives
Verify before relying
pip install cg
from cg import SomeModule # Exact import depends on cg's public API
# Use CLI: cg --help- Exact public API surface and recommended import patterns are not documented in the excerpt.
- Whether the package is intended for end-user installation or primarily as a backend service component.
- Specific genomic file formats and sequencing platforms supported by the orchestration layer.
What it is and what it does
cg is a clinical sequencing platform developed at SciLifeLab that acts as a command center for genomic analysis workflows. It provides both HTTP REST APIs (powering the clinical.scilifelab.se web portal) and a command-line interface to automate interactions between sequencing tools and manage cross-tool communication. The package bundles a substantial dependency stack including Flask for the web layer, SQLAlchemy for data persistence, cryptography for secure operations, and specialized bioinformatics libraries like genologics for instrument integration.
The platform is designed to bridge multiple genomic analysis tools and expose their capabilities through unified interfaces. It runs on Python 3.11 or later and is actively maintained, with recent releases. The large runtime dependency footprint reflects its role as a full-stack system rather than a lightweight library, combining web serving, database management, authentication, and domain-specific genomics integration.
Use it for
- Orchestrate multi-step clinical sequencing workflows across different bioinformatics tools and instruments.
- Expose genomic analysis capabilities via REST API for a web-based clinical reporting portal.
- Automate routine genomic data processing and sample tracking from the command line.
- Integrate with laboratory information systems and sequencing instruments via standardized APIs.
- Manage authentication and authorization for clinical genomics platforms using OAuth and cryptographic controls.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are operating a clinical genomics platform or integrating with SciLifeLab's infrastructure.
The package is actively maintained, has no known vulnerabilities, and low install friction. However, verify the license terms before use, and note that it is tightly scoped to clinical sequencing workflows—not a general-purpose library. The Python version requirement and large dependency footprint make it suitable for dedicated backend deployment rather than lightweight embedding.
Install
cg on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with a release within the last day. Requires Python 3.11 or later; the capped upper bound suggests compatibility testing against specific versions rather than forward compatibility.
Requires Python 3.11 or later (not compatible with Python 3.13 or later). Intended for clinical genomics workflows; runtime dependencies include database (SQLAlchemy, PyMySQL), web framework (Flask stack), and bioinformatics tools (genologics).
License in practice
License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before using in proprietary or restricted contexts.
Quickstart
pip install cg
from cg import SomeModule # Exact import depends on cg's public API
# Use CLI: cg --help
Verify before relying
- Exact public API surface and recommended import patterns are not documented in the excerpt.
- Whether the package is intended for end-user installation or primarily as a backend service component.
- Specific genomic file formats and sequencing platforms supported by the orchestration layer.
Package facts
| License | Not declared unclear |
| Python support | Capped below the current Python release <3.13,>=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 40 packagesCacheControlFlaskFlask-AdminFlask-CORSFlask-DanceFlask-WTFJinja2MarkupSafePyMySQLPyYAMLSQLAlchemyWTFormsalembicblinkercachetoolsclickcoloredlogscryptographyemail-validatorgenologicsgoogle-authgunicornhousekeeperlxmlmarshmallownats-pyopenpyxlpackagingparamikopetname |
| Maintenance | Actively maintained 1 days since the last release |
| First released | |
| Downloads | 90,961 / month, #13,553 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: PythonProgramming Language :: Python :: 3.11Programming Language :: Python :: Implementation :: CPython |
Evidence: cg-88.2.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “clinical genomics platform”
- cgcg is a clinical sequencing platform that provides REST APIs and CLI…
- biocommons.seqrepoSeqRepo stores and retrieves biological sequences in a non-redundant,…
- varcodeVarcode loads and analyzes genomic variant data, predicting how DNA…
Give your agent the search over MCP, or paste the wish link into any chat.
More Information Analysis packages
A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.
pyarrow provides Python bindings to Apache Arrow's C++ libraries for efficient columnar data processing, serialization, and interoperability with pandas, NumPy, and other Python ecosystem tools.
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.
Snowpark Python provides APIs to query and process data directly in Snowflake without moving data to your local system, with support for both native Snowpark and pandas-compatible interfaces.
Install it if you use Snowflake and want to process data without moving it to your application layer.
See also refgenie · multiqc · pyranges · cellxgene-census · refgenconf · pybedtools · deepbiop · pysam · gtfparse · mudata