FU Logo
  • Startseite
  • Kontakt
  • Impressum
  • Home
  • Listenauswahl
  • Anleitungen

Re: [Seqan-dev] Seed end offset

<-- thread
<-- date
  • From: Rahn, René <Rene.Rahn@fu-berlin.de>
  • To: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Date: Thu, 21 Feb 2019 09:47:06 +0100
  • Cc: Aydin Buluc <abuluc@lbl.gov>, "gguidi@berkeley.edu" <gguidi@berkeley.edu>
  • Subject: Re: [Seqan-dev] Seed end offset

Hi Saliya,


On 21. Feb 2019, at 04:22, Saliya Ekanayake <esaliya@gmail.com> wrote:

Hi Devs,

Looking at the example on seeds at (https://seqan.readthedocs.io/en/seqan-v1.4.2/Tutorial/SeedAndExtend.html), I want to check if the seed end offset is exclusive or inclusive.

For example, in the string, 

"The quick BROWN fox jumped again!"

the seed ROW starts at 11 and ends at 13 (zero-based) indices. The example lists 14 as the end offset, so does that mean the last index should be exclusive?

Yes, the end of the seed is the position behind the last included element of the source, similar to the end iterator which points behind the last element of a range.
So in this example constructing the same seed with seed(11, 7, 3), where 3 is the size of the diagonal will give the same end positions 14 and 10.

I hope this helps,

best regards,

René


Thank you,
Saliya



--
Saliya Ekanayake, Ph.D
Postdoctoral Scholar
Performance and Algorithms Research (PAR) Group
Lawrence Berkeley National Laboratory
Phone: 510-486-5772

_______________________________________________
seqan-dev mailing list
seqan-dev@lists.fu-berlin.de
https://lists.fu-berlin.de/listinfo/seqan-dev

---

René Rahn
Ph.D. Student (de.NBI - CIBI)
--------------------------------
Tel:  (+49) 30 838 72974
Mail: rene.rahn@fu-berlin.de
--------------------------------
Institute of Computer Science
Algorithmic Bioinformatics (ABI)
--------------------------------
Freie Universität Berlin
Takustraße 9
14195 Berlin
--------------------------------

<-- thread
<-- date
  • References:
    • [Seqan-dev] Seed end offset
      • From: Saliya Ekanayake <esaliya@gmail.com>
  • seqan-dev - February 2019 - Archives indexes sorted by:
    [ thread ] [ subject ] [ author ] [ date ]
  • Complete archive of the seqan-dev mailing list
  • More info on this list...

Hilfe

  • FAQ
  • Dienstbeschreibung
  • ZEDAT Beratung
  • postmaster@lists.fu-berlin.de

Service-Navigation

  • Startseite
  • Listenauswahl

Einrichtung Mailingliste

  • ZEDAT-Portal
  • Mailinglisten Portal