Split VCF by chunks or regions, creating multiple VCFs.
Input
name:type
description
pattern
meta{:bash}
:map
Groovy Map containing sample information
e.g. [ id:‘test’, single_end:false ]
vcf{:bash}
:file
The input VCF to scatter
*.{vcf,vcf.gz,bcf,bcf.gz}
tbi{:bash}
:file
Optional index of the input VCF
*.tbi
sites_per_chunk{:bash}
:integer
How many variants should be in each output file
Either this or scatter or scatter_file have to be given
scatter{:bash}
:string
A comma delimited list of regions to scatter into
Either this or sites_per_chunk or scatter_file have to be given
scatter_file{:bash}
:file
A file containing a region on each line with an optional second column containing the filename
Either this or sites_per_chunk or scatter have to be given
regions{:bash}
:file
Optional file containing the regions to work on
*.bed
targets{:bash}
:file
Optional file containing the regions to work on (but streams instead of index-jumping)
*.bed
Output
name:type
description
pattern
scatter{:bash}
meta{:bash}
:map
Groovy Map containing sample information
e.g. [ id:‘test’, single_end:false ]
*{vcf,vcf.gz,bcf,bcf.gz}{:bash}
:file
The resulting files of the scattering
*.{vcf,vcf.gz,bcf,bcf.gz}
tbi{:bash}
meta{:bash}
:map
Groovy Map containing sample information
e.g. [ id:‘test’, single_end:false ]
*.tbi{:bash}
:file
Alternative VCF file index
*.tbi
csi{:bash}
meta{:bash}
:map
Groovy Map containing sample information
e.g. [ id:‘test’, single_end:false ]
*.csi{:bash}
:file
Default VCF file index
*.csi
versions{:bash}
versions.yml{:bash}
:file
File containing software versions
versions.yml
Tools
pluginscatter
MIT
Split VCF by chunks or regions, creating multiple VCFs.