Unconfigured Ad

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

    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
          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...
          Today, 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
        • 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, Yesterday, 11:05 AM
        0 responses
        7 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-02-2026, 11:08 AM
        0 responses
        28 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-30-2026, 05:37 AM
        0 responses
        28 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-26-2026, 11:10 AM
        0 responses
        27 views
        0 reactions
        Last Post SEQadmin2  
        Working...