Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sdriscoll
    I like code
    • Sep 2009
    • 436

    #1

    building a Mosaik reference for Mouse

    Can anybody point me in the right direction for building a single, full genome, reference for the mouse that i can then align my illumina read data to? I have FASTA reference files, one per chromosome, for the mouse which I downloaded from UCSC. I can pass one of those at a time to MosaikBuild to produce .dat files for each chromosome but that seems a little crazy because that means I'd have to run a single lane of data against each chromosome, 1 at a time.

    If this is how other people do it then that's totally fine - it just seems like I should be able to build a single reference file for the entire genome.
    /* Shawn Driscoll, Gene Expression Laboratory, Pfaff
    Salk Institute for Biological Studies, La Jolla, CA, USA */
  • snownebula
    Junior Member
    • Oct 2009
    • 9

    #2
    Hi there,

    All you have to do is create a concatenated FASTA file and you'll be all set with MOSAIK.

    For example, if I wanted to combine the first four mouse chromosomes into one file, I could type:

    cat mm_ref_chr1.fa >> mouse_ref.fa
    cat mm_ref_chr2.fa >> mouse_ref.fa
    cat mm_ref_chr3.fa >> mouse_ref.fa
    cat mm_ref_chr4.fa >> mouse_ref.fa

    You could keep doing this for all of the mouse chromosomes or if you're savvy at creating bash scripts, you could pretty much automate the above in a small script.

    Cheers,

    // Michael

    Comment

    • sdriscoll
      I like code
      • Sep 2009
      • 436

      #3
      cool thanks. it just wasn't clear in the documentation that you could just cat files together to make one larger reference. now i just need to figure out this jump database thing and i'll be off and running. Mosaik chews up some serious RAM and i've only got 16 GB on the system I'm running it on. looks like a jump database will help for running full genome alignments on this system.
      /* Shawn Driscoll, Gene Expression Laboratory, Pfaff
      Salk Institute for Biological Studies, La Jolla, CA, USA */

      Comment

      • sdriscoll
        I like code
        • Sep 2009
        • 436

        #4
        so i made this cat'd reference file (2.6 GB) and compiled it down. then i made a jump database and started a run with MosaikAligner using the jump database of this full genome reference. i ran pretty much the default settings listed in the manual except with only 4 cpu cores. it looks like it munched up about 19GB of RAM to load the jump database files into memory but once the alignment actually started it wasn't using all 4 cores - it was only using about 4% of the CPU and it was processing only 3.5 reads per second with an ETA of 53 DAYS. what could be going wrong?
        /* Shawn Driscoll, Gene Expression Laboratory, Pfaff
        Salk Institute for Biological Studies, La Jolla, CA, USA */

        Comment

        • donniemarco
          Member
          • Aug 2009
          • 17

          #5
          cat all files

          maybe concatting different files might get little tedious. i tried:
          cat chr*.fa >> human_ref.fa

          it worked well.

          Comment

          • mkeehan
            Member
            • Feb 2010
            • 13

            #6
            Are you still using your system with 16GB of RAM?
            You are probably swapping if it's using 19GB...

            I found reading the manual to get the right parameters made a huge difference to the reads per second. The magic parameters I found were
            -bw 13 -act 20 -mm 4 -mhp 100
            That took me from a few reads per second to 700 - 800 per second.

            I also needed around 20GB of RAM for the jump database.

            Comment

            • sdriscoll
              I like code
              • Sep 2009
              • 436

              #7
              thanks for sharing the magic.
              /* Shawn Driscoll, Gene Expression Laboratory, Pfaff
              Salk Institute for Biological Studies, La Jolla, CA, USA */

              Comment

              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
              23 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-22-2026, 10:48 AM
              0 responses
              20 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-15-2026, 10:52 AM
              0 responses
              36 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-14-2026, 05:39 AM
              0 responses
              42 views
              0 reactions
              Last Post SEQadmin2  
              Working...