[Bioc-devel] C library or C package API for regular expressions
xhonji01 at stud.fit.vutbr.cz
Mon Jan 25 18:40:56 CET 2016
Dne 25.1.2016 v 13:08 Morgan, Martin napsal(a):
> There is discussion at
> There is a Bioconductor example in that bundles the regex library at
> A second example is in the mzR package.
Thank you for pointing me to the flowCore and mzR packages, these
examples are really helpful.
> A real question is, do you really need this functionality at the C
I think it's unavoidable in my case for performance reasons. I'am trying
to dedect all possible overlapping motifs in DNA compounded from
elements matching some regular expression.
> A secondary question is that if several packages are using this
> functionality, then perhaps the library could be bundled separately
> and made available just once; zlibbioc does something like this (sort
> of; zlib is only needed on Windows). The flowCore and mzR maintainers
> (cc'd) might be a valuable resource in this regard.
Efficient regexp algorithms seems useful to me for solving many
bioinformatic problems. So it would be natural to have package with C
API to the most efficient regexp libraries.
> ________________________________________ From: Bioc-devel
> <bioc-devel-bounces at r-project.org> on behalf of Jiří Hon
> <xhonji01 at stud.fit.vutbr.cz> Sent: Monday, January 25, 2016 4:33 AM
> To: Charles Determan Cc: bioc-devel at r-project.org Subject: Re:
> [Bioc-devel] C library or C package API for regular expressions
> Hi Charles,
> thank you a lot for your helpful hint. There is still a thing that
> I'm not sure about - Boost manual says that Boost.Regex is not header
> only . So as BH package contains only headers, I will have to
> bundle the Boost.Regex library into the package code anyway. Am I
Dne 23.1.2016 v 13:35 Charles Determan napsal(a):
>> Hi Jiri,
>> I believe you can use the BH package. It contains most of the
>> Regards, Charles
>> On Saturday, January 23, 2016, Jiří Hon
>> <xhonji01 at stud.fit.vutbr.cz>
>>> Dear package developers,
>>> I would like to ask you for advice. Please, what is the most
>>> seamless way to use regular expressions in C/C++ code of
>>> R/Bioconductor package? Is it allowed to bundle some C/C++
>>> library for that (like PCRE or Boost.Regex)? Or is there existing
>>> C API of some package I can depend on and import?
>>> Thank you a lot for your attention and please have a nice day :)
>>> Jiri Hon
>>> Bioc-devel at r-project.org mailing list
> Bioc-devel at r-project.org mailing list
> This email message may contain legally privileged and/or confidential
> information. If you are not the intended recipient(s), or the
> employee or agent responsible for the delivery of this message to the
> intended recipient(s), you are hereby notified that any disclosure,
> copying, distribution, or use of this email message is prohibited. If
> you have received this message in error, please notify the sender
> immediately by e-mail and delete this email message from your
> computer. Thank you.
More information about the Bioc-devel