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

Re: [Seqan-dev] String of SeqFileOut

<-- thread
<-- date
  • From: Rahn, René <rene.maerker@fu-berlin.de>
  • To: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Date: Sat, 30 May 2015 20:34:31 +0200
  • Reply-to: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Subject: Re: [Seqan-dev] String of SeqFileOut

Hi Alexander,

please use appendValue instead of append.
The function append concatenates one string to another.
In order to just add a new value at the end you need to call appendValue.

IHTH!

cheers,

René

Am May 29, 2015 um 23:35 schrieb Alexander Vowinkel <vowinkel.alexander@gmail.com>:

Hi,

I want to store some SeqFileOut in a seqan::String.
I tried both:
Using a seqan::String<seqan::SeqFileOut>
and unsing a seqan::String<seqan::SeqFileOut *>

Both fails. I don't understand why.
Can someone help me with this?
Now I'm using std::vector<seqan::SeqFileOut *> which
does the job, but I'd like to use this as a Property Map
for a Graph which needs to be a String if I got that right.

Thanks!
Alexander

int main()
{
    typedef seqan::SeqFileOut TFilePointer;
    typedef seqan::String<TFilePointer> TFilePointerSet;
    TFilePointerSet files;
    seqan::SeqFileIn inputFile1;
    append(files, inputFile1);
    seqan::SeqFileIn inputFile2;
    append(files, inputFile2);
    return 0;
}
_______________________________________________
seqan-dev mailing list
seqan-dev@lists.fu-berlin.de
https://lists.fu-berlin.de/listinfo/seqan-dev

---

René Rahn
Ph.D. Student
--------------------------------
Tel:  (+49) 30 838 75277
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] String of SeqFileOut
      • From: Alexander Vowinkel <vowinkel.alexander@gmail.com>
  • seqan-dev - May 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