Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rboettcher
    Member
    • Oct 2010
    • 71

    #1

    Question on BWA output

    Hi all,

    once again I have to ask for your help, since I couldn't find any thread on the board that is reflecting my problem.
    First of all: I use artificially created single end reads in Illumina FASTQ format that look like the following (the quality values are not as yet of any concern, that is why it's h):

    @Identifier1:1:1:1:1#NNNNNN/1
    ACAATGTTTCTCATGCTCCAGTGAT
    +Identifier1:1:1:1:1#NNNNNN/1
    hhhhhhhhhhhhhhhhhhhhhhhhh
    @Identifier2:1:2:1:1#NNNNNN/1
    TTTCCTCATCTACAACAGTGATTGG
    +Identifier2:1:2:1:1#NNNNNN/1
    hhhhhhhhhhhhhhhhhhhhhhhhh
    To get used to BWA (I used bowtie before and that works fine with the data), I'm aligning them against a small part of the genome (the one I used to create them is included) which consists of several FASTA entries of exons, so basically:

    >RefIdentifier1
    ACAATGTTTTTGATCTCTTTAACCTCATCTACCTCAGGCAACAATGTTTT
    TGATCTCTTTAACCTCATCTACCTCAGGCAGTGCTCATGGTGATTTGTG
    CTCATGGTGATTT
    >RefIdentifier2
    CATCTACCTCAGGCAACCTCATGGTATTTGTGCTCATGGTGATTCCCTA
    TCTACTTTTGAACAATGTTTTTGATCTCTTTAACCTTCTCTTTAACCTCCT
    CAGGCAGTGGATGATGACTGACTGACTGTTTGATCGTGACTGATCGTG
    ATCTTTTTTACGGGACATTAAAAGGCGGGCCCTAAACTGAC
    So far I've tried
    ./bwa aln indexfile readfile.fastq > BWAout.sai
    w/ and w/o the -I flag set, and after that:
    ./bwa samse indexfile BWAout.sai readfile.fastq > BWAout.sam
    It produces a SAM file that looks like this (independent of the -I flag):
    @SQ SN:RefIdentifier1 LN:124
    @SQ SN:RefIdentifier2 LN:133
    @SQ SN:RefIdentifier3 LN:189
    @SQ SN:RefIdentifier4 LN:140
    @SQ SN:RefIdentifier5 LN:120
    I tried to get some information out of this but couldn't find anything comparable on the web or the manuals so far. So to make it short: I have no clue what to do with that file and why it looks like it does, since the once described elsewhere look completely different, as far as I can tell.

    Any help is much appreciated, thanks in advance.

    Regards
  • gaffa
    Member
    • Oct 2010
    • 82

    #2
    That's the SAM header that you're seeing there, with the record type SQ being the sequence dictionary (SN = sequence name, LN = sequence length) of your reference. The read alignments should be below the header in the file (are they? - if not there's a problem).

    For more info on the SAM format see the publication http://www.ncbi.nlm.nih.gov/pubmed/19505943 and the format specification http://samtools.sourceforge.net/SAM1.pdf.

    Comment

    • rboettcher
      Member
      • Oct 2010
      • 71

      #3
      Ok in this case there is a problem, as there are just headers in the file. Unfortunately, I don't get any error messages during the alignment, so I have no idea where to start looking for mistakes. Anyway, thank you for your quick reply.

      Comment

      • rboettcher
        Member
        • Oct 2010
        • 71

        #4
        Solved, I reinstalled BWA and retried the alignment after indexing the whole reference again and it worked, no idea what went wrong in the first place...

        Thanks anyways.

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
          by SEQadmin2



          Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

          Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
          ...
          10-14-2026, 09:55 AM
        • SEQadmin2
          New Genomics Technologies Take Aim at Long-Standing Limits
          by SEQadmin2


          Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

          We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
          ...
          09-28-2026, 10:25 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 10-22-2026, 11:13 AM
        0 responses
        26 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 10:48 AM
        0 responses
        20 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        36 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-14-2026, 05:39 AM
        0 responses
        43 views
        0 reactions
        Last Post SEQadmin2  
        Working...