genomenote

Nextflow DSL2 pipeline to generate a Genome Note, including assembly statistics, quality metrics, and Hi-C contact maps. This workflow is part of the Tree of Life production suite.

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

Science Score: 75.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
    Links to: ncbi.nlm.nih.gov
  • Academic email domains
  • Institutional organization owner
    Organization sanger-tol has institutional domain (www.sanger.ac.uk)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.5%) to scientific vocabulary

Keywords

genomics hic nextflow pipeline publications statistics
Last synced: 6 months ago · JSON representation ·

Repository

Nextflow DSL2 pipeline to generate a Genome Note, including assembly statistics, quality metrics, and Hi-C contact maps. This workflow is part of the Tree of Life production suite.

Basic Info
Statistics
  • Stars: 26
  • Watchers: 5
  • Forks: 7
  • Open Issues: 18
  • Releases: 14
Topics
genomics hic nextflow pipeline publications statistics
Created almost 4 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation

README.md

sanger-tol/genomenote

GitHub Actions Linting Status Cite with Zenodo

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

Follow on Twitter

Introduction

sanger-tol/genomenote is a bioinformatics pipeline that takes aligned HiC reads, creates contact maps and chromosomal grid using Cooler, and display on a HiGlass server. The pipeline also collates (1) assembly information, statistics and chromosome details from NCBI datasets, (2) genome completeness from BUSCO, (3) consensus quality and k-mer completeness from MerquryFK, (4) HiC primary mapped percentage from samtools flagstat and optionally (5) Annotation statistics from AGAT and BUSCO. The pipeline combines the calculated statistics and collated assembly metadata with a template document to output a genome note document.

  1. Fetches genome metadata from ENA, NCBI, and GoaT
  2. Summary statistics (NCBI datasets summary genome accession)
  3. Convert alignment to BED (samtools view, bedtools bamtobed)
  4. Filter BED (GNU sort, filter bed)
  5. Contact maps (Cooler cload, Cooler zoomify, Cooler dump)
  6. Genome completeness (NCBI API, BUSCO)
  7. Consensus quality and k-mer completeness (FASTK, MERQURY.FK)
  8. Collated summary table (createtable)
  9. Optionally calculates some annotation statistics and completeness , (AGAT, BUSCO)
  10. Combines calculated statisics and assembly metadata with a template file to produce a genome note document.
  11. Present results and visualisations (MultiQC, R)

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.

First, prepare a samplesheet with your input data that looks as follows:

samplesheet.csv:

csv sample,datatype,datafile mMelMel3,hic,/analysis/mMelMel3.2_paternal_haplotype/read_mapping/hic/GCA_922984935.2.unmasked.hic.mMelMel3.cram mMelMel3,pacbio,/genomic_data/mMelMel3/pacbio/kmer/k31

Each row represents an aligned HiC reads file, an unaligned PacBio/10X reads file, or a PacBio/10X k-mer database.

Now, you can run the pipeline using:

bash nextflow run sanger-tol/genomenote \ -profile <docker/singularity/.../institute> \ --input samplesheet.csv \ --fasta genome.fasta \ --assembly GCA_922984935.2 \ --bioproject PRJEB49353 \ --biosample SAMEA7524400 \ --outdir <OUTDIR>

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.

For more details, please refer to the usage documentation and the parameter documentation.

Credits

sanger-tol/genomenote was originally written by Priyanka Surana.

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

Contributions and Support

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

Citations

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

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/genomenote v2.1.1
type: software
authors:
    - given-names: Sandra Ruth
      family-names: Babirye
      affiliation: Wellcome Sanger Institute
      orcid: "https://orcid.org/0009-0004-7773-7008"
    - given-names: Tyler
      family-names: Chafin
      affiliation: Wellcome Sanger Institute
      orcid: "https://orcid.org/0000-0001-8687-5905"
    - given-names: Chau
      family-names: Duong
      affiliation: Wellcome Sanger Institute
      orcid: "https://orcid.org/0009-0001-0649-2291"
    - given-names: Matthieu
      family-names: Muffato
      affiliation: Wellcome Sanger Institute
      orcid: "https://orcid.org/0000-0002-7860-3560"
    - given-names: Guoying
      family-names: Qi
      affiliation: Wellcome Sanger Institute
      orcid: "https://orcid.org/0000-0003-1262-8973"
    - given-names: Cibin
      family-names: Sadasivan Baby
      affiliation: Wellcome Sanger Institute
      orcid: "https://orcid.org/0000-0002-8538-276X"
    - given-names: Priyanka
      family-names: Surana
      affiliation: Wellcome Sanger Institute
      orcid: "https://orcid.org/0000-0002-7167-0875"
    - given-names: Bethan
      family-names: Yates
      affiliation: Wellcome Sanger Institute
      orcid: "https://orcid.org/0000-0003-1658-1762"
identifiers:
    - type: doi
      value: 10.5281/zenodo.7949384
repository-code: "https://github.com/sanger-tol/genomenote"
license: MIT
version: 2.1.1
date-released: "2022-10-07"

GitHub Events

Total
  • Create event: 25
  • Release event: 5
  • Issues event: 25
  • Watch event: 2
  • Delete event: 25
  • Member event: 1
  • Issue comment event: 108
  • Push event: 168
  • Pull request event: 56
  • Pull request review event: 106
  • Pull request review comment event: 65
  • Fork event: 1
Last Year
  • Create event: 25
  • Release event: 5
  • Issues event: 25
  • Watch event: 2
  • Delete event: 25
  • Member event: 1
  • Issue comment event: 108
  • Push event: 168
  • Pull request event: 56
  • Pull request review event: 106
  • Pull request review comment event: 65
  • Fork event: 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 17
  • Total pull requests: 23
  • Average time to close issues: 4 months
  • Average time to close pull requests: 10 days
  • Total issue authors: 6
  • Total pull request authors: 5
  • Average comments per issue: 0.94
  • Average comments per pull request: 2.0
  • Merged pull requests: 15
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 15
  • Pull requests: 23
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 10 days
  • Issue authors: 5
  • Pull request authors: 5
  • Average comments per issue: 0.93
  • Average comments per pull request: 2.0
  • Merged pull requests: 15
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • muffato (13)
  • BethYates (13)
  • DLBPointon (4)
  • gq1 (2)
  • TomHarrop (1)
  • tkchafin (1)
  • mtammami (1)
  • priyanka-surana (1)
Pull Request Authors
  • muffato (14)
  • tkchafin (11)
  • SandraBabirye (11)
  • BethYates (10)
  • DLBPointon (10)
  • gq1 (2)
  • reichan1998 (1)
  • sanger-tolsoft (1)
  • krishn-cpu (1)
Top Labels
Issue Labels
enhancement (16) bug (8) feature (5) good first issue (3) question (2) documentation (1) maintain (1) help wanted (1)
Pull Request Labels
bug (6) feature (4) testing (2) enhancement (2)

Dependencies

.github/workflows/awsfulltest.yml actions
  • nf-core/tower-action v3 composite
.github/workflows/awstest.yml actions
  • nf-core/tower-action v3 composite
.github/workflows/branch.yml actions
  • mshick/add-pr-comment v1 composite
.github/workflows/ci.yml actions
  • actions/checkout v2 composite
.github/workflows/linting.yml actions
  • actions/checkout v2 composite
  • actions/setup-node v2 composite
  • actions/setup-python v3 composite
  • actions/upload-artifact v2 composite
.github/workflows/linting_comment.yml actions
  • dawidd6/action-download-artifact v2 composite
  • marocchino/sticky-pull-request-comment v2 composite