Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • remimaglione
    Junior Member
    • Apr 2013
    • 9

    #1

    How to open one gap on reads with bowtie2 ?

    Hi everyone.

    Here, i'm trying to open one gap on a few reads.

    To test that things, i use 1.10⁶ reads from illumina sequencing.
    i have modify my reference genom by insertion of 2 exogenous sequence that simulate fake gap (1 and 2kb).

    In a 1rst step, i have validated that my reads can overlap the 2 side of the fake gap by using topHat2. To deal with that tools i have added common splicing site to the both end of the fake gap to simulate exon/exon junction.
    Now my reference genome look like :
    Code:
    <reference_genom_seq>'GT'<fake_gap>'AG'<reference_genom_seq>
    And.. It's work great. Thus, i know that a few reads from my data set can overlap the fake gap ( One gap per read ).

    In a second time, i try to deal with the bowtie2 parameter (i,e Scoring options )

    here, i present a few cmd line used for this experiment:

    Code:
    bowtie2 -p 4 --no-unal --ignore-quals --mp 60000 --rdg 1,1 --score-min L,-100000,-100000 -x my_ref_genom my_fastq -S my_aln.sam
    --ignore-quals(because i dont care of my Q phred value here)
    --mp 60000( i don't want mismatch -> tophat2 aligned my reads without mismatch)
    --rdg 1,1 (i d'ont know why but i can't set value under 1 from this 2 parameter. In a dream world i want to set <int2>=0 for --rdg <int1>,<int2> and find a good value for <int1> to have just one gap per read )
    --score-min L,-1000000,-1000000 (this is a extrem threshold to get better chance to open a gap)

    result->no gap open + clean alignement ( no mismatch)

    Code:
    bowtie2 -p 4 --no-unal --rdg 1,1 -x my_ref_genom my_fastq -S my_aln.sam
    result->no gap open + mismatch

    Code:
    bowtie2 -p 4 --no-unal --ignore-quals --gbar 25 --rdg 1,1 -x my_ref_genom my_fastq -S my_aln.sam
    --gbar 25 (to have a significant number of read base overlapping the both side of the fake gap and to overcome a issue with a gap penalties in the 1rst seeding (seed=22))

    result->no gap open + mismatch

    So, i have 3 question:

    1_if we follow the manual page, we can read that the gap penalties is calculate on this base : <int1> + N * <int2>. with my 1kb gap length (N=1000) and --rdg 1,1 a gap penalties is around 2000.
    with a threshold set at -1000000 (my read length is 100 for the x of the threshold in f(x) = 0 + -0.6 * x), why no gap is open on read overlaping the fake gap ?
    wich paramater can i set up to open a gap on few read from my data set ?

    2_If tophat can deal with my fake gap, can i set up tophat to deal with other gap different from exon/exon junction ?

    3_Do you know an other tools that can deal with my problem ?

    Thank you a lot to read me ( sorry for that large post ) and thanks in advance for any reply.

    Rémi
  • Brian Bushnell
    Super Moderator
    • Jan 2014
    • 2709

    #2
    Rémi,

    I suggest you try BBMap, which is very good at dealing with gapped alignments whether or not they are related to exons.

    (index)
    bbmap.sh ref=reference.fasta -Xmx29g

    (map)
    bbmap.sh in=reads.fq out=mapped.sam -Xmx29g

    This will look for gaps up to 16kb. If you want to look for longer gaps, use the flag "maxindel=100000" to (for example) look for up to 100000bp gaps. The flag "-Xmx30g" specifies how much memory BBMap is allowed to use; this should be set to around 85% of the system's physical RAM.

    Comment

    • mastal
      Senior Member
      • Mar 2009
      • 666

      #3
      I think maybe what you need are tools for finding SVs, Structural Variants.

      Have a look at the SeqWiki for a list of software.

      Comment

      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
      • SEQadmin2
        Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
        by SEQadmin2



        Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
        ...
        07-09-2026, 11:10 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Yesterday, 10:13 AM
      0 responses
      14 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-31-2026, 02:55 AM
      0 responses
      28 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-24-2026, 12:17 PM
      0 responses
      21 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-23-2026, 11:41 AM
      0 responses
      21 views
      0 reactions
      Last Post SEQadmin2  
      Working...