Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #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


    • #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


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

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Essential Discoveries and Tools in Epitranscriptomics
          by seqadmin




          The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
          04-22-2024, 07:01 AM
        • seqadmin
          Current Approaches to Protein Sequencing
          by seqadmin


          Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
          04-04-2024, 04:25 PM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Today, 11:49 AM
        0 responses
        13 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, Yesterday, 08:47 AM
        0 responses
        16 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-11-2024, 12:08 PM
        0 responses
        61 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 10:19 PM
        0 responses
        60 views
        0 likes
        Last Post seqadmin  
        Working...
        X