RagTag
RagTag is a collection of software tools for scaffolding and improving modern genome assemblies. Tasks include:
- Homology-based misassembly correction
- Homology-based assembly scaffolding and patching
- Scaffold merging
RagTag also provides command line utilities for working with common genome assembly file formats.
Getting Started
# install with conda
conda install -c bioconda ragtag
# correct a query assembly
ragtag.py correct ref.fasta query.fasta
# scaffold a query assembly
ragtag.py scaffold ref.fasta query.fasta
# scaffold with multiple references/maps
ragtag.py scaffold -o out_1 ref1.fasta query.fasta
ragtag.py scaffold -o out_2 ref2.fasta query.fasta
ragtag.py merge query.fasta out_*/*.agp other.map.agp
# use Hi-C to resolve conflicts
ragtag.py merge -b hic.bam query.fasta out_*/*.agp other.map.agp
# make joins and fill gaps in target.fa using sequences from query.fa
ragtag.py patch target.fa query.fa
Docs
Please see the Wiki for detailed documentation.
Dependencies
- Minimap2, Unimap, or Nucmer
- Python 3 (with the following auto-installed packages)
- numpy
- intervaltree
- pysam
- networkx
Citation
- Alonge, Michael, et al. "Automated assembly scaffolding elevates a new tomato system for high-throughput genome editing." Genome Biology (2022).
https://doi.org/10.1186/s13059-022-02823-7
RagTag supersedes RaGOO:
- Alonge, Michael, et al. "RaGOO: fast and accurate reference-guided scaffolding of draft genomes." Genome biology 20.1 (2019): 1-17.
https://doi.org/10.1186/s13059-019-1829-6
Acknowledgments
Many of the major algorithmic improvements relative to RaGOO's first release were provided by Aleksey Zimin, lead developer of the MaSuRCA assembler. Luca Venturini suggested and initially implemented many feature enhancements, such as pysam integration. RagTag "merge" was inspired by CAMSA. The developer of CAMSA, Sergey Aganezov, helped review relevant RagTag code. RagTag "patch" was inspired by Grafter, a scaffolding tool written by Melanie Kirsche. Melanie provided guidance for the RagTag implementation. Michael Schatz has provided guidance for the whole project.
Metadata
Release files for RagTag 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ragtag-2.1.1.tar.gz | 57.9 kB | Without provenance | Details for ragtag-2.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ragtag-2.1.1-py3-none-any.whl | Python 3 | none | any | Details for ragtag-2.1.1-py3-none-any.whl |
Total release size: 143.2 kB
Release files / ragtag-2.1.1.tar.gz
| Download URL | ragtag-2.1.1.tar.gz |
|---|---|
| Size | 57.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
883237df576baa0155093caca644f7255cb7a80c707e9f657a95229ab47e52ed
|
|
BLAKE2b-256 checksum How to use checksums |
246dcf2396137b4b1a24c5f5517f8aada42cd3c3bb065b09855e254125354b5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.5
|
Release files / ragtag-2.1.1-py3-none-any.whl
| Download URL | ragtag-2.1.1-py3-none-any.whl |
|---|---|
| Size | 85.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d870c2ec6261c5d663720141c2d0b8cae1a08d5c34d0d7b065502a04c3fde719
|
|
BLAKE2b-256 checksum How to use checksums |
38cb8082951cdf9dc18f816798b82f11693462f070e5a15461ea81531ae190b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.5
|
Security for RagTag 2.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.