The API itself provides a quick and extremely permissive method to read and write VCF files.
Extensions and applications of the library provided in the included utilities (*.cpp) comprise the vast bulk of the library's utility for most users.
## download and install
## installation
1. Under the repository name, click to copy the clone URL for the repository. 
2. Go to the location where you want the cloned directory to be made: `cd <PathWhereIWantToCloneVcflib>`
3. Type `git clone --recursive`, and then paste the URL you copied in Step 1.
4. Enter the cloned directory and type `make` to compile the programs. If you want to use threading type `make openmp` instead of `make`. Only a few VCFLIB tools are threaded.
5. Once make is finished the executables are ready in the folder `<PathWhereIWantToCloneVcflib>/vcflib/bin/`. Set this path as an environment variable in the .bashrc file to access executables form everywhere on your proile OR call the executables from the path where they are.
Executables are built into the `./bin` directory in the repository.
A number of shell, perl, python3, and R scripts already reside there.
This makes installation easy, as users can add vcflib/bin
to their path, or copy the contained executables to a directory already in their path.
## usage
@@ -108,7 +119,7 @@ vcflib provides a variety of functions for VCF manipulation:
***Classify variants** by annotations in the INFO field using a self-organizing map ([vcfsom](#vcfsom)); **re-estimate their quality** given known variants.
A number of "helper" perl and python scripts (e.g. vcf2bed.py, vcfbiallelic) further extend functionality.
A number of "helper" perl and python3 scripts (e.g. vcf2bed.py, vcfbiallelic) further extend functionality.
In practice, users are encouraged to drive the utilities in the library in a streaming fashion, using pipes, to fully utilize resources on multi-core systems during interactive work. Piping provides a convenient method to interface with other libraries (vcf-tools, BedTools, GATK, htslib, bcftools, freebayes) which interface via VCF files, allowing the composition of an immense variety of processing functions.
@@ -119,25 +130,6 @@ vcflib is incorporated into several projects, such as [freebayes](https://github
Additionally, developers should be aware of that vcflib contains submodules (git repositories) comprising its dependencies (outside of lzib and a *nix environment).
## installing
vcflib includes submodules, so to obtain vcflib you have to use: