sanger-tol/treeval v1.0 - Ancient Atlantis

Workflow Type: Nextflow

Cite with Zenodo Nextflow run with conda run with docker run with singularity Launch on Nextflow Tower


sanger-tol/treeval is a bioinformatics best-practice analysis pipeline for the generation of data supplemental to the curation of reference quality genomes. This pipeline has been written to generate flat files compatible with JBrowse2.

The pipeline is built using Nextflow, a workflow tool to run tasks across multiple compute infrastructures in a very portable manner. It uses Docker/Singularity containers making installation trivial and results highly reproducible. The Nextflow DSL2 implementation of this pipeline uses one container per process which makes it much easier to maintain and update software dependencies. Where possible, these processes have been submitted to and installed from nf-core/modules in order to make them available to all nf-core pipelines, and to everyone within the Nextflow community!

The treeval pipeline has a sister pipeline currently named curationpretext which acts to regenerate the pretext maps and accessory files during genomic curation in order to confirm interventions. This pipeline is sufficiently different to the treeval implementation that it is written as it's own pipeline.

  1. Parse input yaml ( YAML_INPUT )
  2. Generate my.genome file ( GENERATE_GENOME )
  3. Generate insilico digests of the input assembly ( INSILICO_DIGEST )
  4. Generate gene alignments with high quality data against the input assembly ( GENE_ALIGNMENT )
  5. Generate a repeat density graph ( REPEAT_DENSITY )
  6. Generate a gap track ( GAP_FINDER )
  7. Generate a map of self complementary sequence ( SELFCOMP )
  8. Generate syntenic alignments with a closely related high quality assembly ( SYNTENY )
  9. Generate a coverage track using PacBio data ( LONGREAD_COVERAGE )
  10. Generate HiC maps, pretext and higlass using HiC cram files ( HIC_MAPPING )
  11. Generate a telomere track based on input motif ( TELO_FINDER )
  12. Run Busco and convert results into bed format ( BUSCO_ANNOTATION )
  13. Ancestral Busco linkage if available for clade ( BUSCO_ANNOTATION:ANCESTRAL_GENE )


Note If you are new to Nextflow and nf-core, please refer to this page on how to set-up Nextflow. Make sure to test your setup with -profile test before running the workflow on actual data.

Currently, it is advised to run the pipeline with docker or singularity as a small number of major modules do not currently have a conda env associated with them.

Now, you can run the pipeline using:

# For the FULL pipeline
nextflow run -profile singularity --input treeval.yaml --outdir {OUTDIR}

# For the RAPID subset
nextflow run -profile singularity --input treeval.yaml -entry RAPID --outdir {OUTDIR}

An example treeval.yaml can be found here.

Further documentation about the pipeline can be found in the following files: usage, parameters and output.

Warning: Please provide pipeline parameters via the CLI or Nextflow -params-file option. Custom config files including those provided by the -c Nextflow option can be used to provide any configuration except for parameters; see docs.


sanger-tol/treeval has been written by Damon-Lee Pointon (@DLBPointon), Yumi Sims (@yumisims) and William Eagles (@weaglesBio).

We thank the following people for their extensive assistance in the development of this pipeline:

  • @gq1 - For building the infrastructure around TreeVal and helping with code review
  • @ksenia-krasheninnikova - For help with C code implementation and YAML parsing
  • @mcshane - For guidance on algorithms
  • @muffato - For code reviews and code support
  • @priyanka-surana - For help with the majority of code reviews and code support

Contributions and Support

If you would like to contribute to this pipeline, please see the contributing guidelines.


If you use sanger-tol/treeval for your analysis, please cite it using the following doi: 10.5281/zenodo.XXXXXX.


An extensive list of references for the tools used by the pipeline can be found in the file.

You can cite the nf-core publication as follows:

The nf-core framework for community-curated bioinformatics pipelines.

Philip Ewels, Alexander Peltzer, Sven Fillinger, Harshil Patel, Johannes Alneberg, Andreas Wilm, Maxime Ulysse Garcia, Paolo Di Tommaso & Sven Nahnsen.

Nat Biotechnol. 2020 Feb 13. doi: 10.1038/s41587-020-0439-x.

Version History

v1.0.0 (earliest) Created 14th Nov 2023 at 12:10 by Matthieu Muffato

Merge pull request #152 from sanger-tol/mm49_github_test

Refactoring of the test and test_github profiles

Frozen v1.0.0 2413fe5
help Creators and Submitter
  • Damon-Lee Pointon
  • Will Eagles
  • Ying Sims
  • Matthieu Muffato
  • Priyanka Surana

Views: 1028   Downloads: 233

Created: 14th Nov 2023 at 12:10

help Tags

This item has not yet been tagged.

help Attributions


Total size: 36.3 MB
Powered by
Copyright © 2008 - 2024 The University of Manchester and HITS gGmbH