Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • arnkas
    Junior Member
    • Nov 2009
    • 5

    merging bwa alignments

    Hello,
    I am using bwa to map solid data to the mouse genome, but get a segmentation fault while running bwa aln. If I separate the genome into 2 halves, it works all right, so I assume that the segfault was a memory problem. My question is: Is there a way to merge the result of mapping to 2 halves of the genome?

    I have a similar question about dividing the reads into smaller subsets, while using the full database.

    I appreciate any help on this.
  • Lee Sam
    Member
    • Oct 2008
    • 57

    #2
    I've been doing BWA alignments and merging them using picard-tools "MergeSamFiles.jar"

    Comment

    • arnkas
      Junior Member
      • Nov 2009
      • 5

      #3
      merging files which map reads to separate parts of the genome

      Thank you for you response. I have also used samtools merge.

      As I understand it, bwa eliminates reads that map to more than one place in the genome. Since my 2 files involves mapping reads to separate halves of the genome, reads that are mapped in both files should be eliminated. Does the merge process recognize this?

      Comment

      • nilshomer
        Nils Homer
        • Nov 2008
        • 1283

        #4
        No it does not.

        Comment

        • lh3
          Senior Member
          • Feb 2008
          • 686

          #5
          One should never split the genome. Split the read set. It is true for essentially all NGS aligners.

          Comment

          • arnkas
            Junior Member
            • Nov 2009
            • 5

            #6
            Well, the reason I split the genome was that I ran into a segmentation fault running "bwa aln -c" against the entire mouse genome. I was able to isolate this to a single read. I tried it against various genomes, and it worked all right for smaller genomes, eg human mrna and half the mouse genome.

            Here is the problem read:
            @559_9_257_F3
            GNANNNGGGGGNNNNNCNNNAGCACGAGAANNNNCGNGNGNTNCNNCNN
            +
            2!'!!!)*'&)!!!!!&!!!')&&.*)&+'!!!!(,!&!)!'!&!!&!!

            I also assumed that there must be a way to postprocess a merged file from a split genome, although I haven't done it yet.

            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.
              07-01-2026, 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

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 07-02-2026, 11:08 AM
            0 responses
            11 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-30-2026, 05:37 AM
            0 responses
            13 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-26-2026, 11:10 AM
            0 responses
            20 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-17-2026, 06:09 AM
            0 responses
            54 views
            0 reactions
            Last Post SEQadmin2  
            Working...