nf-core/hiphase @ 0.0.0-6c4ed3a
Summary
Small and structural variant phasing tool for PacBio HiFi reads, supporting co-phasing of SNVs and SVs across multiple BAM files and samples
Get started
Add the following snippet to your workflow script to include this module.
include { HIPHASE } from 'nf-core/hiphase'
License
MIT License
Name
|
HIPHASE |
|---|
meta
map
|
Groovy Map containing sample information e.g. |
|---|---|
bams
file
|
One or more sorted BAM/CRAM files *.{bam,cram}
|
bais
file
|
Index files associated with the BAM/CRAM files *.{bai,crai,csi}
|
snv
file
|
Compressed VCF file containing SNV/small variants to phase (optional) *.{vcf.gz}
|
snv_index
file
|
Index file for the SNV VCF (optional) *.{tbi,csi}
|
sv
file
|
Compressed VCF file containing structural variants to co-phase (optional) *.{vcf.gz}
|
sv_index
file
|
Index file for the SV VCF (optional) *.{tbi,csi}
|
samples
list
|
List of sample names to phase within the VCF, if empty only the first sample is phased. |
meta2
map
|
Groovy Map containing reference genome information e.g. |
|---|---|
fasta
file
|
Reference genome FASTA file used for the BAM alignment *.{fasta,fa}
|
fai
file
|
FASTA index file (.fai) for the reference genome *.fai
|
output_bam
boolean
|
Whether to output haplotagged BAM files. Set to true to emit phased BAM files with haplotag information. |
|---|
summary_file
boolean
|
Whether to output a phasing summary file. |
|---|
blocks_file
boolean
|
Whether to output a phasing blocks file. |
|---|
stats_file
boolean
|
Whether to output a per-read phasing statistics file. |
|---|
haplotag_file
boolean
|
Whether to output a haplotag assignments file. |
|---|
file_format
string
|
Output file format for summary/blocks/stats/haplotag files, either 'tsv' or 'csv'. |
|---|
bams
tuple
meta
map
|
Groovy Map containing sample information e.g. |
|---|---|
*.bam
file
|
Haplotagged BAM file(s) with haplotype information in the HP tag (optional, only emitted when output_bam is true) *.bam
|
vcfs
tuple
meta
map
|
Groovy Map containing sample information e.g. |
|---|---|
*_snv_phased.vcf.gz
file
|
Phased and compressed SNV VCF file (optional, only emitted when SNV VCF input is provided) *_snv_phased.vcf.gz
|
sv_vcfs
tuple
meta
map
|
Groovy Map containing sample information e.g. |
|---|---|
*_sv_phased.vcf.gz
file
|
Phased and compressed SV VCF file (optional, only emitted when SV VCF input is provided) *_sv_phased.vcf.gz
|
stats_csv
tuple
meta
map
|
Groovy Map containing sample information e.g. |
|---|---|
*.stats.csv
file
|
CSV file containing per-read phasing statistics (optional) *.stats.csv
|
stats_tsv
tuple
meta
map
|
|---|