GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


       vcf-subset - create subset of VCF file


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


       -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

       -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.


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

  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to
Page load time: 0.121 seconds. Last modified: November 04 2018 12:49:43.