logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Authors

       Erik Garrison and vcflib contributors.

vcffixup (vcflib)                                                                                    VCFFIXUP(1)

Description

       Generates a VCF stream where AC and NS have been generated for each record using sample genotypes

Exit Values

0      Success

       not0  Failure

License

       Copyright  2011-2024  (C)  Erik Garrison and vcflib contributors.  MIT licensed.  Copyright 2020-2024 (C)
       Pjotr Prins.

Name

vcffixup

Options

              Count the allele frequencies across alleles present in each record in the VCF file. (Similar to vcftools --freq.)

              Uses genotypes from the VCF file to correct AC (alternate allele count), AF
              (alternate allele frequency), NS (number of called), in the VCF records.  For
              example:

                  % vcfkeepsamples file.vcf NA12878 | **vcffixup** - | vcffilter -f "AC > 0"

              Would downsample file.vcf to only NA12878, removing sites for which the sample
              was not called as polymorphic.

              Type: transformation

Other

See Also

vcflib(1)

Synopsis

vcffixup

See Also