Simple prokaryotic core genome phylogeny workflow written in Nextflow
- Create a core genome alignment with panaroo
- Extract core SNPs with snp-sites
- Build the tree with IQ-TREE
- First ensure you have Nextflow installed
- Next ensure you have either Docker or Singularity installed
- Clone the repo with
git clone https://github.com/tmorr-12/coretree
coretree takes only one input, the path to a directory containing gff3 files:
nextflow run main.nf --gffs <path/to/gffs_dir> -profile <standard|laptop>
The standard profile is designed for use on the CGR cluster. If you are running the pipeline on your local machine, please use the 'laptop' profile, otherwise your device may spontaneously combust.
By default results are saved in the results directory created when you launch the pipeline. core_tree.treefile contains the final tree in Newick format, with the core_gene_alignment.aln containing the entire core genome alignment, and core_snps.phylip containing all core SNPs found with snp-sites.
results
├── core_gene_alignment.aln
├── core_snps.phylip
├── core_tree.treefile
└── pipeline-info
├── execution_trace_20261104_145058.txt
├── pipeline_dag.mmd
└── software_versions.tsv