Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Geethathanu
    Junior Member
    • Dec 2013
    • 2

    #1

    bwa aln - fail to locate index

    Hu gurus

    New to NGS. Got data (rice) in .fastq format. Taken oryza sativa as reference genome. When did bwa aln getting error fail to locate index and sai file produced is empty.

    [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_aln] fail to locate the index

    regds
  • mastal
    Senior Member
    • Mar 2009
    • 666

    #2
    What was the command you used to run bwa?

    How did you specify the path to the index file?

    Comment

    • GenoMax
      Senior Member
      • Feb 2008
      • 7142

      #3
      Did you create the required index files for the rice genome (unless you have downloaded pre-created index files along with the fasta genome)?

      See "index" option: http://bio-bwa.sourceforge.net/bwa.shtml

      Comment

      • Geethathanu
        Junior Member
        • Dec 2013
        • 2

        #4
        where will i get the required ref genome oryza.fa file. My input sequence data is of the format
        50_13_index12_CTTGTA_L008_R1_001.fastq

        @HWI-D00239:37:C2AVVACXX:8:1101:1254:1997 1:N:0:CTTGTA
        GGACCCACATGTCAGTTTCACACAGAAATTATAAAAAAGGTGGAGCCCACATGGGCCCCACATGTCAGTTTCACATAAGATTTATAAAAAAAGGTGGGGCC
        +
        @CCFFFFFHHHHHJJHIIHJIJJIGEGIIIIGIEGIJJHH?GHIIIIIIHJFGIJIJJJHHHDEDEFF;BCDEEECCDDDDDDDDEEECDDD5<+><<@##
        @HWI-D00239:37:C2AVVACXX:8:1101:1903:1999 1:N:0:CTTGTA
        TTTGCTCAATTGGCCTACAACCAAGGGATAAATAGAAATTACCACAGGATCTTCTTACAATGATGAAAATTTCATTTGTAATAATCATTTTACTACCTCAA
        +
        CCCFFFFFHHHHHJJJJJJJIJJJIJJHIJJJJJJJJIJJJJJJJJJJJJJJJJJJJJJJJJJJJGIJIJJJHIHEHHHHHHFFFFFFFEEFEEDEDDD@@
        @HWI-D00239:37:C2AVVACXX:8:1101:1988:2000 1:N:0:CTTGTA
        GTTCAAAATTTTCTGAAATTCATTCAAAATTAATGGAAAATTGATGTCTTGAAGGGGCTCGGGAATTCGCTAGCCAATCAAGATCATAAACCCTTAGCCTA
        +

        Comment

        • GenoMax
          Senior Member
          • Feb 2008
          • 7142

          #5
          If you work with rice then you should know which genome you need. A search brings up this version at Ensembl: ftp://ftp.ensemblgenomes.org/pub/pla...za_sativa/dna/ Since there are so many rice varities this may or may not be what you need. Look at the "README" file. You can download the genome as a single file. For a large genomes like this it can take several hours and would require a server with a good amount of RAM.

          BTW: That sequence data you have is in "fastq" format which is standard format for NGS data http://en.wikipedia.org/wiki/FASTQ_format
          Last edited by GenoMax; 01-07-2014, 04:32 AM.

          Comment

          • swbarnes2
            Senior Member
            • May 2008
            • 910

            #6
            bwa is so named because it uses a Burrows-Wheeler transform algorithm. That allows for very fast alignments of short sequences to a large reference sequence, by making a specially transformed version of the reference sequence. That transformed version is the reference index.

            It sounds like you don't have that index, or haven't made it yet. BWA has a couple of commands that will make it for you, if you can't download it from anywhere. (It will take a few hours to index a plant genome)

            Comment

            • Bob-Harris
              Member
              • Mar 2014
              • 13

              #7
              FYI, bwa aln can generate the same "fail to locate the index" error message if it can't figure out how to parse the command line.

              In my case, this happened because, trying to reproduce the methods in a manuscript, I copied some command line options from the manuscript into my command line. Unfortunately the hyphens were unicode characters.

              So, for the command bwa aln -n 0.01 index.fa reads.fastq bwa's parser stopped when it got to the -n. Then it thought -n was the index filename, and failed.

              The error message would be much improved if it told you where it had tried to find the index file. That would have helped me figure out it was a parsing error. As it was, I had to dig into the source code and sprinkle in a bunch of printfs before I was able to figure it out.

              Even nicer would be if it checked the total number of arguments and let me know there was a problem. It seems that anything beyond what bwa presumes is the fastq filename is simply ignored silently.

              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, Yesterday, 10:52 AM
              0 responses
              9 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-14-2026, 05:39 AM
              0 responses
              19 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-13-2026, 09:56 AM
              0 responses
              16 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-09-2026, 11:14 AM
              0 responses
              27 views
              0 reactions
              Last Post SEQadmin2  
              Working...