Description

Take a set of bam files and run NGSCheckMate to determine whether samples match with each other, using a set of SNPs.

Input

name
description
pattern

meta1

Groovy Map containing sample information
e.g. [ id:‘test’ ]

bam

BAM files for each sample

*.{bam}

meta2

Groovy Map containing bed file information
e.g. [ id:‘sarscov2’ ]

snp_bed

BED file containing the SNPs to analyse. NGSCheckMate provides some default ones for hg19/hg38.

*.{bed}

meta3

Groovy Map containing reference genome meta information
e.g. [ id:‘sarscov2’ ]

fasta

fasta file for the genome

*.{fasta}

Output

name
description
pattern

pdf

A pdf containing a dendrogram showing how the samples match up

*.{pdf}

corr_matrix

A text file containing the correlation matrix between each sample

*corr_matrix.txt

matched

A txt file containing only the samples that match with each other

*matched.txt

all

A txt file containing all the sample comparisons, whether they match or not

*all.txt

vcf

vcf files for each sample giving the SNP calls

*.vcf

versions

File containing software versions

versions.yml