Skip to main content

snpdists

Tags: snp distance matrix alignment phylogeny run-scope

Create a SNP distance matrix from a multiple sequence alignment.

Uses snp-dists to read a FASTA alignment and compute a pairwise SNP distance matrix between all sequences.

Inputs

record (
meta: Record,
aln: Path
)
FieldTypeDescription
metaRecordGroovy Record containing sample information
alnPathMultiple sequence alignment in FASTA format

Outputs

record (
meta: Record,
tsv: Path,
results: Set<Path>,
logs: Set<Path?>,
nf_logs: Set<Path>,
versions: Set<Path>
)
FieldTypeDescription
metaRecordSample information record
tsvPathPairwise SNP distance matrix in TSV format
resultsSet<Path>All output files to be published
logsSet<Path?>Optional program specific log files
nf_logsSet<Path>Nextflow-specific log files (e.g. .command.{begin
versionsSet<Path>A YAML formatted file with program versions

Parameters

SNP-Dists Parameters

ParameterTypeDefaultDescription
--snpdists_abooleanfalseCount all differences not just [AGTC]

Used By

Subworkflows

  • snpdists - Calculate pairwise SNP distances from sequence alignments.

Citations

If you use this in your analysis, please cite the following.

Source

View source on GitHub

Version

SNPDISTS:
- snp-dists: 1.2.0