Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • foxyg
    Member
    • May 2010
    • 54

    #1

    construct whole genome reference for HG19

    I download HG19 from ucsc, after unzip it is many files seperated by chr.

    I did
    cat chr1.fa chr2.fa chr3.fa chr4.fa chr5.fa chr6.fa chr7.fa chr8.fa chr9.fa chr10.fa chr11.fa chr12.fa chr13.fa chr14.fa chr15.fa chr16.fa chr17.fa chr18.fa chr19.fa chr20.fa chr21.fa chr22.fa chrX.fa chrY.f
    a chrM.fa >hg19.fa

    to create the hg19.fa

    then I used bwa to build the index,
    ./bwa index hg19.fa
    This step has no error either.

    Then I run bwa like this

    ./bwa aln -q 15 hg19.fa sample.txt>sample.sai

    I get this error

    [bwa_aln] 17bp reads: max_diff = 2
    [bwa_aln] 38bp reads: max_diff = 3
    [bwa_aln] 64bp reads: max_diff = 4
    [bwa_aln] 93bp reads: max_diff = 5
    [bwa_aln] 124bp reads: max_diff = 6
    [bwa_aln] 157bp reads: max_diff = 7
    [bwa_aln] 190bp reads: max_diff = 8
    [bwa_aln] 225bp reads: max_diff = 9
    [bwa_read_seq] 0.0% bases are trimmed.
    [bwa_aln_core] calculate SA coordinate... Segmentation fault


    Does anyone know what could have caused this error?
  • dawe
    Senior Member
    • Apr 2009
    • 258

    #2
    Originally posted by foxyg View Post
    I download HG19 from ucsc, after unzip it is many files seperated by chr.
    […]

    Does anyone know what could have caused this error?
    If you run
    Code:
    $ bwa index
    you'll see this note:

    Code:
    Warning: `-a bwtsw' does not work for short genomes, while `-a is' and
             `-a div' do not work not for long genomes. Please choose `-a'
             according to the length of the genome.
    hence you can fix it indexing like this:

    Code:
    $ bwa index -a bwtsw hg19.fa
    d

    Comment

    • foxyg
      Member
      • May 2010
      • 54

      #3
      Thanks I am trying this. But I have built index for single chr before without using -a option and it worked out fine.

      Comment

      • dawe
        Senior Member
        • Apr 2009
        • 258

        #4
        Originally posted by foxyg View Post
        Thanks I am trying this. But I have built index for single chr before without using -a option and it worked out fine.
        A single chrom is probably small enough for default "is" algorithm

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