Skip to main content

logo_text

RagTag

DOI RELEASE CONDA GitHub

RagTag is a collection of software tools for scaffolding and improving modern genome assemblies. Tasks include:

RagTag also provides command line utilities for working with common genome assembly file formats.

logo_text

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

RagTag supersedes RaGOO:

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)

Source distribution for RagTag 2.1.1
File Size Uploaded
ragtag-2.1.1.tar.gz 57.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for RagTag 2.1.1
File Interpreter ABI Platform
ragtag-2.1.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

2.1.1 This release

2 release files

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page