Skip to content

Latest commit

 

History

History

vcf_union

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

VCF Union

VCF Union is a standalone tool that allows the user to union two groups of VCF/BCF/VCF.GZ files. It follows the same procedure as ONCOLINER's assessment module, see ONCOLINER's assessment module for more information about the process.

VCF Union is part of the ONCOLINER suite and is provided as a standalone command line tool. It is available as in the Docker image and Singularity image of ONCOLINER.

Table of contents

Usage

The main executable code is in the src/ folder. There is one executable file: union_main.py. It is provided as a standalone command line tool. Example of usage:

python3 src/union_main.py --files-1 file_1.vcf file_2.vcf --files-2 file_3.vcf file_4.vcf -o union_out

Interface

usage: union_main.py [-h] --files-1 FILES_1 [FILES_1 ...] --files-2
                         FILES_2 [FILES_2 ...] -o OUTPUT [-it INDEL_THRESHOLD]
                         [-wr WINDOW_RADIUS] [--combine-genes-annotations]

Union two sets of VCF/BCF/VCF.GZ files

optional arguments:
  -h, --help            show this help message and exit
  --files-1 FILES_1 [FILES_1 ...]
                        VCF/BCF/VCF.GZ files from the first set
  --files-2 FILES_2 [FILES_2 ...]
                        VCF/BCF/VCF.GZ files from the second set
  -o OUTPUT, --output OUTPUT
                        Prefix path for the output VCF files
  -it INDEL_THRESHOLD, --indel-threshold INDEL_THRESHOLD
                        Indel threshold, inclusive (default=100)
  -wr WINDOW_RADIUS, --window-radius WINDOW_RADIUS
                        Window radius (default=100)