Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sow
    Member
    • Feb 2016
    • 16

    #1

    Bowtie/1.1.2 Encountered reference seq with gaps

    Hello,

    Can anyone decipher this code for me..

    } else if(cat >= 2) {
    if(lc != -1 && off == 0) off++;
    lc = -1;
    off++; // skip over gap character and increment
    } else if(c == '>') {
    if(off > 0 && lastc == '>') {
    cerr << "Warning: Encountered reference sequence with only gaps" << endl;
    } else if(lastc == '>') {
    cerr << "Warning: Encountered empty reference sequence" << endl;
    }
    lastc = '>';
    //return RefRecord(off, 0, false);
    return RefRecord((uint32_t)off, 0, first);
    }
    c = in.get();
    if(c == -1) {
    // End-of-file
    if(off > 0 && lastc == '>') {
    cerr << "Warning: Encountered reference sequence with only gaps" << endl;
    } else if(lastc == '>') {
    cerr << "Warning: Encountered empty reference sequence" << endl;
    }
    lastc = -1;
    //return RefRecord(off, 0, false);
    return RefRecord((uint32_t)off, 0, first);
    }
    }
    assert(!rparms.color || (lc != -1));
    assert_eq(1, asc2dnacat[c]); // C must be unambiguous base
    if(off > 0 && rparms.color && first) {
    // Handle the case where the first record has ambiguous
    // characters but we're in color space; one of those counts is
    // spurious
    off--;
    }

    I'm trying to build a bowtie index on a genome file but it returns the warning
    "Encountered reference sequence with gaps".

    I'm not sure what that means. My genome is not Rep Masked to have N (at least that I know of). And when I do downstream aligning only 20% of my reads aligns with the genome. When I created an index for an older version of the genome I did not encounter these warnings and I had more reads aligning to the genome (more than 50%). I am limited to using the new version of the genome since I am using a pipeline and the gff file I use later in the pipeline have the same headers as the new version of the genome.

    My question is
    1. What does the warning "encountered....." mean and how do I solve the issue?
    2. Can the low percentage of reads aligning to the genome be because of these warnings?

    Thanks in advance for your help!

Latest Articles

Collapse

  • SEQadmin2
    Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
    by SEQadmin2



    CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

    Despite this, “CRISPR helped turn genome editing from a specialized technique into
    ...
    07-31-2026, 11:01 AM
  • SEQadmin2
    Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
    by SEQadmin2


    Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

    The systematic characterization of the human proteome has
    ...
    07-20-2026, 11:48 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, Yesterday, 12:22 PM
0 responses
12 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 08-11-2026, 10:35 AM
0 responses
14 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 08-06-2026, 07:41 AM
0 responses
31 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 08-03-2026, 10:13 AM
0 responses
49 views
0 reactions
Last Post SEQadmin2  
Working...