From fadhlan.fari@gmail.com Wed Mar 25 09:09:35 2015 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.85) for seqan-dev@lists.fu-berlin.de with esmtp (envelope-from ) id <1YagNZ-003P3R-Cx>; Wed, 25 Mar 2015 09:09:33 +0100 Received: from mail-yh0-f42.google.com ([209.85.213.42]) by relay1.zedat.fu-berlin.de (Exim 4.85) for seqan-dev@lists.fu-berlin.de with esmtps (envelope-from ) id <1YagNZ-002R23-84>; Wed, 25 Mar 2015 09:09:33 +0100 Received: by yhjf44 with SMTP id f44so8135994yhj.3 for ; Wed, 25 Mar 2015 01:09:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=gLhhWyzrBY+YEaVStmWyYz4OQMvjW6IGT09Ijjr4dJM=; b=ItCokYMDUD8r91YN4E+cUOuR/MmnIRa+/6kls+UVE4Ud8YDpDmpmxPqYEQ/rk2GALc rDzTnwrddkTnTyOWJePW/zL0p2mCKrwRQrWYZDLRtTbtSexHPaT5+afngDUoHeNW0wNB gcXAG5Rq46yroLbLL0O4xcP28Qem8lWutoMafURDxxg9emC8IYA9YKLA1sgOQ6dA2djI wBKdTY/P0rcr4F6AaHoSsyilzLnmdEPPWUqOxsnKuNSlQvblsaqJVuWQhA9ekMQSybdl 266UpUMaEdG5Wr68pHtNLS1TYOzQ9gtOtB/MMkrlfTGPfgp+uuXFNZHNgXiIosnesfmU o4ig== MIME-Version: 1.0 X-Received: by 10.52.106.35 with SMTP id gr3mr7542008vdb.78.1427270970869; Wed, 25 Mar 2015 01:09:30 -0700 (PDT) Received: by 10.52.65.137 with HTTP; Wed, 25 Mar 2015 01:09:30 -0700 (PDT) Date: Wed, 25 Mar 2015 15:09:30 +0700 Message-ID: From: Fadhlan Rizal To: seqan-dev@lists.fu-berlin.de Content-Type: multipart/alternative; boundary=001a1133e2c2378f340512186b5d X-Originating-IP: 209.85.213.42 X-ZEDAT-Hint: A X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1427270973-00000DE8-B73D5919/0/0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.260036, version=1.2.4 X-Spam-Flag: NO X-Spam-Status: No, score=-0.7 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID X-Spam-Checker-Version: SpamAssassin 3.4.0 on Tuvalu.ZEDAT.FU-Berlin.DE X-Spam-Level: Subject: [Seqan-dev] using ConcurrentQueue for function return X-BeenThere: seqan-dev@lists.fu-berlin.de X-Mailman-Version: 2.1.16 Precedence: list Reply-To: SeqAn Development List-Id: SeqAn Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 08:09:35 -0000 --001a1133e2c2378f340512186b5d Content-Type: text/plain; charset=UTF-8 hello, i'm fadhlan. i need help about using ConcurrentQueue for return function. because using appendValue(target, value) is not thread safe in seqan 1.4.2 and 2.0.0, i'm using appendValue(queue, value) for parallel. the problem is 1. i cant send the value ex:"ACGT", instead i just can send ex:1, 1 in here is like a position ACGT is. 2. i creating a function about it, so the return is a list of sequence, but using queue i just return the position of the sequence, but i cant return it. the question is 1. can i send value ex:"ACGT" to queue? 2. can i return it if i using a function (ex: ConcurrentQueue spectrum()) ? thanks. best regards. --001a1133e2c2378f340512186b5d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
hello, i'm fadhlan.=C2= =A0

i need help about using ConcurrentQueue for return function. because u= sing appendValue(target, value) is not thread safe in seqan 1.4.2 and 2.0.0= , i'm using appendValue(queue, value) for parallel.

the problem is
1. i cant send the value ex:"ACGT"= , instead i just can send ex:1, 1 in here is like a position ACGT is.=C2=A0=
2. i creating a function about it, so t= he return is a list of sequence, but using queue i just return the position= of the sequence, but i cant return it.
=
the question is
1. can i send value ex:"ACGT" to queue?
2. can i return it if i using a function (ex: Con= currentQueue<unsigned> spectrum()) ?

thanks.=C2=A0

best regards.
--001a1133e2c2378f340512186b5d-- From fadhlan.fari@gmail.com Wed Mar 25 13:46:05 2015 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.85) for seqan-dev@lists.fu-berlin.de with esmtp (envelope-from ) id <1YakhA-000JxC-Au>; Wed, 25 Mar 2015 13:46:04 +0100 Received: from mail-yk0-f175.google.com ([209.85.160.175]) by relay1.zedat.fu-berlin.de (Exim 4.85) for seqan-dev@lists.fu-berlin.de with esmtps (envelope-from ) id <1YakhA-003Ta1-6F>; Wed, 25 Mar 2015 13:46:04 +0100 Received: by ykek76 with SMTP id k76so11695877yke.0 for ; Wed, 25 Mar 2015 05:46:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=YAiqaRItEqzHGKjs9OHBRozIFMGbdBPAQYI3wrE01T4=; b=xipJhG2scMVAsMLUfuBWul3tWfvYcsh70IEwIHRURJXjrAvQQ3Jv6VZ2XSlANlnf// p5x20O9CPAJrZHRaMcCBgfkHQ7UOgtM6AcPrFmgNMeeRclEflvaC2PH+cPDHZpu6FUrk Us38G/V9y3KY4b5BasfHMeRw89+3/kVq8g0lPhdzLoB2ng60Lm4b2XS3+qkOrjA4MNS3 43cYrcOJoc3dgSd4AMdoTokYejZ/LCsSLyR+hkYN4CLynxEmgp80eqN724Q8f16CrUm1 z/+rxUIQijXNiEB2OISvv9adD9iUJm6X5rMFJPJDinyz9u73KeETIM/v57qrL6l9CiDK H6UA== MIME-Version: 1.0 X-Received: by 10.52.7.106 with SMTP id i10mr8922168vda.11.1427287561920; Wed, 25 Mar 2015 05:46:01 -0700 (PDT) Received: by 10.52.65.137 with HTTP; Wed, 25 Mar 2015 05:46:01 -0700 (PDT) Date: Wed, 25 Mar 2015 19:46:01 +0700 Message-ID: From: Fadhlan Rizal To: seqan-dev@lists.fu-berlin.de Content-Type: multipart/alternative; boundary=20cf303344e11ee80305121c48c5 X-Originating-IP: 209.85.160.175 X-ZEDAT-Hint: A X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1427287564-00000DE8-EF6B5BD3/0/0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.285319, version=1.2.4 X-Spam-Flag: NO X-Spam-Status: No, score=-0.7 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,T_DKIM_INVALID X-Spam-Checker-Version: SpamAssassin 3.4.0 on Palau.ZEDAT.FU-Berlin.DE X-Spam-Level: Subject: [Seqan-dev] using appendValue for local parallel and join it X-BeenThere: seqan-dev@lists.fu-berlin.de X-Mailman-Version: 2.1.16 Precedence: list Reply-To: SeqAn Development List-Id: SeqAn Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 12:46:05 -0000 --20cf303344e11ee80305121c48c5 Content-Type: text/plain; charset=UTF-8 Hello again, it's me fadhlan. i have another idea for using appendValue for local in parallel, and after parallel done i join them using appendValue, but i got error. so the program is like this StringSet SpectrumLocal[thread] StringSet Spectrum // example parallel for start to finish, the value ex:"ACGT" for start to finish appendValue(SpectrumLocal[id], value) //join them for i to thread appendValue(Spectrum, SpectrumLocal[i]) well, i get error about it. can i get another way to join all SpectrumLocal to Spectrum? thanks, best regard. --20cf303344e11ee80305121c48c5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello again, it's me fadhlan.

i hav= e another idea for using appendValue for local in parallel, and after paral= lel done i join them using appendValue, but i got error.

so the program is like this

StringSet<Dn= aString> SpectrumLocal[thread]
StringSet<DnaString> Spec= trum

// example parallel for start to finish, = the value ex:"ACGT"
for start to finish
=C2= =A0 =C2=A0 =C2=A0appendValue(SpectrumLocal[id], value)

=
//join them
for i to thread
=C2=A0 =C2=A0 =C2=A0ap= pendValue(Spectrum, SpectrumLocal[i])

well, i get = error about it.
can i get another way to join all SpectrumLocal t= o Spectrum?=C2=A0

thanks,
best regard.

--20cf303344e11ee80305121c48c5--