How genomicsiter/nanoclust works
NanoCLUST is a Nextflow pipeline for clustering ONT 16S reads and building consensus sequences, with cluster classification and abundance summaries as downstream analysis capabilities. The documented entry point is main.nf; the sampled Python templates show k-mer feature generation, UMAP/HDBSCAN clustering, abundance aggregation, and plotting. The README and excerpts do not expose the Nextflow process wiring or consensus implementation, so those stage links are shown as unverified rather than asserted as source-confirmed calls.
Main entry points: main.nf Nextflow workflow · get_abundance.py Abundance summaries · consensus_classification Cluster classification · kmer_freq.py K-mer features
Components 17
Pipeline workflow
- Nextflow workflow
main.nf - Read preparation
main.nf
Read clustering
- K-mer features
templates/kmer_freq.py - K-mer utility
bin/kmer_freq.py - UMAP HDBSCAN
templates/umap_hdbscan.py - Cluster plot
templates/umap_plot.py - Cluster splitting
conda_envs/split_by_cluster
Consensus and classification
- Consensus building
conda_envs/consensus_classification - Draft ranking
templates/fastani_ranking.py - Cluster classification
conda_envs/consensus_classification
Abundance analysis
- Abundance summaries
templates/get_abundance.py - Abundance plots
templates/plot_abundances_pool.py
Other components
- Analyst
- ONT reads
- BLAST database
- UniPept taxonomy API
- Analysis outputs
Connections 18
- Analyst → Nextflow workflow: runs
README.md - ONT reads → Nextflow workflow: supplies reads
README.md - Nextflow workflow → Read preparation: dispatches
- Read preparation → K-mer features: prepares reads
- K-mer features → UMAP HDBSCAN: provides features
- K-mer utility → Analysis outputs: prints vectors
bin/kmer_freq.py - UMAP HDBSCAN → Cluster plot: writes clustering table
templates/umap_hdbscan.py - Nextflow workflow → Cluster splitting: dispatches
- Cluster splitting → Consensus building: supplies clusters
- Consensus building → Draft ranking: selects draft
- Draft ranking → Cluster classification: selects representative
- BLAST database → Cluster classification: supports taxonomy lookup
README.md - Cluster classification → Abundance summaries: provides cluster tables
- UniPept taxonomy API → Abundance summaries: resolves taxon names
templates/get_abundance.py - Abundance summaries → Abundance plots: reads summary table
templates/plot_abundances_pool.py - Abundance summaries → Analysis outputs: writes summaries
templates/get_abundance.py - Abundance plots → Analysis outputs: writes plot
templates/plot_abundances_pool.py - Cluster plot → Analysis outputs: writes plot
templates/umap_plot.py