Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • gigigou
    Member
    • May 2012
    • 31

    error with BWA

    I try to use BWA to align some SOLiD reads.
    1. I build the index
    bwa index -c -a is ecoli.fa

    2. I convert the csfasta and correspond qual file into fastq with solid2fastq.pl supplied by BWA(for test, very small, 50000 reads).

    3. I try to align the reads to the ref
    bwa aln -n 3 -t 4 -M 3 -c ecoli.fa t_ecoli.fastq map.sai
    It gives some strange information as follow:

    lane@LanePC[bwa] bwa aln -n 3 -t 4 -M 3 -c ecoli.fa t_ecoli.fastq map.sai
    (here are some strange symbols)
    (here are some strange symbols too)
    [bwa_aln_core] calculate SA coordinate... 0.03 sec
    [bwa_aln_core] write to the disk... ���� 0.01 sec
    [bwa_aln_core] 25000 sequences have been processed.

    But there is no output file.
    The BWA version is 0.5.9-r16
    Does anyone know why?
    Thanks a lot.
  • kaboroevich
    Junior Member
    • Mar 2012
    • 7

    #2
    Originally posted by gigigou View Post
    lane@LanePC[bwa] bwa aln -n 3 -t 4 -M 3 -c ecoli.fa t_ecoli.fastq map.sai
    (here are some strange symbols)
    (here are some strange symbols too)
    [bwa_aln_core] calculate SA coordinate... 0.03 sec
    [bwa_aln_core] write to the disk... ���� 0.01 sec
    [bwa_aln_core] 25000 sequences have been processed.
    Those "strange symbols" are your output. You need to direct stdout into the map.sai file

    Try:
    Code:
    bwa aln -n 3 -t 4 -M 3 -c ecoli.fa t_ecoli.fastq [B]>[/B] map.sai

    Comment

    • TonyBrooks
      Senior Member
      • Jun 2009
      • 303

      #3
      I've just started with BWA too.
      I think you need to include a ">" in there somewhere. If you look at the BWA manual the command should be
      bwa aln [-n maxDiff] [-o maxGapO] [-e maxGapE] [-d nDelTail] [-i nIndelEnd] [-k maxSeedDiff] [-l seedLen] [-t nThrds] [-cRN] [-M misMsc] [-O gapOsc] [-E gapEsc] [-q trimQual] <in.db.fasta> <in.query.fq> > <out.sai>

      So, maybe you could try to run
      bwa aln -n 3 -t 4 -M 3 -c ecoli.fa t_ecoli.fastq > map.sai

      I think your strange symbols are the data that should be going into the sai file but withouth the > they are being displayed in the terminal.

      Comment

      • gigigou
        Member
        • May 2012
        • 31

        #4
        Originally posted by TonyBrooks View Post
        I've just started with BWA too.
        I think you need to include a ">" in there somewhere. If you look at the BWA manual the command should be
        bwa aln [-n maxDiff] [-o maxGapO] [-e maxGapE] [-d nDelTail] [-i nIndelEnd] [-k maxSeedDiff] [-l seedLen] [-t nThrds] [-cRN] [-M misMsc] [-O gapOsc] [-E gapEsc] [-q trimQual] <in.db.fasta> <in.query.fq> > <out.sai>

        So, maybe you could try to run
        bwa aln -n 3 -t 4 -M 3 -c ecoli.fa t_ecoli.fastq > map.sai

        I think your strange symbols are the data that should be going into the sai file but withouth the > they are being displayed in the terminal.
        YES!
        You are right. I mistaken that ">" as the one quotes the file name which is unnecessary, so I didn't type it.
        But there is another problem: I have 50000 reads, why did it only process 25000 reads? And in the final sam file no read is aligned. All the reads have a flag 4 which corresponds to unmapped.
        Thank you!
        Last edited by gigigou; 09-05-2012, 04:51 PM.

        Comment

        Latest Articles

        Collapse

        • mylaser
          Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
          by mylaser
          Kheloyaar: The Complete Guide to Kheloyaar Loginand Kheloyaar ID
          The online gaming industry has transformed the way people enjoy digital entertainment. As technology continues to improve, players are looking for platforms that offer convenience, security, and a seamless user experience. Kheloyaarhas gained attention among users who value an easy-to-use platform, quick account access, and a simple registration process.
          Whether you're exploring Kheloyaar for the first time or want to understand...
          Today, 09:27 PM
        • SEQadmin2
          Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
          by SEQadmin2



          Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
          ...
          Today, 11:10 AM
        • 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...
          Yesterday, 05:17 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Today, 10:04 AM
        0 responses
        8 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, Yesterday, 10:08 AM
        0 responses
        7 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-07-2026, 11:05 AM
        0 responses
        10 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-02-2026, 11:08 AM
        0 responses
        31 views
        0 reactions
        Last Post SEQadmin2  
        Working...