1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
% VCFNULLDOTSLASHDOT(1) vcfnulldotslashdot | Convert VCF . to ./.
% Erik Garrison and other vcflib contributors
# NAME
vcfnulldotslashdot converts single dots to ./.
This is useful for some downstream analysis tools.
# SYNOPSIS
**vcf2tsv** < *file*
# DESCRIPTION
vcfnulldotslashdot converts single dots to ./.
This is useful for some downstream analysis tools.
# EXIT VALUES
**0**
: Success
**not 0**
: Failure
# EXAMPLES
<!--
>>> from rtest import run_stdout, head, cat
-->
vcf2tsv converts a VCF to VCF
```python
>>> cat("../scripts/vcfnulldotslashdot data/issue_307_vcfnulldotslashdot.vcf")
##fileformat=VCFv4.1
##fileDate=20210209
##source=freeBayes v0.9.21
##reference=ahy.fa
##phasing=none
##filter="TYPE = snp & QUAL > 30 & AF > 0.05 & AF < 0.95 genotypes filtered with: GQ > 20"
##INFO=<ID=AC,Number=A,Type=Integer,Description="Total number of alternate alleles in called genotypes">
##INFO=<ID=AF,Number=A,Type=Float,Description="Estimated allele frequency in the range (0,1]">
##INFO=<ID=TYPE,Number=A,Type=String,Description="The type of allele, either snp, mnp, ins, del, or complex.">
##INFO=<ID=LEN,Number=A,Type=Integer,Description="allele length">
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype">
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT rab-field.AH13
contig71493_103113 50 . G A 79.0603 . AC=5;AF=0.078125;LEN=1;TYPE=snp GT ./.:0,0,0
```
## Source code
[vcfnulldotslashdot](../scripts/vcfnulldotslashdot)
# LICENSE
Copyright 2021 (C) Erik Garrison and vcflib contributors. MIT licensed.
|