Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • whaleberg
    Junior Member
    • May 2011
    • 2

    Generating simulated paired end reads

    I'm writing a NSG simulator as part of a project for my school. I'm trying to simulate fastq paired-end data, but I'm unsure of the formatting for doing so. I'm producing simulated reads and successfully aligning them in BWA for single ended data, but when I try to produce pairs I end up with various alignment errors. I read that for BWA, the reads in the second alignment file should be the reverse complement.

    If I have a base sequence and a simulated a pair of reads from each end like this...
    Code:
                AAAGGGTTCTC
    read        AAAG
    read               TCTC
    I'm outputing
    file1
    read/1 AAAG

    file2
    read/2 TCTC

    (along with the quality scores and the rest of the formatting)

    Is that the way they should be? It doesn't seem to work, so I'm guessing not, but neither does not doing the reverse complement. I suspect I'm missing something about how pairs of reads are represented.


    I may also have the naming conventions wrong. Should paired reads be separated into 2 different files and labeled <read-name>/1 and <read-name>/2? Ultimately they get rolled into 1 file, so should I be putting them together into 1?

    I'm not sure if I have a software bug and am just producing wrong data, or if I'm producing the right thing but formatting it wrong.

    Does anyone have an example of correct formatting that I could use as a template? I have had trouble locating an example.

    Any help would be appreciated.
  • proteomania
    Member
    • Sep 2010
    • 11

    #2
    If you are talking about the illumina standard pair-end seq, i think i should be

    file1
    read/1 AAAG

    file2
    read/2 GAGA

    Our illumina data look this way. The mate are on opposite strands although the library is not strand specific.

    hope it helps.

    Comment

    • whaleberg
      Junior Member
      • May 2011
      • 2

      #3
      Thank you, that is helpful. I had tried doing it that way, but I was still getting weird results. It must be a bug in something else, not that way I'm formatting them.

      Comment

      • husamia
        Member
        • Apr 2010
        • 66

        #4
        do you mean that they are not aligning correctly or what?

        Comment

        Latest Articles

        Collapse

        • GATTACAT
          Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
          by GATTACAT
          Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
          Today, 11:43 AM
        • SEQadmin2
          Nine Things a Sample Prep Scientist Thinks About Before Sequencing
          by SEQadmin2


          I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

          Here are nine questions we think about, in roughly the order they matter, before...
          06-18-2026, 07:11 AM
        • SEQadmin2
          From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
          by SEQadmin2


          Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


          The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
          ...
          06-02-2026, 10:05 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Yesterday, 05:37 AM
        0 responses
        8 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-26-2026, 11:10 AM
        0 responses
        17 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-17-2026, 06:09 AM
        0 responses
        52 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-09-2026, 11:58 AM
        0 responses
        110 views
        0 reactions
        Last Post SEQadmin2  
        Working...