Use when you need to compute intersections, unions, or complements between bgzipped and tabix-indexed VCF or tab-delimited files.
vcf-isec [OPTIONS] file1.vcf file2.vcf .../home/vimalinx/miniforge3/envs/bio/bin/vcf-isecreferences/help.md# 1) Keep positions present in at least two files
vcf-isec \
-n +2 \
a.vcf.gz b.vcf.gz c.vcf.gz \
> shared.vcf
# 2) Output positions unique to the first file
vcf-isec \
-c \
a.vcf.gz b.vcf.gz c.vcf.gz \
> a_only.vcf
# 3) Create Venn-style output files
vcf-isec \
-p isec_out \
a.vcf.gz b.vcf.gz c.vcf.gz
-n), complement (-c), or multi-output decomposition (-p).-a if you want to ignore non-PASS records during comparison.-t.-f forces past differing columns or VCF versions; only do that when you understand the compatibility risk.-o prints only entries from the left-most file even when set logic uses all files.-w can materially change what is considered shared.