Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • getVictor
    Junior Member
    • Oct 2012
    • 3

    Explanation of BWA index files

    bwa index generates a bunch of files:
    .rpac, .amb, .ann, .pac, .bwt, .rbwt, .rsa, .sa

    Is there an explanation for what each file is for? What information is each supposed to represent?
  • xied75
    Senior Member
    • Feb 2012
    • 129

    #2
    Knowing each file type is interesting task, one thing for sure is you can't miss any to let BWA work.

    Seems you are using an older version.

    .amb is text file, to record appearance of N (or other non-ATGC) in the ref fasta.
    .ann is text file, to record ref sequences, name, length, etc.
    .bwt is binary, the Burrows-Wheeler transformed sequence.
    .pac is binary, packaged sequence (four base pairs encode one byte).
    .sa is binary, suffix array index.

    Comment

    • getVictor
      Junior Member
      • Oct 2012
      • 3

      #3
      So .pac is a compressed version of the original reference FASTA file, correct?

      Comment

      • xied75
        Senior Member
        • Feb 2012
        • 129

        #4
        It is, 1/4 of fasta size, very easy to decode, just take a byte, 0x 00 00 00 00 gives you AAAA.

        A 0 (00) C 1 (01) G 2 (10) T 3 (11)

        Comment

        • getVictor
          Junior Member
          • Oct 2012
          • 3

          #5
          Do AMB and ANN acronyms stand for something?

          ANN sounds like for annotation.

          Comment

          • xied75
            Senior Member
            • Feb 2012
            • 129

            #6
            Given I'm not the author of BWA, my guessing is as good as yours. Since all non ATGC will be replaced by randomly generated ATGC during the INDEX, I guess AMB stands for ambiguous.

            Comment

            Latest Articles

            Collapse

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 06-09-2026, 11:58 AM
            0 responses
            25 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-05-2026, 10:09 AM
            0 responses
            33 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-04-2026, 08:59 AM
            0 responses
            39 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-02-2026, 12:03 PM
            0 responses
            62 views
            0 reactions
            Last Post SEQadmin2  
            Working...