curationpretext

A Nextflow DSL2 pipeline for pretext generation in curation

https://github.com/sanger-tol/curationpretext

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

genomics hic nextflow pipeline
Last synced: 4 months ago · JSON representation ·

Repository

A Nextflow DSL2 pipeline for pretext generation in curation

Basic Info
Statistics
  • Stars: 10
  • Watchers: 7
  • Forks: 5
  • Open Issues: 14
  • Releases: 11
Topics
genomics hic nextflow pipeline
Created over 2 years ago · Last pushed 5 months ago
Metadata Files
Readme Changelog Contributing License Citation

README.md

sanger-tol/curationpretext sanger-tol/curationpretext

GitHub Actions CI Status GitHub Actions Linting StatusCite with Zenodo

Nextflow run with conda run with docker run with singularity Launch on Seqera Platform

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.

Workflow Diagram

  1. Generate Maps - Generates pretext maps as well as a static image.

  2. 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 test before 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
  • --reads

    • The directory of the fasta files generated from longread reads, e.g., /path/to/fasta/
  • --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/
  • --map_order

    • hic map scaffold order, input either length or unsorted
  • --teloseq

    • A telomeric sequence, e.g., TTAGGG
  • --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 \ --outdir { OUTDIR } \ -profile

```

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;

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

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
enhancement (17) bug (9) Module (2) Pipeline (2) 1.1.0 addition (1) 1.0.0 addition (1)
Pull Request Labels
enhancement (13) documentation (5) 1.0.0 addition (3) Pipeline (1) bug (1) 1.1.0 addition (1)

Dependencies

.github/workflows/awsfulltest.yml actions
  • actions/upload-artifact v3 composite
  • seqeralabs/action-tower-launch v1 composite
.github/workflows/awstest.yml actions
  • actions/upload-artifact v3 composite
  • seqeralabs/action-tower-launch v1 composite
.github/workflows/branch.yml actions
  • mshick/add-pr-comment v1 composite
.github/workflows/ci.yml actions
  • actions/checkout v3 composite
  • nf-core/setup-nextflow v1 composite
.github/workflows/clean-up.yml actions
  • actions/stale v7 composite
.github/workflows/fix-linting.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v3 composite
.github/workflows/linting.yml actions
  • 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
.github/workflows/linting_comment.yml actions
  • dawidd6/action-download-artifact v2 composite
  • marocchino/sticky-pull-request-comment v2 composite
.github/workflows/sanger_test.yml actions
  • actions/upload-artifact v3 composite
  • seqeralabs/action-tower-launch v2 composite
.github/workflows/sanger_test_full.yml actions
  • actions/upload-artifact v3 composite
  • seqeralabs/action-tower-launch v2 composite
modules/nf-core/bedtools/bamtobed/meta.yml cpan
modules/nf-core/bedtools/genomecov/meta.yml cpan
modules/nf-core/bedtools/intersect/meta.yml cpan
modules/nf-core/bedtools/makewindows/meta.yml cpan
modules/nf-core/bedtools/map/meta.yml cpan
modules/nf-core/bedtools/merge/meta.yml cpan
modules/nf-core/bwamem2/index/meta.yml cpan
modules/nf-core/custom/dumpsoftwareversions/meta.yml cpan
modules/nf-core/gnu/sort/meta.yml cpan
modules/nf-core/minimap2/align/meta.yml cpan
modules/nf-core/minimap2/index/meta.yml cpan
modules/nf-core/pretextmap/meta.yml cpan
modules/nf-core/pretextsnapshot/meta.yml cpan
modules/nf-core/samtools/faidx/meta.yml cpan
modules/nf-core/samtools/merge/meta.yml cpan
modules/nf-core/samtools/sort/meta.yml cpan
modules/nf-core/samtools/view/meta.yml cpan
modules/nf-core/seqtk/cutn/meta.yml cpan
modules/nf-core/tabix/bgziptabix/meta.yml cpan
modules/nf-core/ucsc/bedgraphtobigwig/meta.yml cpan
modules/nf-core/windowmasker/mkcounts/meta.yml cpan
modules/nf-core/windowmasker/ustat/meta.yml cpan
pyproject.toml pypi