Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nexgengirl
    Member
    • Apr 2010
    • 31

    #1

    Remapping 1000 Genomes Data with BWA

    Hi,

    I'm working now to remap some 1000 genomes exome data with BWA to compare with other exomes I've aligned with BWA. These were originally mapped with Mosaik. I've hit a bit of a snag and I'm checking to see if anyone has also experienced this or has some suggestions on how to fix. Basically, I took the bam file and converted it to the two fastq files (since it's paired end). I then aligned these using BWA aln to the reference (it worked great and fast). However, when I run the sampe step it hits the message below and after that the analysis slows drastically (sam file is only on chromosome 1 after running for two days on a 12 core machine with over 40 Gb of memory). Anyone else seen this?

    [bwa_read_seq] 10.0% bases are trimmed.
    [bwa_read_seq] 7.5% bases are trimmed.
    [bwa_sai2sam_pe_core] convert to sequence coordinate...
    [infer_isize] (25, 50, 75) percentile: (4084, 11785, 30818)
    [infer_isize] low and high boundaries: 76 and 84286 for estimating avg and std
    [infer_isize] inferred external isize from 207594 pairs: 19383.946 +/- 21062.583
    [infer_isize] skewness: 1.370; kurtosis: 0.892; ap_prior: 1.00e-05
    [infer_isize] inferred maximum insert size: 148287 (6.12 sigma)
    [bwa_sai2sam_pe_core] time elapses: 3.36 sec
    [bwa_sai2sam_pe_core] changing coordinates of 385 alignments.
    [bwa_sai2sam_pe_core] align unmapped mate...
    [aln_local_core] Potential bug: (155,166) > 65
  • xied75
    Senior Member
    • Feb 2012
    • 129

    #2
    Hi, nexgengirl,

    1, You don't need to convert bam into fastq first, BWA can take bam directly, with -b -1, -b -2 you can let it aln directly from the bam.
    2, The error is mismatched pair, you can see that those infered insert size all went mad.

    Best,

    dong

    Comment

    • swbarnes2
      Senior Member
      • May 2008
      • 910

      #3
      You might not be able to use a single .bam file as a paired end file.

      Try using Picard to sort your .bam file by name, then use samtools to pull out read1 .bam and read2 bams, and then you can align them separately and use sampe to put them together, as usual.

      Comment

      • xied75
        Senior Member
        • Feb 2012
        • 129

        #4
        If the bam is made from paired end sam and sorted with name other than coordinate, then yes you can run BWA ALN on it directly, without all these extra steps.

        Code:
        bwa aln -b -1
        will take the first read
        Code:
        bwa aln -b -2
        will take the second read

        Only if the bam is a mixture of single reads and paired reads then this might not work.
        Last edited by xied75; 12-13-2012, 06:07 AM. Reason: reformatting.

        Comment

        • nexgengirl
          Member
          • Apr 2010
          • 31

          #5
          Hi all,

          Thanks for your suggestions. I reran the bwa sampe with the -A option to get it to run. It ran successfully in 16 minutes!

          Thanks again.

          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, 10-22-2026, 11:13 AM
          0 responses
          26 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 10:48 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          36 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          43 views
          0 reactions
          Last Post SEQadmin2  
          Working...