Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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

  • seqadmin
    Recent Advances in Sequencing Analysis Tools
    by seqadmin


    The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
    05-06-2024, 07:48 AM
  • seqadmin
    Essential Discoveries and Tools in Epitranscriptomics
    by seqadmin




    The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
    04-22-2024, 07:01 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, Today, 07:03 AM
0 responses
10 views
0 likes
Last Post seqadmin  
Started by seqadmin, 05-10-2024, 06:35 AM
0 responses
31 views
0 likes
Last Post seqadmin  
Started by seqadmin, 05-09-2024, 02:46 PM
0 responses
41 views
0 likes
Last Post seqadmin  
Started by seqadmin, 05-07-2024, 06:57 AM
0 responses
33 views
0 likes
Last Post seqadmin  
Working...
X