Welcome to varvis-connector’s documentation!¶
Introduction¶
The varvis-connector package provides a Python interface for the Varvis API. It includes both a command-line interface (CLI) and a Python package with a client implementation. The package handles authentication, session management, and provides methods to retrieve various types of genomic data including SNV annotations, CNV target results, and CNV segments. It supports environment-based configuration and includes comprehensive error handling.
Features¶
Python client for the Varvis API
Command-line interface for direct interaction with the API
Authentication and session management
Methods to retrieve various types of genomic data
Environment-based configuration
Comprehensive error handling
Support for Python 3.10 and above
Currently covered Varvis API endpoints¶
The following API endpoints are currently covered both by the CLI and the Python package:
Varvis API endpoint |
Varvis docs title |
CLI command |
|
|---|---|---|---|
|
Get Person Id |
||
|
Get Variant Annotations |
||
|
Get Cnv Results |
||
|
Get Pending Cnvs |
||
|
Get Case Metrics |
||
|
Api Coverage Task Data |
||
|
Find Analyses |
||
|
Api Get Analyses Linked With Person |
||
|
Get Case Report |
||
|
Get Person Including Clinical Information |
||
|
Api Create Or Update Person |
||
|
Find By Customer Provided Input File Name |
||
|
Get Virtual Panel Details |
||
|
Create Or Update Virtual Panel |
||
|
Get Virtual Panel Summaries |
||
|
Get All Genes |
||
|
Get File Download Links (and download the files) |
|
In addition to that, it’s possible to send arbitrary authenticated requests to the API using the CLI request
command or the VarvisClient.request method, which is especially useful for undocumented endpoints.
License¶
This project is licensed under the GNU General Public License v3.0 (GPLv3). See the LICENSE file for details.
Table of contents¶
- API Reference
- Development
- Development workflow
- Initial setup
- Linting, formatting, type checks (local)
- Commit preparation
- Testing
- Test coverage
- Preparing a Pull Request
- Dependency management
- Security: dependency audit
- Building the package
- Building the documentation
- GitHub Actions workflows (CI, audits, builds and releases)
- Triggering a package release (tag-based)
- Varvis API quirks
- Changelog