Fast reference-guided genome assembly scaffolding
Project description
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. "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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file RagTag-2.1.0.tar.gz
.
File metadata
- Download URL: RagTag-2.1.0.tar.gz
- Upload date:
- Size: 56.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/58.3.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99994d7caac7d2ec590f7ac51031dc675a0fd20a51aa3703713295607e8f70e8 |
|
MD5 | d6af9bd58e0fdccb59a7ab2e9b2b8912 |
|
BLAKE2b-256 | 50eed922ed9ecf39d82448e97c9c18d26c07af7c30b3c17777e1df1428caec5f |
File details
Details for the file RagTag-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: RagTag-2.1.0-py3-none-any.whl
- Upload date:
- Size: 85.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/58.3.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0746573f0e53252b24ff2ff22870044f7beb8819d05788bb901f4bab90b4764 |
|
MD5 | 8bec384f877ac4e6f4cdb3193ef4fcaa |
|
BLAKE2b-256 | 2d054dae6bef6454639e24dc4f1bba6971a72827e078ae10cc114f270141e850 |