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

[Seqan-dev] Infix of const String

<-- thread -->
<-- date -->
  • From: Alexander Vowinkel <vowinkel.alexander@gmail.com>
  • To: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Date: Tue, 2 Jun 2015 18:46:56 -0500
  • Reply-to: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Subject: [Seqan-dev] Infix of const String

Hi Team,

adopting from IndexIterators Tutorial, following problem came up:

When I want to save an Infix of an representative in an Index Iterator:

seqan::Infix<TBarcodeString>::Type referenceIfx = infix(representative(indexIt), parentRepLength(indexIt) + 1, endPos);

the error pops up, that I can't use a const String for this:

/opt/seqan/seqan-src/include/seqan/sequence/segment_infix.h:135:42: error: invalid conversion from ‘seqan::Pointer_<const seqan::String<seqan::SimpleType<unsigned char, seqan::Dna5_>, seqan::Alloc<> > >::Type {aka const seqan::String<seqan::SimpleType<unsigned char, seqan::Dna5_>, seqan::Alloc<> >*}’ to ‘seqan::Pointer_<seqan::String<seqan::SimpleType<unsigned char, seqan::Dna5_>, seqan::Alloc<> > >::Type {aka seqan::String<seqan::SimpleType<unsigned char, seqan::Dna5_>, seqan::Alloc<> >*}’ [-fpermissive]
         data_host(_toPointer(host(_other))),

Solutions?

Best,
Alexander 
<-- thread -->
<-- date -->
  • Follow-Ups:
    • Re: [Seqan-dev] Infix of const String
      • From: Fadhlan Rizal <fadhlan.fari@gmail.com>
    • Re: [Seqan-dev] Infix of const String
      • From: Rahn, René <rene.maerker@fu-berlin.de>
  • seqan-dev - June 2015 - 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