vcf-isec1
Create intersections, unions, complements on bgzipped and tabix indexed vcf or tab-delimited files
Usage
vcf-isec [OPTIONS]
file1.vcf
file2.vcf ...
Overview
About: Create intersections, unions, complements on bgzipped and tabix indexed VCF or tab-delimited files.
-
Note that lines from all files can be intermixed together on the output, which can yield unexpected results.
Options
-
-C, --chromosomes <list|file> -
Process the given chromosomes (comma-separated list or one chromosome per line in a file).
-
-c, --complement -
Output positions present in the first file but missing from the other files.
-
-d, --debug -
Debugging information
-
-f, --force -
Continue even if the script complains about differing columns.
-
-o, --one-file-only -
Print only entries from the left-most file. Without
-o, all unique positions will be printed.
-
-n, --nfiles [+-=]<int> -
Output positions present in this many (=), this many or more (+), or this many or fewer (-) files.
-
-p, --prefix <path> -
If present, multiple files will be created with all possible isec combinations. (Suitable for Venn Diagram analysis.)
-
-t, --tab <chr:pos:file> -
Tab-delimited file with indexes of chromosome and position columns. (1-based indexes)
-
-w, --win <int> -
In repetitive sequences, the same indel can be called at different positions. Consider records this far apart as matching (be it a SNP or an indel).
-
-h, -?, --help -
This help message.
Examples
-
bgzip file.vcf; tabix
-pvcf file.vcf.gz bgzip file.tab; tabix-s1-b2-e2 file.tab.gz
Releases
Unchanged in 7 releases since Debian 7 (Wheezy).