Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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.

  • #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


    • #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


      • #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

        • seqadmin
          Genetic Variation in Immunogenetics and Antibody Diversity
          by seqadmin



          The field of immunogenetics explores how genetic variations influence immune responses and susceptibility to disease. In a recent SEQanswers webinar, Oscar Rodriguez, Ph.D., Postdoctoral Researcher at the University of Louisville, and Ruben Martínez Barricarte, Ph.D., Assistant Professor of Medicine at Vanderbilt University, shared recent advancements in immunogenetics. This article discusses their research on genetic variation in antibody loci, antibody production processes,...
          11-06-2024, 07:24 PM
        • seqadmin
          Choosing Between NGS and qPCR
          by seqadmin



          Next-generation sequencing (NGS) and quantitative polymerase chain reaction (qPCR) are essential techniques for investigating the genome, transcriptome, and epigenome. In many cases, choosing the appropriate technique is straightforward, but in others, it can be more challenging to determine the most effective option. A simple distinction is that smaller, more focused projects are typically better suited for qPCR, while larger, more complex datasets benefit from NGS. However,...
          10-18-2024, 07:11 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Today, 11:09 AM
        0 responses
        22 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, Today, 06:13 AM
        0 responses
        20 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 11-01-2024, 06:09 AM
        0 responses
        30 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 10-30-2024, 05:31 AM
        0 responses
        21 views
        0 likes
        Last Post seqadmin  
        Working...
        X