Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • bwa - unrecognized command 'aln'

    Hi,

    I try to run bwa with se reads, but it seems that bew can't find the aln option.
    This is my bwa version:

    Code:
    USER:~/software/bwa$ which bwa
    /usr/local/bin/bwa
    
    USER:bwa
    Program: bwa (alignment via Burrows-Wheeler transformation)
    Version: 0.7.6a-r433
    Contact: Heng Li <[email protected]>
    
    Usage:   bwa <command> [options]
    
    Command: index         index sequences in the FASTA format
             mem           BWA-MEM algorithm
             fastmap       identify super-maximal exact matches
    
             fa2pac        convert FASTA to PAC format
             pac2bwt       generate BWT from PAC
             pac2bwtgen    alternative algorithm for generating BWT
             bwtupdate     update .bwt to the new format
             bwt2sa        generate SA from BWT and Occ
    
    Note: To use BWA, you need to first index the genome with `bwa index'.
          There are three alignment algorithms in BWA: `mem', `bwasw', and
          `aln/samse/sampe'. If you are not sure which to use, try `bwa mem'
          first. Please `man ./bwa.1' for the manual.
    There doesn't seems to be any aln option any more.
    But in compiling bwa there was 'aln'

    Code:
    USER:~/software/bwa-0.7.6a$ make
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  utils.c -o utils.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  kthread.c -o kthread.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  kstring.c -o kstring.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  ksw.c -o ksw.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  bwt.c -o bwt.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  bntseq.c -o bntseq.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  bwa.c -o bwa.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  bwamem.c -o bwamem.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  bwamem_pair.c -o bwamem_pair.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  malloc_wrap.c -o malloc_wrap.o
    ar -csru libbwa.a utils.o kthread.o kstring.o ksw.o bwt.o bntseq.o bwa.o bwamem.o bwamem_pair.o malloc_wrap.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  QSufSort.c -o QSufSort.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  bwt_gen.c -o bwt_gen.o
    bwt_gen.c: In function ‘BWTIncBuildRelativeRank’:
    bwt_gen.c:878:10: warning: variable ‘oldInverseSa0RelativeRank’ set but not used [-Wunused-but-set-variable]
    bwt_gen.c: In function ‘BWTIncMergeBwt’:
    bwt_gen.c:952:15: warning: variable ‘bitsInWordMinusBitPerChar’ set but not used [-Wunused-but-set-variable]
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  bwase.c -o bwase.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  bwaseqio.c -o bwaseqio.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  bwtgap.c -o bwtgap.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  bwtaln.c -o bwtaln.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  bamlite.c -o bamlite.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  is.c -o is.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  bwtindex.c -o bwtindex.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  bwape.c -o bwape.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  kopen.c -o kopen.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  pemerge.c -o pemerge.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  bwtsw2_core.c -o bwtsw2_core.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  bwtsw2_main.c -o bwtsw2_main.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  bwtsw2_aux.c -o bwtsw2_aux.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  bwt_lite.c -o bwt_lite.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  bwtsw2_chain.c -o bwtsw2_chain.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  fastmap.c -o fastmap.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  bwtsw2_pair.c -o bwtsw2_pair.o
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS  main.c -o main.o
    gcc -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS QSufSort.o bwt_gen.o bwase.o bwaseqio.o bwtgap.o bwtaln.o bamlite.o is.o bwtindex.o bwape.o kopen.o pemerge.o bwtsw2_core.o bwtsw2_main.o bwtsw2_aux.o bwt_lite.o bwtsw2_chain.o fastmap.o bwtsw2_pair.o main.o -o bwa -L. -lbwa -lm -lz -lpthread
    The command I try to run is this one:
    Code:
    bwa aln genome/bwa/Bsub168.fasta NG6444_1_S_1.fastq > bwa_head_aln.sai
    when I change aln to mem it runs perfectly, but as my reads are only 20bp long, I think I need the aln/samse option.

    any ideas?

    Assa

  • #2
    From Heng Li in the "NEWS" file of the new bwa release:

    There are no changes to BWA-backtrack in this release. However, it has a few
    known issues yet to be fixed. If you prefer BWA-track, It is still advised to
    use bwa-0.6.x.

    While I developed BWA-MEM, I also found a few issues with BWA-SW. It is now
    possible to improve BWA-SW with the lessons learned from BWA-MEM. However, as
    BWA-MEM is usually better, I will not improve BWA-SW until I find applications
    where BWA-SW may excel.
    If you want to stay with the 0.7.x series then 0.7.5 should have "aln" available.
    Last edited by GenoMax; 02-12-2014, 02:19 AM.

    Comment


    • #3
      It's not just you, it seems that that most recent version is missing aln (as well as samse and sampe). I don't see mention of this in either the NEWS file or the mailing list, but presumably this was done on purpose since the commands were removed from main.c (it looks like the source for them is there, you just can't get to them).

      @GenoMax: I guess I hadn't read that quote to mean that they were actually removed, though I guess that that must be the reason.

      Comment


      • #4
        damn,

        I guess I missed it.

        Thanks

        Comment


        • #5
          The man page bwa.1 has been updated for v 0.7.6 and it still has an 'aln' command. The c-code appears to still be there so this appears to be an oversight. I'm reverting th 0.7.5a rather than rewrite my workflows.

          Comment


          • #6
            Appears to be fixed now, see
            Burrow-Wheeler Aligner for short-read alignment (see minimap2 for long-read alignment) - lh3/bwa

            I'll wait for a new release rather pull this from the development site.

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Advancing Precision Medicine for Rare Diseases in Children
              by seqadmin




              Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
              12-16-2024, 07:57 AM
            • seqadmin
              Recent Advances in Sequencing Technologies
              by seqadmin



              Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

              Long-Read Sequencing
              Long-read sequencing has seen remarkable advancements,...
              12-02-2024, 01:49 PM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 12-17-2024, 10:28 AM
            0 responses
            26 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 12-13-2024, 08:24 AM
            0 responses
            43 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 12-12-2024, 07:41 AM
            0 responses
            29 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 12-11-2024, 07:45 AM
            0 responses
            42 views
            0 likes
            Last Post seqadmin  
            Working...
            X