curationpretext
A Nextflow DSL2 pipeline for pretext generation in curation
Science Score: 65.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 10 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
✓Institutional organization owner
Organization sanger-tol has institutional domain (www.sanger.ac.uk) -
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.1%) to scientific vocabulary
Keywords
Repository
A Nextflow DSL2 pipeline for pretext generation in curation
Basic Info
- Host: GitHub
- Owner: sanger-tol
- License: other
- Language: Nextflow
- Default Branch: main
- Homepage: https://pipelines.tol.sanger.ac.uk/curationpretext
- Size: 4.76 MB
Statistics
- Stars: 10
- Watchers: 7
- Forks: 5
- Open Issues: 14
- Releases: 11
Topics
Metadata Files
README.md
Introduction
sanger-tol/curationpretext is a bioinformatics pipeline typically used in conjunction with TreeVal to generate pretext maps (and optionally telomeric, gap, coverage, and repeat density plots which can be ingested into pretext) for the manual curation of high quality genomes.
This is intended as a supplementary pipeline for the treeval project. This pipeline can be simply used to generate pretext maps, information on how to run this pipeline can be found in the usage documentation.

Generate Maps - Generates pretext maps as well as a static image.
Accessory files - Generates the repeat density, gap, telomere, and coverage tracks.
Usage
[!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 testbefore running the workflow on actual data.
Currently, the pipeline uses the following flags:
--input- The absolute path to the assembled genome in, e.g.,
/path/to/assembly.fa
- The absolute path to the assembled genome in, e.g.,
--reads- The directory of the fasta files generated from longread reads, e.g.,
/path/to/fasta/
- The directory of the fasta files generated from longread reads, e.g.,
--read_type- The type of longread data you are utilising, e.g., ont, illumina, hifi.
--aligner- The aligner yopu wish to use for the coverage generation, defaults to bwamem2 but minimap2 is also supported.
--cram- The directory of the cram and cram.crai files, e.g.,
/path/to/cram/
- The directory of the cram and cram.crai files, e.g.,
--map_order- hic map scaffold order, input either
lengthorunsorted
- hic map scaffold order, input either
--teloseq- A telomeric sequence, e.g.,
TTAGGG
- A telomeric sequence, e.g.,
--all_output- An option to output all maps + accessory files, the default will only output the pretextmaps where ingestion has occured.
Now, you can run the pipeline using:
```bash
nextflow run sanger-tol/curationpretext \
--input { input.fasta } \
--cram { path/to/cram/ } \
--reads { path/to/longread/fasta/ } \
--readtype { default is "hifi" }
--sample { default is "pretextrerun" } \
--teloseq { default is "TTAGGG" } \
--maporder { default is "unsorted" } \
--alloutput
```
Warning: Please provide pipeline parameters via the CLI or Nextflow
-params-fileoption. Custom config files including those provided by the-cNextflow option can be used to provide any configuration except for parameters;
For more details, please refer to the usage documentation and the parameter documentation.
Pipeline output
To see the the results of a test run with a full size dataset refer to the results tab on the sanger-tol/curationpretext website pipeline page. For more details about the output files and reports, please refer to the output documentation.
Credits
sanger-tol/curationpretext was originally written by Damon-Lee B Pointon (@DLBPointon).
We thank the following people for their extensive assistance in the development of this pipeline:
@muffato - For reviews.
@yumisims - TreeVal and Software.
@weaglesBio - TreeVal and Software.
@josieparis - Help with better docs and testing.
@mahesh-panchal - Large support with 1.2.0 in making the pipeline more robust with other HPC environments.
@GRIT - For feedback and feature requests.
@prototaxites - Support with 1.3.0 and showing me the power of GAWK.
Contributions and Support
If you would like to contribute to this pipeline, please see the contributing guidelines.
Citations
If you use sanger-tol/curationpretext for your analysis, please cite it using the following doi: 10.5281/zenodo.12773958
An extensive list of references for the tools used by the pipeline can be found in the CITATIONS.md file.
This pipeline uses code and infrastructure developed and maintained by the nf-core community, reused here under the MIT license.
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.
Owner
- Name: Tree of Life programme
- Login: sanger-tol
- Kind: organization
- Location: United Kingdom
- Website: https://www.sanger.ac.uk/programme/tree-of-life/
- Twitter: sangertol
- Repositories: 15
- Profile: https://github.com/sanger-tol
The Tree of Life Programme investigates the diversity of complex organisms (eukaryotes) through sequencing and cellular technology
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: "sanger-tol/curationpretext"
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Damon-Lee
name-particle: Bernard
family-names: Pointon
affiliation: Wellcome Sanger Institute
orcid: "https://orcid.org/0000-0003-2949-6719"
- given-names: Mahesh
family-names: Panchal
affiliation: NBISweden
orcid: "https://orcid.org/0000-0003-1675-0677"
- given-names: Jim
family-names: Downie
affiliation: Wellcome Sanger Institute
orcid: "https://orcid.org/0000-0002-7175-0533"
- given-names: Josie
family-names: Paris
affiliation: "Marche Polytechnic University"
orcid: "https://orcid.org/0000-0001-6868-3416"
identifiers:
- type: doi
value: 10.5281/zenodo.12773958
repository-code: "https://github.com/sanger-tol/curationpretext"
license: MIT
version: 1.4.2
date-released: "2025-07-28"
url: "https://pipelines.tol.sanger.ac.uk/curationpretext"
GitHub Events
Total
- Create event: 32
- Issues event: 36
- Release event: 7
- Watch event: 4
- Delete event: 26
- Member event: 1
- Issue comment event: 113
- Push event: 164
- Pull request review comment event: 41
- Pull request review event: 70
- Pull request event: 77
- Fork event: 2
Last Year
- Create event: 32
- Issues event: 36
- Release event: 7
- Watch event: 4
- Delete event: 26
- Member event: 1
- Issue comment event: 113
- Push event: 164
- Pull request review comment event: 41
- Pull request review event: 70
- Pull request event: 77
- Fork event: 2
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 19
- Total pull requests: 41
- Average time to close issues: about 1 month
- Average time to close pull requests: 4 days
- Total issue authors: 5
- Total pull request authors: 4
- Average comments per issue: 0.16
- Average comments per pull request: 1.41
- Merged pull requests: 23
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 18
- Pull requests: 41
- Average time to close issues: 27 days
- Average time to close pull requests: 4 days
- Issue authors: 5
- Pull request authors: 4
- Average comments per issue: 0.17
- Average comments per pull request: 1.41
- Merged pull requests: 23
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- DLBPointon (18)
- gq1 (2)
- muffato (2)
- epaule (1)
- mahesh-panchal (1)
- SamCT (1)
- maggiesudo (1)
- ilenia6 (1)
- lyy005 (1)
Pull Request Authors
- DLBPointon (53)
- muffato (3)
- yumisims (2)
- mahesh-panchal (2)
- sanger-tolsoft (1)
- Surbhigrewal (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/upload-artifact v3 composite
- seqeralabs/action-tower-launch v1 composite
- actions/upload-artifact v3 composite
- seqeralabs/action-tower-launch v1 composite
- mshick/add-pr-comment v1 composite
- actions/checkout v3 composite
- nf-core/setup-nextflow v1 composite
- actions/stale v7 composite
- actions/checkout v3 composite
- actions/setup-node v3 composite
- actions/checkout v3 composite
- actions/setup-node v3 composite
- actions/setup-python v4 composite
- actions/upload-artifact v3 composite
- mshick/add-pr-comment v1 composite
- nf-core/setup-nextflow v1 composite
- psf/black stable composite
- dawidd6/action-download-artifact v2 composite
- marocchino/sticky-pull-request-comment v2 composite
- actions/upload-artifact v3 composite
- seqeralabs/action-tower-launch v2 composite
- actions/upload-artifact v3 composite
- seqeralabs/action-tower-launch v2 composite
