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

            • SEQadmin2
              Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
              by SEQadmin2



              Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
              ...
              Today, 11:10 AM
            • SEQadmin2
              Cancer Drug Resistance: The Lingering Barrier to Rising Survival
              by SEQadmin2



              Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

              There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
              Yesterday, 05:17 AM
            • 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

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Today, 10:04 AM
            0 responses
            8 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, Yesterday, 10:08 AM
            0 responses
            6 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-07-2026, 11:05 AM
            0 responses
            9 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-02-2026, 11:08 AM
            0 responses
            31 views
            0 reactions
            Last Post SEQadmin2  
            Working...