{"id":38651703,"url":"https://github.com/sanger-tol/genomeassembly","last_synced_at":"2026-01-17T09:22:07.807Z","repository":{"id":45299155,"uuid":"513502015","full_name":"sanger-tol/genomeassembly","owner":"sanger-tol","description":"Implementation of ToL genome assembly workflows","archived":false,"fork":false,"pushed_at":"2026-01-14T16:50:31.000Z","size":49385,"stargazers_count":24,"open_issues_count":6,"forks_count":6,"subscribers_count":12,"default_branch":"dev","last_synced_at":"2026-01-14T20:05:00.814Z","etag":null,"topics":["genome-assembly","genomics","nextflow","pipeline"],"latest_commit_sha":null,"homepage":"https://pipelines.tol.sanger.ac.uk/genomeassembly","language":"Nextflow","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sanger-tol.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-07-13T11:54:21.000Z","updated_at":"2025-12-16T13:02:39.000Z","dependencies_parsed_at":"2025-10-28T11:17:33.190Z","dependency_job_id":"633be45c-681f-4a7c-9741-2dc262b69572","html_url":"https://github.com/sanger-tol/genomeassembly","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/sanger-tol/genomeassembly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanger-tol%2Fgenomeassembly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanger-tol%2Fgenomeassembly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanger-tol%2Fgenomeassembly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanger-tol%2Fgenomeassembly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanger-tol","download_url":"https://codeload.github.com/sanger-tol/genomeassembly/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanger-tol%2Fgenomeassembly/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28505304,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["genome-assembly","genomics","nextflow","pipeline"],"created_at":"2026-01-17T09:22:03.699Z","updated_at":"2026-01-17T09:22:07.352Z","avatar_url":"https://github.com/sanger-tol.png","language":"Nextflow","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sanger-tol/genomeassembly\n\n[![Open in GitHub Codespaces](https://img.shields.io/badge/Open_In_GitHub_Codespaces-black?labelColor=grey\u0026logo=github)](https://github.com/codespaces/new/sanger-tol/genomeassembly)\n[![GitHub Actions CI Status](https://github.com/sanger-tol/genomeassembly/actions/workflows/nf-test.yml/badge.svg)](https://github.com/sanger-tol/genomeassembly/actions/workflows/nf-test.yml)\n[![GitHub Actions Linting Status](https://github.com/sanger-tol/genomeassembly/actions/workflows/linting.yml/badge.svg)](https://github.com/sanger-tol/genomeassembly/actions/workflows/linting.yml)[![Cite with Zenodo](http://img.shields.io/badge/DOI-10.5281/zenodo.10391851-1073c8?labelColor=000000)](https://doi.org/10.5281/zenodo.10391851)\n[![nf-test](https://img.shields.io/badge/unit_tests-nf--test-337ab7.svg)](https://www.nf-test.com)\n\n[![Nextflow](https://img.shields.io/badge/version-%E2%89%A525.04.0-green?style=flat\u0026logo=nextflow\u0026logoColor=white\u0026color=%230DC09D\u0026link=https%3A%2F%2Fnextflow.io)](https://www.nextflow.io/)\n[![nf-core template version](https://img.shields.io/badge/nf--core_template-3.5.1-green?style=flat\u0026logo=nfcore\u0026logoColor=white\u0026color=%2324B064\u0026link=https%3A%2F%2Fnf-co.re)](https://github.com/nf-core/tools/releases/tag/3.5.1)\n\n[![run with conda](http://img.shields.io/badge/run%20with-conda-3EB049?labelColor=000000\u0026logo=anaconda)](https://docs.conda.io/en/latest/)\n[![run with docker](https://img.shields.io/badge/run%20with-docker-0db7ed?labelColor=000000\u0026logo=docker)](https://www.docker.com/)\n[![run with singularity](https://img.shields.io/badge/run%20with-singularity-1d355c.svg?labelColor=000000)](https://sylabs.io/docs/)\n[![Launch on Seqera Platform](https://img.shields.io/badge/Launch%20%F0%9F%9A%80-Seqera%20Platform-%234256e7)](https://cloud.seqera.io/launch?pipeline=https://github.com/sanger-tol/genomeassembly)\n\n## Introduction\n\n**sanger-tol/genomeassembly** is a bioinformatics pipeline for de-novo genome assembly from long read data (PacBio HiFi or ONT), long-range Hi-C data, and optionally Illumina WGS and Illumina 10X linked reads. It is capable of producing primary/alternative assembles, Hi-C phased assemblies using Hi-C data, and trio-binned assemblies using Illumina WGS data from parental sequencing.\n\nThe pipeline is built using [Nextflow](https://www.nextflow.io), 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](https://www.nextflow.io/docs/latest/dsl2.html) 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](https://github.com/nf-core/modules) in order to make them available to all nf-core pipelines, and to everyone within the Nextflow community!\n\nOn release, automated continuous integration tests run the pipeline on a full-sized dataset on the LSF infrastructure. This ensures that the pipeline runs on LSF, has sensible resource allocation defaults set to run on real-world datasets, and permits the persistent storage of results to benchmark between pipeline releases and other analysis sources.\n\n## Pipeline summary\n\n1. If FastK databases and coverage information information are not provided, the pipeline first builds these\n   and estimates the genome coverage using [genomescope2](https://github.com/tbenavi1/genomescope2.0).\n2. Assembles the provided long reads using [hifiasm](https://hifiasm.readthedocs.io), optionally producing hic-phased\n   or trio-binned assemblies.\n3. (optional) Purges retained haplotigs from the assembly using [purge_dups](https://github.com/dfguan/purge_dups).\n4. (optional) Polishes the combined assembly using Illumina 10X reads with [Longranger](https://support.10xgenomics.com/genome-exome/software/pipelines/latest/what-is-long-ranger) and [Freebayes](https://github.com/freebayes/freebayes)\n5. Maps Hi-C reads to each assembly using [bwamem2](https://github.com/bwa-mem2/bwa-mem2) or [minimap2](https://github.com/lh3/minimap2/).\n6. Scaffolds each assembly using long-range Hi-C interactions using [YaHS](https://github.com/c-zhou/yahs).\n7. Produces numerical statistics for each assembly at each stage of the pipeline using [GFASTATS](https://github.com/vgl-hub/gfastats) (assembly statiscics), [BUSCO](https://busco.ezlab.org/) (single-copy ortholog statistics), and [MERQURY.FK](https://github.com/thegenemyers/MERQURY.FK) (QV and kmer-completeness).\n8. Assembles organelles using de-novo assembly [oatk](https://github.com/c-zhou/oatk) and reference-based assembly [MitoHiFi](https://github.com/marcelauliano/MitoHiFi).\n\n## Usage\n\n\u003e [!NOTE]\n\u003e If you are new to Nextflow and nf-core, please refer to [this page](https://nf-co.re/docs/usage/installation) on how to set-up Nextflow. Make sure to [test your setup](https://nf-co.re/docs/usage/introduction#how-to-run-a-pipeline) with `-profile test` before running the workflow on actual data.\n\nCurrently, it is advised to run the pipeline with docker or singularity as some modules do not have a conda env associated with them.\n\nNow, you can run the pipeline using:\n\n```bash\nnextflow run sanger-tol/genomeassembly \\\n   -profile \u003cdocker/singularity/.../institute\u003e \\\n   --input input.yaml \\\n   --outdir \u003cOUTDIR\u003e\n```\n\n\u003e [!WARNING]\n\u003e 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](https://nf-co.re/docs/usage/getting_started/configuration#custom-configuration-files).\n\n## Credits\n\nsanger-tol/genomeassembly was originally written by Ksenia Krashennikova and Jim Downie.\n\nWe thank the following people for their extensive assistance in the development of this pipeline:\n\n@priyanka-surana for the code review, very helpful coding suggestions, and assistance with pushing this pipeline forward through development.\n\n@mcshane and @c-zhou for the design and implementation of the original pipelines for purging (@mcshane), polishing (@mcshane) and scaffolding (@c-zhou).\n\nTreeVal team Damon-Lee Pointon (@DLBPointon), Yumi Sims (@yumisims) and William Eagles (@weaglesBio) for implementation of the hic-mapping pipeline.\n\n@muffato for help with nf-core integration, dealing with infrastructure and troubleshooting, for the code reviews and valuable suggestions at the different stages of the pipeline development.\n\n@gq1 for the code review, valuable suggestions to the code improvement and contributions to the full test setup.\n\n@mahesh-panchal for nextflow implementation of the purging pipeline, code review and valuable suggestions to the nf-core modules implementation.\n\n## Contributions and Support\n\nIf you would like to contribute to this pipeline, please see the [contributing guidelines](.github/CONTRIBUTING.md).\n\n## Citations\n\nIf you use sanger-tol/genomeassembly for your analysis, please cite it using the following doi: [10.5281/zenodo.10391851](https://zenodo.org/records/10391852).\n\nAn extensive list of references for the tools used by the pipeline can be found in the [`CITATIONS.md`](CITATIONS.md) file.\n\nThis pipeline uses code and infrastructure developed and maintained by the [nf-core](https://nf-co.re) community, reused here under the [MIT license](https://github.com/nf-core/tools/blob/main/LICENSE).\n\n\u003e **The nf-core framework for community-curated bioinformatics pipelines.**\n\u003e\n\u003e Philip Ewels, Alexander Peltzer, Sven Fillinger, Harshil Patel, Johannes Alneberg, Andreas Wilm, Maxime Ulysse Garcia, Paolo Di Tommaso \u0026 Sven Nahnsen.\n\u003e\n\u003e _Nat Biotechnol._ 2020 Feb 13. doi: [10.1038/s41587-020-0439-x](https://dx.doi.org/10.1038/s41587-020-0439-x).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanger-tol%2Fgenomeassembly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanger-tol%2Fgenomeassembly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanger-tol%2Fgenomeassembly/lists"}