Vcfgl
Genotype likelihood simulator for VCF/BCF files
Install / Use
/learn @isinaltinkaya/VcfglREADME
<a name="readme-top"></a>
<h3 align="center">vcfgl</h3> <p align="center"> <a href="https://github.com/isinaltinkaya/vcfgl/releases/latest"><img src="https://img.shields.io/github/v/release/isinaltinkaya/vcfgl?labelColor=white&color=blue"/></a> <a href="https://github.com/isinaltinkaya/vcfgl/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-GPLv3.0-purple.svg?labelColor=white"/></a> <img alt="GitHub Actions Workflow Status" src="https://img.shields.io/github/actions/workflow/status/isinaltinkaya/vcfgl/test.yml?labelColor=white"> <a href="https://bio.tools/vcfgl"><img src="https://img.shields.io/badge/bio.tools-vcfgl-orange?labelColor=white"/></a> <a href="http://dx.doi.org/10.1093/bioinformatics/btaf098"><img src="https://img.shields.io/badge/Bioinformatics-10.1093%2Fbtaf098-black?labelColor=white&color=darkred"/></a> <!-- <a href="https://github.com/isinaltinkaya/vcfgl/actions/workflows/test.yml"><img src="https://github.com/isinaltinkaya/vcfgl/actions/workflows/test.yml/badge.svg" /></a> --> </p> <p align="center"> Genotype likelihood simulator for VCF/BCF files <br /> <!-- <a href="https://github.com/isinaltinkaya/vcfgl"><strong>Quickstart»</strong></a> --> <br /> <br /> <a href="https://github.com/isinaltinkaya/vcfgl">Installation</a> <b>·</b> <a href="https://github.com/isinaltinkaya/vcfgl/doc/tutorial.MD">Tutorial</a> <b>·</b> <a href="https://github.com/isinaltinkaya/vcfgl/issues/new?assignees=&labels=bug&projects=&template=report-a-bug.md&title=%5BBUG%5D">Report Bug</a> <b>·</b> <a href="https://github.com/isinaltinkaya/vcfgl/issues/new?assignees=&labels=enhancement&projects=&template=feature_request.md&title=%5BFR%5D">Request Feature</a> <b>·</b> <a href="#how-to-cite">Cite</a> </p> </div> <details open> <summary>Table of Contents</summary> <ol> <li> <a href="#overview">Overview</a> </li> <li> <a href="#installation">Installation</a> <ul> <!-- <li><a href="#prerequisites">Prerequisites</a></li> --> <!-- <li><a href="#method-1-using-htslib-submodule-make">Method 1: Using HTSlib submodule (`make`)</a></li> --> <!-- <li><a href="#method-2-using-systemwide-htslib-installation-make-htssrcsystemwide">Method 2: Using systemwide HTSlib installation (`make HTSSRC=systemwide`)</a></li> --> <!-- <li><a href="#method-3-using-specified-htslib-path-make-htssrcpathtohtslib">Method 3: Using specified HTSlib path (`make HTSSRC=path/to/htslib`)</a></li> --> </ul> </li> <li><a href="#usage">Usage</a> <!-- <ol> <li><a href="#general-options">General Options</a></li> <li><a href="#inputoutput">Input/Output</a></li> <li><a href="#simulation-parameters">Simulation Parameters</a></li> <li><a href="#output-vcfbcf-tags">Output VCF/BCF Tags</a></li> </ol> --> </li> <li> <a href="#tutorials">Tutorials</a></li> <li><a href="#quickstart-for-mstoglf-users">Quickstart for msToGlf users</a></li> <li><a href="#contact">Contact</a></li> <li><a href="#how-to-cite">How to cite</a></li> </ol> </details>Overview
vcfgl is a lightweight command-line program for simulating VCF/BCF and gVCF files. It allows you to simulate sequencing data with various parameters, such as read depth, base-calling error rates, quality score errors, and genotype likelihood models.
Installation
You can install vcfgl using one of the following methods:
→ Method 1: Using release tarball (recommended)
You can download the latest release tarball from the GitHub releases page.
→ Method 2: Using HTSlib submodule
This method uses the htslib submodule included in the repository.
git clone https://github.com/isinaltinkaya/vcfgl.git;
cd vcfgl;
make;
→ Method 3: Using systemwide HTSlib installation
This method assumes you have a systemwide htslib installation.
git clone https://github.com/isinaltinkaya/vcfgl.git;
cd vcfgl;
make HTSSRC="systemwide";
→ Method 4: Using specified HTSlib path
This method allows you to specify the path to your htslib installation.
git clone https://github.com/isinaltinkaya/vcfgl.git;
cd vcfgl;
make HTSSRC=path/to/htslib;
For detailed compilation instructions, in vcfgl directory, run:
<details><summary> <code> make help </code></summary> <pre>$ make help ---------------------------------------- Program: vcfgl Version: v0.4-bb8df2d License: GNU GPLv3.0 ---------------------------------------- Usage: make [target] [FLAG=value...] Targets: help - Print this help message dev - Compile in developer/debug mode (activates flags: -g -Wall -O0) clean - Clean up the directory test - Run unit tests Flags: HTSSRC - Specifies the source of HTSlib. Values: (empty) - Use the HTSlib submodule [default] systemwide - Use the systemwide HTSlib installation /path/to/htslib - Use the HTSlib installation at /path/to/htslib Examples: make - Compile in release mode using HTSlib submodule make HTSSRC=/path/to/htslib - Compile in release mode using /path/to/htslib make dev HTSSRC=systemwide - Compile in developer mode using the systemwide HTSlib installation Note: If no values are provided for HTSSRC, CXX, CXXFLAGS, or LIBS, defaults will be used. </pre> </details>Usage
You can access the command-line help page using vcfgl --help or vcfgl -h:
