RACON(1)

🌸 RACON(1) 🌸

okay bestie, welcome to racon β€” the consensus module for raw de novo DNA assembly of long uncorrected reads. yes it's a mouthful, no I will not be shortening it. this is the RACON(1) page from the User Commands corner of your manual, and I'm about to make it make sense πŸ’–


✨ NAME ✨

racon β€” consensus module for raw de novo DNA assembly of long uncorrected reads 🧬


✨ SYNOPSIS ✨

(and yes the original page spells it SYNPOPSIS, iconic typo, we respect it πŸŽ€)

racon [options ...] <sequences> <overlaps> <target sequences>

✨ DESCRIPTION ✨

So here's the whole vibe. Racon is meant to be a standalone consensus module β€” like, it shows up on its own, no entourage β€” and its whole job is correcting raw contigs that came out of rapid assembly methods that skipped the consensus step entirely πŸ™ˆ. The goal? Generate genomic consensus that's similar or better quality compared to what you'd get from assembly methods that do both error correction and consensus, while being several times faster than those methods. And it plays nice with data from both Pacific Biosciences and Oxford Nanopore Technologies. bestie it's giving versatile πŸ’…

You can also use Racon as a polishing tool after assembly β€” either with Illumina data or with data from third generation sequencing. And the type of data you feed it? automatically detected. no cap, you don't have to tell it anything ✨

Racon takes exactly three input files, that's it, no more no less:

  • contigs in FASTA/FASTQ format
  • reads in FASTA/FASTQ format
  • overlaps/alignments between the reads and the contigs in MHAP/PAF/SAM format

Output is a set of polished contigs in FASTA format, printed straight to stdout. And listen β€” all of those input files can be compressed with gzip. slay 🫢

Racon can also do a whole other thing: read error-correction. In that scenario the MHAP/PAF/SAM file needs to contain pairwise overlaps between reads, including dual overlaps. don't skip that part, it matters πŸ’€

There's also a wrapper script available to make life easier for the end-user with large datasets. Same interface as racon, but it adds two extra features from the outside:

  • Sequences can be subsampled to decrease the total execution time β€” accuracy might be lower though, lowkey a tradeoff 😭
  • Target sequences can be split into smaller chunks and run sequentially to decrease memory consumption

And yes, both of those features can run at the same time. multitasking queen πŸ‘‘


✨ OPTIONS ✨

🌈 the three inputs (yes they're options, no I don't make the rules)

  • <sequences> β€” input file in FASTA/FASTQ format (can be compressed with gzip) containing the sequences used for correction 🧬
  • <overlaps> β€” input file in MHAP/PAF/SAM format (can be compressed with gzip) containing overlaps between sequences and target sequences πŸ”—
  • <target sequences> β€” input file in FASTA/FASTQ format (can be compressed with gzip) containing the sequences which will be corrected ✨

πŸŽ€ optional πŸŽ€

  • -u, --include-unpolished β€” output unpolished target sequences. like, the raw ones, untouched πŸ’…
  • -f, --fragment-correction β€” perform fragment correction instead of contig polishing. heads up bestie: the overlaps file should contain dual/self overlaps! ⚠️
  • -w, --window-length <int> β€” default: 500. the size of the window on which POA is performed πŸͺŸ
  • -q, --quality-threshold <float> β€” default: 10.0. threshold for average base quality of the windows used in POA ⭐
  • -e, --error-threshold <float> β€” default: 0.3. maximum allowed error rate used for filtering overlaps 🚫
  • -m, --match <int> β€” default: 5. score for matching bases βœ…
  • -x, --mismatch <int> β€” default: -4. score for mismatching bases ❌
  • -g, --gap <int> β€” default: -8. gap penalty β€” and it must be negative, don't fight it πŸ•³οΈ
  • -t, --threads <int> β€” default: 1. number of threads 🧡
  • --version β€” prints the version number πŸ“Œ
  • -h, --help β€” prints the usage πŸ†˜
ok real talk, those defaults are the defaults, don't come for me, I'm just the messenger 🫢

✨ AUTHOR ✨

This manpage was written by Andreas Tille for the Debian distribution, and can be used for any other usage of the program. thank you Andreas, you ate πŸ’–


and that's the whole page bestie!! this was racon version 1.3.1, dated June 2018, living under RACON(1) β€” go polish something gorgeous πŸŒΈβœ¨πŸ¦‹

πŸ“¦ where this page comes from