Skip to main content

gocli - GenomOncology Command Line Interface

This is a proprietary package that is available from GenomOncology and works with our Knowledge Management System.

For more information about licensing please contact us at:

info@genomoncology.com

Additional proprietary projects available for download via pypi include:

  • GO VCF - GenomOncology Variant Call File "call" generator
  • GO SDK - GenomOncology Software Development Kit

Our open source projects include:

  • Related - Nested Object Models in Python with dictionary, YAML, and JSON transformation support
  • Specd - Swagger v2 Specification Directories
  • Rigor - HTTP-based DSL for for validating RESTful APIs

Overview

The GenomOncology Command Line Interface (CLI) is a command line tool built to be dropped into Bioinformatics pipelines. GO CLI is a "high performance" ETL tool that understands genomics and directly integrates with the GO KMS via REST API calls for the following functionality:

  • Variant HGVS Calculation (g., p., c.)
  • Variant Annotation (e.g. gnomAD, dbSNP, etc.)
  • Variant Classification (e.g. ACGM or AMP Tiers)
  • Gene and Protein Information
  • Clinical Trial Matching
  • Therapeutic Matching
  • Variant Warehouse Loading and Querying

High Performance

"High performance" is achieved through functional programming that minimizes memory consumption and asynchronous programming style (async/await, asyncio) that maximizes concurrency in high IO situations.

Examples

Generate BED file from List of Genes

gocli genes.txt genes.bed annotate_genes to_tsv

Filter VCF by BED, Filters, Quality, Mutation Type, and Population Frequency

gocli demo_1.vcf demo_1.filtered.vcf \
    from_vcf --bed=./snv_cancer.bed \
    filter_in quality GTE 100 \
    filter_in vaf GTE "0.05" \
    annotate_calls \
    retain "annotations.clinvar__CLNSIG__string" HAS "Pathogenic"
    filter_in annotations.canonical_mutation_type IN @mt.txt \
    filter_out annotations.GNOMAD__AF__mfloat GT "0.01" \
    to_vcf

Commands

$ gocli --help
  add_flag             Add flag based on BED file value/presence.
  aggregate_csv        Rolls up CSV records using a specified key.
  aggregate_tsv        Rolls up TSV records using a specified key.
  aggregate_genie_diseases  aggregates GENIE gene records.
  annotate_calls       Get annotations for stream of calls.
  annotate_genes       Get gene objects by stream of names.
  annotate_match       Get annotations for CSRA.
  annotate_match_bed   Get annotations for gene(s).
  distinct             Remove duplicates from a list of strings.
  extract              Extract a specific field from object stream.
  filter_in            Filter in objects that match comparison.
  filter_out           Filter out objects that match comparison.
  flatten              Flatten list of lists into a list of strings.
  from_bed             Read records from a BED file source.
  from_csv             Parses CSV into name-value pair objects.
  from_excel           Parses Excel into name-value pair objects.
  from_maf             Read records from a MAF file source.
  from_source          Parse file into name-value pair objects.
  from_tsv             Parses TSV into name-value pair objects.
  from_vcf             Parses VCF into variant calls objects.
  invoke               Invoke an external function.
  load_annotations     Loads variant objects into annotations core.
  load_warehouse       Loads variants to warehouse.
  match_contents       Match contents by variants and disease.
  match_therapies      Match therapies by variants and disease.
  match_trials         Match trials by variants and disease.
  refresh_annotations  Rebuilds annotations merged core.
  region_search        Searches for Transcript in region specified...
  retain               Always keep objects that match comparison.
  swagger              Launches local Swagger UI webserver.
  to_excel             Render objects to Excel file format.
  to_pretty            Render indented, syntax highlighted JSON.
  to_python            Render python objects without JSON transform.
  to_tsv               Render objects to TSV file format.
  to_vcf               Render calls to VCF file format.
  transform            Transform input stream to output type.

Metadata

Release files for gocli 0.12.0

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

Source distribution (sdist)

Source distribution for gocli 0.12.0
File Size Uploaded
gocli-0.12.0.tar.gz 87.5 kB Details

Built distribution (wheel)

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

Total release size: 210.2 kB

Release files / gocli-0.12.0.tar.gz

Download URL gocli-0.12.0.tar.gz
Size 87.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c4333b057c3bec33b49e67b81d37fee1238afb17d6964ccbf9b015cdb1d0da7c
BLAKE2b-256 checksum
How to use checksums
7762a1170d56b139a7a1461c7c5f83d3c5e06eb7f6a523668efa648e3fa7949d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.0

Release files / gocli-0.12.0-py3-none-any.whl

Download URL gocli-0.12.0-py3-none-any.whl
Size 122.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d063b946c934bf57d04d0268091e93ca8bc08d788f721b18a83e56fd808e672
BLAKE2b-256 checksum
How to use checksums
647389c17ee66b1c1a1c7f047c567d8f2d0fc04a29d877debcc29953d600eac0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.0

Release history Release notifications | RSS feed

This release

0.12.0 This release

2 release files

0.11.8

2 release files

0.11.7

2 release files

0.11.5

2 release files

0.11.3

2 release files

0.9.24

2 release files

0.9.23

2 release files

0.9.22

2 release files

0.9.21

2 release files

0.9.19

2 release files

0.9.18

2 release files

0.9.16

2 release files

0.9.15

2 release files

0.9.14

2 release files

0.9.13

2 release files

0.9.9

2 release files

0.9.8

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.9.1

2 release files

0.9.0

2 release files

0.8.23

2 release files

0.8.22

2 release files

0.8.17

2 release files

0.8.16

2 release files

0.8.15

2 release files

0.8.14

2 release files

0.8.13

2 release files

0.8.12

2 release files

0.8.11

2 release files

0.8.10

2 release files

0.8.9

2 release files

0.8.8

2 release files

0.8.7

2 release files

0.8.6

2 release files

0.8.5

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

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