MCPcopy Index your code
hub / github.com/deepgenomics/GenomeKit

github.com/deepgenomics/GenomeKit @v7.5.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v7.5.0 ↗ · + Follow
2,288 symbols 8,184 edges 127 files 582 documented · 25%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

GenomeKit

run-unit-tests

What is GenomeKit?

GenomeKit is Deep Genomics' Python library for fast and easy access to genomic resources such as sequence, data tracks, and annotations. The goal is to let machine learning researchers build data sets easily, and to be creative about how those data sets are designed.

GenomeKit is also designed to work with genome variants, giving users a powerful way to extract features for different genotypes.

In the future it will include other useful resources like secondary structure, conservation, and more.

Useful Features

  • Fast querying of DNA sequence and genomic tracks.
  • Fast querying and structured access for annotations (GENCODE, RefSeq, ...).
  • Fast querying and structured access for short read alignments (SAM/BAM files).
  • Fast querying and filtering for variants (VCF files).
  • Interval and Variant objects that are convenient, lightweight, and standardized.
  • Scan the genome for motifs.

Resource Available

  • Reference DNA: hg19, hg19.p13.plusMT, hg38, hg38.p12, hg38.p13, hg38.p14, mm10.p6, mm39, rn6, macFas5, susScr11.
  • To add more, see Genomes
  • Annotations: GENCODE, RefSeq, Ensembl, APPRIS, MANE.
  • Tracks: conservation, RNA structure, methylation, nucleosome positions, ...

Installation

Install via conda

The best way to install GenomeKit is via the pre-compiled conda packages available from anaconda.org/conda-forge/genomekit.

You can install GenomeKit with

conda install genomekit

Full Documentation (including developer instructions)

https://deepgenomics.github.io/GenomeKit

Documentation for previous versions is also available, e.g https://deepgenomics.github.io/GenomeKit/v5.0.0

Acknowledgements

We would like to express our gratitude to the following individuals who have contributed to the development of GenomeKit:

Special thanks to the original author, Andrew Delong, for laying the foundation of this project, and to Steve Chan for his continued support and contributions.

We appreciate the efforts and contributions of all past contributors, whose work has been invaluable to the growth and improvement of GenomeKit.

Core symbols most depended-on inside this repo

mock_result
called by 177
genome_kit/_cxx_util.py
size
called by 167
src/util.h
print
called by 126
src/util.cpp
mock_unreachable
called by 112
genome_kit/_cxx_util.py
from_string
called by 100
genome_kit/variant.py
format
called by 96
genome_kit/vcf_table.py
apply_variants
called by 93
genome_kit/_apply_variants.py
dumptext
called by 87
tests/__init__.py

Shape

Method 1,543
Function 446
Class 285
Enum 14

Languages

Python61%
C++39%

Modules by API surface

tests/test_diseq.py181 symbols
genome_kit/genome_annotation.py155 symbols
tests/test_read_alignments.py89 symbols
src/genome_track.h84 symbols
genome_kit/ralign.py69 symbols
tests/test_variant_table.py66 symbols
tests/test_apply_variants.py63 symbols
tests/test_genome_annotation.py58 symbols
src/table.h54 symbols
src/interval.h53 symbols
src/genome_track_io.cpp53 symbols
genome_kit/diseq.py48 symbols

For agents

$ claude mcp add GenomeKit \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact