×

nf-core/bcftools/pluginsplit @ 0.0.0-0c7146d

Split VCF by sample, creating single- or multi-sample VCFs.

Latest version: 0.0.0-0c7146d
Total downloads: 1
Source: nf-core/modules
Authors: @nvnieuwk
Maintainers: @nvnieuwk

Summary

Split VCF by sample, creating single- or multi-sample VCFs.

Get started

Add the following snippet to your workflow script to include this module.

include { BCFTOOLS_PLUGINSPLIT } from 'nf-core/bcftools/pluginsplit'

License

MIT License

Process
Name BCFTOOLS_PLUGINSPLIT
Input 1 channel
#1 tuple
meta map

Groovy Map containing sample information e.g. [ id:'test', single_end:false ]

vcf file

The VCF file to split

*.{vcf,vcf.gz,bcf,bcf.gz}
tbi file

OPTIONAL - The index of the input VCF/BCF

*.tbi
samples file

A tab-separated file determining which samples should be in which output file column 1: The sample name(s) in the input file column 2: The sample name(s) to use in the output file (use - to keep the original name) column 3: The name of the output file Either this or a groups file should be given

*
groups file

A tab-separated file determining which samples should be in which output file(s) column 1: The sample name(s) in the input file column 2: The sample name(s) to use in the output file (use - to keep the original name) column 3: The name of the output file(s) Either this or a samples file should be given

*
regions file

A BED file containing regions to use

*.bed
targets file

A BED file containing regions to use (but streams rather than index-jumps)

*.bed
Output 4 channels
#1 csi tuple
meta map

Groovy Map containing sample information e.g. [ id:'test', single_end:false ]

*.csi file

CSI file

*.csi
#2 tbi tuple
meta map

Groovy Map containing sample information e.g. [ id:'test', single_end:false ]

*.tbi file

TBI file

*.tbi
#3 vcf tuple
meta map

Groovy Map containing sample information e.g. [ id:'test', single_end:false ]

*.{vcf,vcf.gz,bcf,bcf.gz} file

The resulting VCF files from the split

*.{vcf,vcf.gz,bcf,bcf.gz}
#4 versions_bcftools tuple
${task.process} string

The process the versions were collected from

bcftools string

The tool name

bcftools --version | sed '1!d; s/^.*bcftools //' string

The command used to generate the version of the tool

Tool Description Homepage
pluginsplit Split VCF by sample, creating single- or multi-sample VCFs. http://samtools.github.io/bcftools/bcftools.html
Version 0.0.0-0c7146d
Commit ID 135d883a43b1a2324b4112cd270cf22e20835533
Release Date 08 Apr 2026 18:25:32 (UTC)
Download URL https://registry-stage.nextflow.io/api/v1/modules/nf-core%2Fbcftools%2Fpluginsplit/0.0.0-0c7146d/download
OCI Store URL https://public.cr.stage-seqera.io/v2/nextflow/plugin-stage/modules/nf-core/bcftools/pluginsplit/blobs/sha256:f1a61e75a4ce8564713011874610f15c8850680a8375fd2c1122d9df908798e0
Size 3.9 KB
Checksum sha256:f1a61e75a4ce8564713011874610f15c8850680a8375fd2c1122d9df908798e0
Downloads 1
Version Date Status Downloads Size Diff
0.0.0-0c7146d 08 Apr 2026 18:25:32 (UTC) 1 3.9 KB -