4. Outputs - DOH-JDJ0303/bigbacter-nf GitHub Wiki

All Outputs

πŸ“¦${outdir}
┣ πŸ“‚${timestamp}
┃ ┣ πŸ“‚${taxa}
┃ ┃ ┣ πŸ“‚${cluster}
┃ ┃ ┃ ┣ πŸ“‚alns
┃ ┃ ┃ β”£πŸ“œ${timestamp}-${taxa}-${cluster}.{gubbins,snippy}.aln
┃ ┃ ┃ ┣ πŸ“‚dists
┃ ┃ ┃ ┃ β”—πŸ“œ${timestamp}-${taxa}-${cluster}-{accessory,core-snps}_.{poppunk,gubbins,snippy}-{long,wide}.csv
┃ ┃ ┃ ┣ πŸ“‚figures
┃ ┃ ┃ ┃ β”£πŸ“œ${timestamp}-${taxa}-${cluster}-core-snps_{ML,NJ}.{gubbins,snippy}.jpg
┃ ┃ ┃ ┃ β”—πŸ“œ${timestamp}-${taxa}-${cluster}-{accessory,core-snps}_dist.{poppunk,gubbins,snippy}.jpg
┃ ┃ ┃ ┣ πŸ“‚snippy
┃ ┃ ┃ ┃ β”— πŸ“œ${timestamp}-${species}-${sample}.tar.gz
┃ ┃ ┃ ┣ πŸ“‚stats
┃ ┃ ┃ ┃ β”— πŸ“œ${timestamp}-${species}-${sample}.{gubbins,snippy}.stats
┃ ┃ ┃ β”— πŸ“‚trees
┃ ┃ ┃ β”—πŸ“œ${timestamp}-${taxa}-${cluster}-core-snps_{ML,NJ}.{gubbins,snippy}.nwk
┃ ┃ ┣ πŸ“‚poppunk
┃ ┃ ┃ ┣ πŸ“œ${timestamp}-${species}-pp_core_NJ.nwk
┃ ┃ ┃ ┣ πŸ“œ${timestamp}-${species}-pp_microreact_clusters.csv
┃ ┃ ┃ ┣ πŸ“œ${timestamp}-${species}-pp_perplexity20.0_accessory_mandrake.dot
┃ ┃ ┃ ┣ πŸ“œ${timestamp}-${species}-pp.microreact
┃ ┃ ┃ ┣ πŸ“œ${timestamp}-${species}-pp-core-acc-dist.txt.gz
┃ ┃ ┃ ┣ πŸ“œ${timestamp}-${species}-pp-jaccard-dist.txt.gz
┃ ┃ ┃ β”— πŸ“œ${timestamp}-${species}-pp-clusters.csv
┃ ┃ ┣ πŸ“‚other
┃ ┃ ┃ ┣ πŸ“œmultiqc_report.html
┃ ┃ ┃ β”— πŸ“œsoftware_versions.yml
┃ ┃ β”— πŸ“œ${timestamp}-summary.tsv
┃ β”— πŸ“œ${timestamp}-db-info.csv

Results Summary

Results are summarized for all samples included in the analysis. This includes both new samples and those that were stored in your BigBacter database. Subsets of this summary are also saved for each species-cluster.

${timestamp}-summary.tsv
${timestamp}-${species}-${cluster}-summary.csv

PopPUNK Results (πŸ“‚poppunk/)

PopPUNK Visualizations

These files are generated via poppunk_visualise with the --microreact option. You can view the .microreact file at https://microreact.org/upload.

${timestamp}-${species}-pp_core_NJ.nwk
${timestamp}-${species}-pp_microreact_clusters.csv
${timestamp}-${species}-pp_perplexity20.0_accessory_mandrake.dot
${timestamp}-${species}-pp.microreact

All PopPUNK clusters

This contains clustering information for all samples in the PopPUNK database. It should contain the same information as ${timestamp}-${species}-pp_microreact_clusters.csv.

${timestamp}-${species}-pp-clusters.csv

All PopPUNK distances

These are the pairwise core/accessory distances and Jaccard distances (same as Mash) produced from the PopPUNK database using sketchlib query.

${timestamp}-${species}-pp-core-acc-dist.txt.gz
${timestamp}-${species}-pp-jaccard-dist.txt.gz

Alignment Files (πŸ“‚alns/)

Whole genome (snippy) or core genome (gubbins) alignment files.

${timestamp}-${taxa}-${cluster}.{gubbins,snippy}.aln

Pairwise Distances (πŸ“‚dists/)

Pairwise distance files in long and wide formats. Included for core SNPs (snippy & gubbins) and accessory distances.

${timestamp}-${taxa}-${cluster}-{accessory,core-snps}_.{poppunk,gubbins,snippy}-{long,wide}.csv

Figures (πŸ“‚figures/)

Image files (.jpg) of pairwise distance matrices and/or phylogenetic trees. New samples are shown in bold, black text. Historic samples are shown in grey, plain text. Asterisks on nodes indicate bootstrap values < 70%.

πŸ“œ${timestamp}-${taxa}-${cluster}-core-snps\_{ML,NJ}.{gubbins,snippy}.jpg
πŸ“œ${timestamp}-${taxa}-${cluster}-{accessory,core-snps}\_dist.{poppunk,gubbins,snippy}.jpg

Individual Snippy Files (πŸ“‚snippy/)

Tar files containing all the info needed to perform SNP analysis using snippy-core.

${timestamp}-${species}-${sample}.tar.gz

Analysis Statistics (πŸ“‚stats/)

Sample statistics for snippy and gubbins.

${timestamp}-${species}-${sample}.{gubbins,snippy}.stats

Phylogenetic trees (πŸ“‚trees/)

Maximum likelihood or neighbor joining trees generated from Snippy or Gubbins core SNP alignments.

${timestamp}-${taxa}-${cluster}-core-snps\_{ML,NJ}.{gubbins,snippy}.nwk \

Database Info

Snapshot of your BigBacter database. This is only generated if --db_info is true.

${timestamp}-db-info.csv \