bcftools/bcftools_concat

Concatenate
VCF
BCF

Description

Concatenate or combine VCF/BCF files. All source files must have the same sample
columns appearing in the same order. The program can be used, for example, to
concatenate chromosome VCFs into one VCF, or combine a SNP VCF and an indel
VCF into one. The input files must be sorted by chr and position. The files
must be given in the correct order to produce sorted VCF on output unless
the -a, --allow-overlaps option is specified. With the --naive option, the files
are concatenated without being recompressed, which is very fast.

Type

bash_script

License

MIT/Expat, GNU

Keywords

Concatenate
VCF
BCF

Contributors

Run this component

Run the following command to execute this component with Nextflow:

cat > params.yaml <<'EOM'  
output: "$id.$key.output.gz"  
id: "run"  
publish_dir: "output/"  
EOM

nextflow run https://packages.viash-hub.com/vsh/biobox.git \  
  -revision v0.4.0 \  
  -main-script target/nextflow/bcftools/bcftools_concat/main.nf \  
  -params-file params.yaml  

Inputs

Name
Type & Properties
--input
-i
file
multiple
--file_list
-f
file

Outputs

Name
Type & Properties
--output
-o
file
required
output

Options

Name
Type & Properties
--allow_overlaps
-a
boolean_true
--compact_ps
-c
boolean_true
--rm_dups
-d
string
--remove_duplicates
-D
boolean_true
--drop_genotypes
-G
boolean_true
--ligate
-l
boolean_true
--ligate_force
boolean_true
--ligate_warn
boolean_true
--no_version
boolean_true
--naive
-n
boolean_true
--naive_force
boolean_true
--output_type
-O
string
--min_pq
-q
integer
--regions
-r
string
--regions_file
-R
file
--regions_overlap
string
--verbosity
-v
integer
--write_index
-W
string

Collaborate Accelerate Succeed

Empower your organization with secure, scalable workflow solutions that simplify development, ensure compliance, and drive innovation.

Viash Hub is a platform developed by Data Intuitive, a Belgian-based bioinformatics company specializing in data workflow development and deployment.