GithubHelp home page GithubHelp logo

vcf2binaryset's Introduction

vcf2bm - small C++ program to convert .vcf files to a matrix of 0/1 for haploblocks (only SNPs).

Build: type "make" in the folder.

Usage: "./vcf2bm -v <vcf_file> -o <output_file> [-a at_once] [-h]"

Arguments: -v <vcf_file>: Mandatory. Path to the vcf file that should be converted. While this is intended for data provided by phase 3 of the 1000 genomes project [ftp://ftp.1000genomes.ebi.ac.uk/vol1/ftp/release/20130502/], any file formatted in the same way will work. That means the comment field of a vcf line should consists solely of the phased calls (e.g. "0|0") of the contained individuals, separated by tabs. Note that only raw vcf files are accepted by the program. The vcf file may contain non-SNPs, these will be ignored. -o <output_file>: Mandatory. Path to the output file. File will be created if it does not yet exist, otherwise it will be overwritten. -a <at_once>: Optional integer value. This is how many individuals are read in one iteration over the vcf file. Higher values mean that the program will be faster but use more RAM. Default value is 10. -h: Optional. Prints short help.

vcf2binaryset's People

Contributors

msgr0 avatar jack23247 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.