Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nheb
    Junior Member
    • Sep 2014
    • 2

    #1

    simulate illumina WGS run

    Hello everyone

    I am wondering if anyone could suggest any scripts to do the following:

    simulate NGS data from a particular genome with a given coverage.

    For example, given mouse genome (or any other sequence), create WGS reads with X depth from illumina. (IT would be great if it mimics the error distribution).
  • nheb
    Junior Member
    • Sep 2014
    • 2

    #2
    in-silico BAC library

    I am looking to generate a simulation of BAC library with a given BAC size distribution with a certain X coverage.

    For example, cut a genome into sequences of certain length range to get a required coverage.

    Thanks a lot.

    Comment

    • Brian Bushnell
      Super Moderator
      • Jan 2014
      • 2709

      #3
      I have a nice tool for this purpose in the BBTools package. An example command:

      randomreads.sh ref=reference.fa out=reads.fq reads=1000000 length=100 paired mininsert=100 maxinsert=300 gaussian minq=20 midq=30 maxq=36

      The reads will come out annotated with their genomic origin. You can add snps and indels if you want, as well. The error profile is pretty close to the real Illumina error model. Run randomreads.sh with no arguments for more information.

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        ART is another option for read simulation.

        Comment

        • luc
          Senior Member
          • Dec 2010
          • 469

          #5
          ART is more complex and ambitious. I could not get it to run on for bigger genomes (1.5Gb) though. Did anybody else have better luck?

          Comment

          • Brian Bushnell
            Super Moderator
            • Jan 2014
            • 2709

            #6
            Originally posted by luc View Post
            ART is more complex and ambitious.
            Are you sure about that?

            Comment

            • luc
              Senior Member
              • Dec 2010
              • 469

              #7
              Originally posted by Brian Bushnell View Post
              Are you sure about that?
              Hi Brian,

              I hope you will show me otherwise.

              Among other ART options there are insert size variation (stdev) , various error profiles separate for forward and reverse reads, sam file output.
              However it is slow and did not work at all for me for a 1.5 Gb genome.


              From the ART readme:

              ===== PARAMETERS =====

              -1 --qprof1 the first-read quality profile
              -2 --qprof2 the second-read quality profile
              -amp --amplicon amplicon sequencing simulation
              -d --id the prefix identification tag for read ID
              -ef --errfree indicate to generate the zero sequencing errors SAM file as well the regular one
              NOTE: the reads in the zero-error SAM file have the same alignment positions
              as those in the regular SAM file, but have no sequencing errors
              -f --fcov the fold of read coverage to be simulated or number of reads/read pairs generated for each amplicon
              -h --help print out usage information
              -i --in the filename of input DNA/RNA reference
              -ir --insRate the first-read insertion rate (default: 0.00009)
              -ir2 --insRate2 the second-read insertion rate (default: 0.00015)
              -dr --delRate the first-read deletion rate (default: 0.00011)
              -dr2 --delRate2 the second-read deletion rate (default: 0.00023)
              -l --len the length of reads to be simulated
              -m --mflen the mean size of DNA/RNA fragments for paired-end simulations
              -mp --matepair indicate a mate-pair read simulation
              -nf --maskN the cutoff frequency of 'N' in a window size of the read length for masking genomic regions
              NOTE: default: '-nf 1' to mask all regions with 'N'. Use '-nf 0' to turn off masking
              -na --noALN do not output ALN alignment file
              -o --out the prefix of output filename
              -p --paired indicate a paired-end read simulation or to generate reads from both ends of amplicons
              -q --quiet turn off end of run summary
              -qs --qShift the amount to shift every first-read quality score by
              -qs2 --qShift2 the amount to shift every second-read quality score by
              NOTE: For -qs/-qs2 option, a positive number will shift up quality scores (the max is 93)
              that reduce substitution sequencing errors and a negative number will shift down
              quality scores that increase sequencing errors. If shifting scores by x, the error
              rate will be 1/(10^(x/10)) of the default profile.
              -rs --rndSeed the seed for random number generator (default: system time in second)
              NOTE: using a fixed seed to generate two identical datasets from different runs
              -s --sdev the standard deviation of DNA/RNA fragment size for paired-end simulations.
              -sam --samout indicate to generate SAM alignment file
              -sp --sepProf indicate to use separate quality profiles for different bases (ATGC)
              NOTE: art will automatically switch to a mate-pair simulation if the given mean fragment size >= 2000

              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, Yesterday, 10:52 AM
              0 responses
              8 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-14-2026, 05:39 AM
              0 responses
              19 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-13-2026, 09:56 AM
              0 responses
              15 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-09-2026, 11:14 AM
              0 responses
              27 views
              0 reactions
              Last Post SEQadmin2  
              Working...