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

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