1% VCFRANDOM(1) vcfrandom (vcflib) | vcfrandom (VCF statistics) 2% Erik Garrison and vcflib contributors 3 4# NAME 5 6**vcfrandom** 7 8# SYNOPSIS 9 10**vcfrandom** 11 12# DESCRIPTION 13 14Generate a random VCF file 15 16 17 18 19 20# EXAMPLES 21 22``` 23 24Example: 25 26 **vcfrandom** 27 28##fileformat=VCFv4.0 29##source=**vcfrandom** 30##reference=/d2/data/references/build_37/human_reference_v37.fa 31##phasing=none 32##INFO=<ID=NS,Number=1,Type=Integer,Description="Number of samples with data"> 33##INFO=<ID=DP,Number=1,Type=Integer,Description="Total read depth at the locus"> 34##INFO=<ID=AC,Number=1,Type=Integer,Description="Total number of alternate alleles in called genotypes"> 35##INFO=<ID=AN,Number=1,Type=Integer,Description="Total number of alleles in called genotypes"> 36##INFO=<ID=AF,Number=1,Type=Float,Description="Estimated allele frequency in the range (0,1]"> 37##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype"> 38##FORMAT=<ID=GQ,Number=1,Type=Integer,Description="Genotype Quality, the Phred-scaled marginal (or unconditional) probability of the called genotype"> 39##FORMAT=<ID=DP,Number=1,Type=Integer,Description="Read Depth"> 40#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT bill 41one 1 . G G,A 100 . DP=83 GT:DP 0/1:1 42one 2 . G G,A 100 . DP=3 GT:DP 0/1:49 43one 3 . G C,T 100 . DP=5 GT:DP 0/1:12 44one 4 . C G,T 100 . DP=51 GT:DP 0/1:60 45one 5 . A T,A 100 . DP=31 GT:DP 0/1:89 46one 6 . T T,A 100 . DP=56 GT:DP 0/1:60 47one 7 . T A,C 100 . DP=78 GT:DP 0/1:75 48one 8 . T G,A 100 . DP=73 GT:DP 0/1:78 49one 9 . C C,G 100 . DP=42 GT:DP 0/1:67 50 51 52Type: statistics 53 54 55 56``` 57 58 59 60# EXIT VALUES 61 62**0** 63: Success 64 65**not 0** 66: Failure 67 68# SEE ALSO 69 70 71 72[vcflib](./vcflib.md)(1) 73 74 75 76# OTHER 77 78## Source code 79 80[vcfrandom.cpp](https://github.com/vcflib/vcflib/blob/master/src/vcfrandom.cpp) 81 82# LICENSE 83 84Copyright 2011-2020 (C) Erik Garrison and vcflib contributors. MIT licensed. 85 86<!-- 87 Created with ./scripts/bin2md.rb scripts/bin2md-template.erb 88--> 89