Genomic Variants

Genomic Variants Modules

These modules contain functions and classes for working with genomic variants. It provides utilities for handling and analyzing genomic variants.

  • GVariants is a collection of many genomic variants.

  • GVariantsSet is a set of many GVariants which represent different genomic variants.

class genomkit.variants.gvariants.GVariants(name: str = '', load: str = '')

GVariants module

This module contains functions and classes for working with a collection of genomic variants. It provides utilities for handling and analyzing the interactions of many genomic variants.

load(filename)

Load variants from a VCF file.

Parameters:

filename (str) – Define the filename for loading a VCF file

to_GRegions()

Convert the GVariants to a GRegions object.

Returns:

A GRegions object

Return type:

GRegions