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

vcf-subset - create subset of VCF file

Examples

              cat in.vcf | vcf-subset -r-t indels -e-c SAMPLE1 > out.vcf

vcf-subset 0.1.5                                    July 2011                                      VCF-SUBSET(1)

Name

       vcf-subset - create subset of VCF file

Options

-c, --columns <string>
              File or comma-separated list of columns to keep in the vcf file. If file, one column per row

       -e, --exclude-ref
              Exclude rows not containing variants.

       -p, --private
              Print only rows where only the subset columns carry an alternate allele.

       -r, --replace-with-ref
              Replace the excluded types with reference allele instead of dot.

       -t, --type <list>
              Comma-separated list of variant types to include: SNPs,indels.

       -u, --keep-uncalled
              Do not exclude rows without calls.

       -h, -?, --help
              This help message.

Synopsis

vcf-subset [OPTIONS] in.vcf.gz>out.vcf

See Also