Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • neupanebpn
    Junior Member
    • Jun 2025
    • 1

    #1

    Error Scaffolding Using RagTag

    We performed high-fidelity (HiFi) whole genome sequencing of two wheat cultivars, Madsen and Pritchett, using the PacBio Revio Circular Consensus Sequencing (CCS) platform. The high-accuracy long reads were first assembled into contigs using Hifiasm. Post-assembly, we conducted quality control and completeness assessments using tools such as BUSCO and Gfastats. For downstream scaffolding, we employed RagTag using the high-quality genome of the wheat cultivar ‘Attraktion’ as the reference assembly.

    However, I’m facing challenges with my reference-guided scaffolding project using RagTag and could use your insights. Madsen and Pritchett has nearly identical BUSCO scores (C: 99.7% [S: 2.0%, D: 97.7%], F: 0.2%, M: 0.1%, n: 4896, E: 0.4%). Madsen has 4424 contigs, and Pritchett has 2754, both assembled with Hifiasm. The genomes are about 14Gb big.

    I successfully scaffolded Madsen using RagTag, but Pritchett consistently fails with the same SLURM script and pipeline. For Pritchett, the job runs for ~7 days, reports as “completed,” but produces no ragtag.scaffold.fasta. The ragtag.scaffold.asm.paf.log is not complete and gets terminated at same point everytime. Error says:


    Traceback (most recent call last):
    File “/home/…/bin/ragtag_scaffold.py”, line 577, in <module>
    main()
    File “/home/…/bin/ragtag_scaffold.py”, line 420, in main
    al.run_aligner()
    File “/home/…/BPN/lib/python3.10/site-packages/ragtag_utilities/Aligner.py”, line 128, in run_aligner
    run_oe(self.compile_command(), self.out_file, self.out_log)
    File “/home/…/lib/python3.10/site-packages/ragtag_utilities/utilities.py”, line 73, in run_oe
    raise RuntimeError(“Failed : minimap2 -x asm5 -t 24 … > ragtag.scaffold.asm.paf 2> ragtag.scaffold.asm.paf.log”)

    The Slurm Job I gave was:

    #SBATCH --partition=abc
    #SBATCH --cpus-per-task=24
    #SBATCH --mem=1500000
    #SBATCH --time=14-00:00:00
    ragtag.py scaffold “$REF” “$QUERY” -o “$OUT” -t 24 -u Troubleshooting Steps:
    1. Ran minimap2 manually on Pritchett’s reference (attraktion.fasta) and query (pt2_busco.fa); it generated a 442 MB .paf file in ~21 hours. Came to know that RagTag does not use pregenerated paf file.
    2. Tested RagTag on a Pritchett subset (~409 Mbp, 10 contigs); it succeeded in ~10 hours, placing 9/10 sequences (~402 Mbp).
    3. Someone suggested that with large genomes, minimap2 might struggle due to multi-indexing issues that can slow things down or cause memory overload. They recommended indexing the reference with minimap2 using -I 20G (which should be suitable for wheat) and then passing the prebuilt .mmi index directly to RagTag as if it were a FASTA file. I followed this approach — created the .mmi file and used it in RagTag — but unfortunately, it still didn’t resolve the issue with Pritchett.
    4. Used SLURM settings: bigmem, 24 CPUs, 1.5 TB memory, 14-day limit, BPN environment (RagTag v2.1.0)

Latest Articles

Collapse

  • SEQadmin2
    Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
    by SEQadmin2



    Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

    Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
    ...
    10-14-2026, 09:55 AM
  • SEQadmin2
    New Genomics Technologies Take Aim at Long-Standing Limits
    by SEQadmin2


    Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

    We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
    ...
    09-28-2026, 10:25 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 10-22-2026, 11:13 AM
0 responses
37 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
28 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-15-2026, 10:52 AM
0 responses
41 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-14-2026, 05:39 AM
0 responses
45 views
0 reactions
Last Post SEQadmin2  
Working...