Skip to main content

FunnSV

Efficient and reliable annotation of Structural Variants (SVs) from a VCF file and a GFF3 annotation source.

Installation

FunnSV can be installed using pip:

pip install funnSV

Requirements

  • Python >= 3.7
  • pysam
  • variant-extractor

Tested on:

  • Python 3.10
  • pysam 0.21.0

Common use cases

Gene only annotation

To annotate gene elements from a GFF3 file in the form of their fields Name and Symbol:

funnSV -i <INPUT_VCF> -g <INPUT_GFF3> -r <REFERENCE_GENOME> -o <OUTPUT_VCF> -f ID,Name

Gene, Transcript, and transcript element annotations

To annotate all possible common elements in a GFF3 file, including all fields:

funnSV -i <INPUT_VCF> -g <INPUT_GFF3> -r <REFERENCE_GENOME> -o <OUTPUT_VCF> -m balanced

All types annotations

This mode is not recommended but can be useful if there are pseudogenes or other uncommon types, but it is prone to errors due to inconsistencies in GFF3 files:

funnSV -i <INPUT_VCF> -g <INPUT_GFF3> -r <REFERENCE_GENOME> -o <OUTPUT_VCF> -m complete -f ID,Name

Specific use case: Protein coding genes

This mode allows to only annotate protein coding genes, if gene records contain the biotype=protein_coding field in the attributes column (This has been tested using the Human GRCh37 Release 87 GFF3):

funnSV -i <INPUT_VCF> -g <INPUT_GFF3> -r <REFERENCE_GENOME> -o <OUTPUT_VCF> -m minimal_pc -f ID,Name

Finally, this software was implemented by using the GFF3 specification from https://github.com/The-Sequence-Ontology/Specifications/blob/master/gff3.md. Possible errors or bugs coming from deviations in the format are to be expected. Please refer any such occurrances to the GitHub issues section. We are open to support other annotation source formats in the future.

Metadata

Release files for funnSV 0.0.2

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

Source distribution (sdist)

Source distribution for funnSV 0.0.2
File Size Uploaded
funnsv-0.0.2.tar.gz 10.5 kB Details

Built distribution (wheel)

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

Total release size: 22.9 kB

Release files / funnsv-0.0.2.tar.gz

Download URL funnsv-0.0.2.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7eaca0f1c0257380bb0be47fa71a8fadd1b0452db5211fedd7e8181abbb375c6
BLAKE2b-256 checksum
How to use checksums
696a1085666784d2a548451861b8f87c690c23b94b68d974aa853fcf467b8cd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.0 CPython/3.10.12 Linux/6.2.0-39-generic

Release files / funnsv-0.0.2-py3-none-any.whl

Download URL funnsv-0.0.2-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a86e018f488e9e40de16fc5e333fae44fe06fab228a80394a272fa172a9fb313
BLAKE2b-256 checksum
How to use checksums
bd43f393b8ee93875d42310e6ec2ebeb8db5d4270a2b0c0d4e3dbf788f91be2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.0 CPython/3.10.12 Linux/6.2.0-39-generic

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

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