-
Notifications
You must be signed in to change notification settings - Fork 1
split_into_chros.nf
Ernesto Lowy edited this page Sep 11, 2021
·
1 revision
Script to split a multi-chromosome VCF into single-chromosome VCFs
This workflow is implemented in the script named split_into_chros.nf
nextflow run split_into_chros.nf --vcf input.vcf --chr chr20,chr21
The input VCF containing multiple chromosomes.
String used for output files. Default: 'out'
Name of output dir. Default: 'outdir'
Comma-separated list of chromosomes to generate. i.e. chr1,chr2,...
Number of CPUs to use. Default 1
The single-chrom VCFs will be put in the directory set by the params.outdir parameter. A tabix index per VCF will be also created