Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hzhou
    Junior Member
    • Jul 2015
    • 1

    #1

    GSNAP: (too many?) mismatches in -N mode

    I've just tried running GSNAP version 2014-12-29 to predict novel splice junctions using -N. My input files are paired-end fast files, 75t.

    gsnap -m 5 --gunzip -A sam -N 1 -D gmapdb/ -d human $FASTQ_DIR/A549.nucleus.polyA/test.1.fastq.gz $FASTQ_DIR/A549.nucleus.polyA/test.2.fastq.gz > NJ_test.sam

    I set -m to 5 following the suggestions in help:

    -m, --max-mismatches=FLOAT Maximum number of mismatches allowed (if not specified, then defaults to the ultrafast level of (readlength+index_interval-1)/kmer - 2))...Otherwise, treated as an integral number of mismatches (including indel and splicing penalties). For RNA-Seq, you may need to increase this value slightly to align reads extending past the ends of an exon.

    However, it looks like I get *a lot* of mismatches in my mapping, c.f. the attached screenshot from IGV. The reads are consistent enough in the sense that they're assembled into a longer stretch of RNA, but it doesn't align at all to the suggested location in the genome.

    I suspect I'm missing something obvious here...
    Attached Files
  • atma_weapon
    Member
    • May 2012
    • 11

    #2
    Originally posted by hzhou View Post
    I've just tried running GSNAP version 2014-12-29 to predict novel splice junctions using -N. My input files are paired-end fast files, 75t.

    gsnap -m 5 --gunzip -A sam -N 1 -D gmapdb/ -d human $FASTQ_DIR/A549.nucleus.polyA/test.1.fastq.gz $FASTQ_DIR/A549.nucleus.polyA/test.2.fastq.gz > NJ_test.sam

    I set -m to 5 following the suggestions in help:

    -m, --max-mismatches=FLOAT Maximum number of mismatches allowed (if not specified, then defaults to the ultrafast level of (readlength+index_interval-1)/kmer - 2))...Otherwise, treated as an integral number of mismatches (including indel and splicing penalties). For RNA-Seq, you may need to increase this value slightly to align reads extending past the ends of an exon.

    However, it looks like I get *a lot* of mismatches in my mapping, c.f. the attached screenshot from IGV. The reads are consistent enough in the sense that they're assembled into a longer stretch of RNA, but it doesn't align at all to the suggested location in the genome.

    I suspect I'm missing something obvious here...
    I have the same problem

    Comment

    • Brian Bushnell
      Super Moderator
      • Jan 2014
      • 2709

      #3
      The image looks like the coordinates are wrong, or the reference is wrong. For example, the data was mapped against reference A, and is being displayed in IGV using reference B. There's no way the reads would actually align like that (with ~75% of the bases mismatching). Are you sure you're using the same reference?

      Comment

      • atma_weapon
        Member
        • May 2012
        • 11

        #4
        Originally posted by Brian Bushnell View Post
        The image looks like the coordinates are wrong, or the reference is wrong. For example, the data was mapped against reference A, and is being displayed in IGV using reference B. There's no way the reads would actually align like that (with ~75% of the bases mismatching). Are you sure you're using the same reference?
        I ran gsnap with default parameters for mismatched (my reads are 75bp) and it should be((readlength+2)/kmer - 2) mismatches
        But sometimes I get up to 15 mismatches per reads. They are usually lumped all in the same place
        Attached Files

        Comment

        Latest Articles

        Collapse

        • 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, detection...
          Today, 06:46 AM
        • 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

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 10-28-2026, 09:57 AM
        0 responses
        23 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-28-2026, 09:51 AM
        0 responses
        15 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 11:13 AM
        0 responses
        68 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 10:48 AM
        0 responses
        48 views
        0 reactions
        Last Post SEQadmin2  
        Working...