Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • calatian
    Junior Member
    • Mar 2014
    • 5

    #1

    BWA samse help for a new user

    Hello,

    I am a new user of BWA and Bioinformatics in general. I am having some problems running BWA samse and am hoping somebody could give me some general idea of what I am doing wrong.

    I have the Ecoli genome in .fa format and am generating reads (the last try was with 10000 reads of 100bp each) in .fq format.

    I am working on a school project and need to evaluate BWA Backtrack's performance on these reads in order to try to improve it afterwards with the seed-chain-extend technique.

    These are the files I have, and the commands I am running:
    • Ecoli.fa (the genome)
    • reads.fq (the 10000 reads I generated)

    Commands:
    • bwa index ecoli.fa (which generates ecoli.fa.amb, ecoli.fa.ann, ecoli.fa.bwt, ecoli.fa.pac, ecoli.fa.sa)
    • bwa aln ecoli.fa reads.fq > out.sai (which seems to work fine and generates out.sai)
    • bwa samse ecoli.fa out.sai reads.fq > out.sam

    As soon as I enter the last command, BWA crashes and generates an empty out.sam file.

    As I mentioned, I am very new to the program and would appreciate any details regarding what I am doing wrong and point me in the right direction.

    Also, I would really appreciate if I could get information (correct commands) on how to use the above files and BWA samse for paired-end mapping, since I have not been able to make it work so far. Thank you very much.
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    Your commands appear correct. Try running bwa in a debugger to find out what's going wrong.

    Comment

    • calatian
      Junior Member
      • Mar 2014
      • 5

      #3
      Originally posted by dpryan View Post
      Your commands appear correct. Try running bwa in a debugger to find out what's going wrong.
      Thank you for confirming; I though the problem was with my commands so your comment was a big change in direction. After a couple of days trying to debug, I just had to install a completely different version of BWA and that worked. If somebody has a similar problem, I would simply recommend doing the same. Thanks again!

      Comment

      Latest Articles

      Collapse

      • kinpict.com
        Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by kinpict.com
        The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
        Today, 06:37 PM
      • SEQadmin2
        16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by SEQadmin2





        NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
        10-30-2026, 06:46 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 11-12-2026, 07:59 AM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-05-2026, 09:25 AM
      0 responses
      35 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-03-2026, 11:54 AM
      2 responses
      56 views
      0 reactions
      Last Post kinpict.com  
      Started by SEQadmin2, 10-28-2026, 09:57 AM
      0 responses
      175 views
      0 reactions
      Last Post SEQadmin2  
      Working...