From lennart at karssen.org Tue Jan 13 10:18:54 2015 From: lennart at karssen.org (L.C. Karssen) Date: Tue, 13 Jan 2015 10:18:54 +0100 Subject: [GenABEL-dev] OmicABEL version number Message-ID: <54B4E2FE.6060101@karssen.org> Dear list, I was just looking at the OmicABEL page on www.genabel.org when it struck me that OmicABEL doesn't seem to have a version number. I also did a quick grep in the code and couldn't find a version/release number there either. Maybe I somehow missed it, but if not, I think we really should add a version number to each release. Having a version number is good for various reasons like packaging/upgrading, marketing (announcements), reproducible research, etc. Best regards, Lennart. -- *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* L.C. Karssen Utrecht The Netherlands lennart at karssen.org http://blog.karssen.org GPG key ID: A88F554A -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 213 bytes Desc: OpenPGP digital signature URL: From fabregat at aices.rwth-aachen.de Wed Jan 14 15:13:33 2015 From: fabregat at aices.rwth-aachen.de (Diego Fabregat) Date: Wed, 14 Jan 2015 15:13:33 +0100 Subject: [GenABEL-dev] OmicABEL version number In-Reply-To: <54B4E2FE.6060101@karssen.org> References: <54B4E2FE.6060101@karssen.org> Message-ID: <54B6798D.9030902@aices.rwth-aachen.de> Hi Lennart, I'm looking into this. What should I use for versioning? a.b.c where a = major b = minor c = bug-fixes ? This seems in line with other genabel packages. Am I right? Also, how do you deal with the copyright line "Copyright (C) 2009--2014 ..." in every source file? Do you simply edit (sed?) all of them every new year? Thanks! On 01/13/2015 10:18 AM, L.C. Karssen wrote: > Dear list, > > I was just looking at the OmicABEL page on www.genabel.org when it > struck me that OmicABEL doesn't seem to have a version number. I also > did a quick grep in the code and couldn't find a version/release number > there either. Maybe I somehow missed it, but if not, I think we really > should add a version number to each release. Having a version number is > good for various reasons like packaging/upgrading, marketing > (announcements), reproducible research, etc. > > > Best regards, > > Lennart. > > > _______________________________________________ > genabel-devel mailing list > genabel-devel at lists.r-forge.r-project.org > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: From yurii.aulchenko at gmail.com Wed Jan 14 15:24:14 2015 From: yurii.aulchenko at gmail.com (Yurii Aulchenko) Date: Wed, 14 Jan 2015 15:24:14 +0100 Subject: [GenABEL-dev] OmicABEL version number In-Reply-To: <54B6798D.9030902@aices.rwth-aachen.de> References: <54B4E2FE.6060101@karssen.org> <54B6798D.9030902@aices.rwth-aachen.de> Message-ID: <1E74451D-0BCA-4749-B3C2-A5531A056A63@gmail.com> > On 14 Jan 2015, at 15:13, Diego Fabregat wrote: > > Hi Lennart, > > I'm looking into this. What should I use for versioning? a.b.c where > a = major > b = minor > c = bug-fixes > ? true, complying with R quasi-standars. c = odd = version in work; c = even = ?release? Yurii > > This seems in line with other genabel packages. Am I right? > > Also, how do you deal with the copyright line > > "Copyright (C) 2009--2014 ..." > > in every source file? Do you simply edit (sed?) all of them every new year? > > Thanks! > > On 01/13/2015 10:18 AM, L.C. Karssen wrote: >> Dear list, >> >> I was just looking at the OmicABEL page on www.genabel.org when it >> struck me that OmicABEL doesn't seem to have a version number. I also >> did a quick grep in the code and couldn't find a version/release number >> there either. Maybe I somehow missed it, but if not, I think we really >> should add a version number to each release. Having a version number is >> good for various reasons like packaging/upgrading, marketing >> (announcements), reproducible research, etc. >> >> >> Best regards, >> >> Lennart. >> >> >> _______________________________________________ >> genabel-devel mailing list >> genabel-devel at lists.r-forge.r-project.org >> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel > _______________________________________________ > genabel-devel mailing list > genabel-devel at lists.r-forge.r-project.org > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: From lennart at karssen.org Wed Jan 14 16:31:25 2015 From: lennart at karssen.org (L.C. Karssen) Date: Wed, 14 Jan 2015 16:31:25 +0100 Subject: [GenABEL-dev] OmicABEL version number In-Reply-To: <1E74451D-0BCA-4749-B3C2-A5531A056A63@gmail.com> References: <54B4E2FE.6060101@karssen.org> <54B6798D.9030902@aices.rwth-aachen.de> <1E74451D-0BCA-4749-B3C2-A5531A056A63@gmail.com> Message-ID: <54B68BCD.3040301@karssen.org> Hi Diego, Yurii, others, On 14-01-15 15:24, Yurii Aulchenko wrote: > >> On 14 Jan 2015, at 15:13, Diego Fabregat >> > >> wrote: >> >> Hi Lennart, >> >> I'm looking into this. What should I use for versioning? a.b.c where >> a = major >> b = minor >> c = bug-fixes >> ? > Yes, that's what I do with ProbABEL and other package I maintain (note that for R packages the form a.b-c is more common). > true, complying with R quasi-standars. c = odd = version in work; c = > even = ?release? I'm not sure about the even/odd thing. At least I don't use it in that way. As far as I know, the "Writing R Extensions" document doesn't mention this. > > Yurii > >> >> This seems in line with other genabel packages. Am I right? >> >> Also, how do you deal with the copyright line >> >> "Copyright (C) 2009--2014 ..." >> >> in every source file? Do you simply edit (sed?) all of them every new >> year? Good point! That didn't cross my mind yet. I think using sed is the easiest. Some background: the GPL Howto (https://gnu.org/licenses/gpl-howto.html) states the following: "The copyright notice should include the year in which you finished preparing the release (...)" and "For software with several releases over multiple years, it's okay to use a range (?2008-2010?) instead of listing individual years (...) if and only if every year in the range, inclusive, really is a ?copyrightable? year that would be listed individually; and you make an explicit statement in your documentation about this usage." So ProbABEL doesn't follow this to the letter, but I guess it's good enough. Best, Lennart. >> >> Thanks! >> >> On 01/13/2015 10:18 AM, L.C. Karssen wrote: >>> Dear list, >>> >>> I was just looking at the OmicABEL page on www.genabel.org when it >>> struck me that OmicABEL doesn't seem to have a version number. I also >>> did a quick grep in the code and couldn't find a version/release number >>> there either. Maybe I somehow missed it, but if not, I think we really >>> should add a version number to each release. Having a version number is >>> good for various reasons like packaging/upgrading, marketing >>> (announcements), reproducible research, etc. >>> >>> >>> Best regards, >>> >>> Lennart. >>> >>> >>> _______________________________________________ >>> genabel-devel mailing list >>> genabel-devel at lists.r-forge.r-project.org >>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel >> >> _______________________________________________ >> genabel-devel mailing list >> genabel-devel at lists.r-forge.r-project.org >> >> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel > > > > _______________________________________________ > genabel-devel mailing list > genabel-devel at lists.r-forge.r-project.org > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel > -- *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* L.C. Karssen Utrecht The Netherlands lennart at karssen.org http://blog.karssen.org GPG key ID: A88F554A -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 213 bytes Desc: OpenPGP digital signature URL: From fabregat at aices.rwth-aachen.de Thu Jan 15 10:39:48 2015 From: fabregat at aices.rwth-aachen.de (Diego Fabregat) Date: Thu, 15 Jan 2015 10:39:48 +0100 Subject: [GenABEL-dev] OmicABEL version number In-Reply-To: <54B68BCD.3040301@karssen.org> References: <54B4E2FE.6060101@karssen.org> <54B6798D.9030902@aices.rwth-aachen.de> <1E74451D-0BCA-4749-B3C2-A5531A056A63@gmail.com> <54B68BCD.3040301@karssen.org> Message-ID: <54B78AE4.50306@aices.rwth-aachen.de> Alright, so where do I start form? 0.1.0? 1.0.0? On 01/14/2015 04:31 PM, L.C. Karssen wrote: > Hi Diego, Yurii, others, > > On 14-01-15 15:24, Yurii Aulchenko wrote: >>> On 14 Jan 2015, at 15:13, Diego Fabregat >>> > >>> wrote: >>> >>> Hi Lennart, >>> >>> I'm looking into this. What should I use for versioning? a.b.c where >>> a = major >>> b = minor >>> c = bug-fixes >>> ? > Yes, that's what I do with ProbABEL and other package I maintain (note > that for R packages the form a.b-c is more common). > >> true, complying with R quasi-standars. c = odd = version in work; c = >> even = ?release? > I'm not sure about the even/odd thing. At least I don't use it in that > way. As far as I know, the "Writing R Extensions" document doesn't > mention this. > >> Yurii >> >>> This seems in line with other genabel packages. Am I right? >>> >>> Also, how do you deal with the copyright line >>> >>> "Copyright (C) 2009--2014 ..." >>> >>> in every source file? Do you simply edit (sed?) all of them every new >>> year? > Good point! That didn't cross my mind yet. I think using sed is the > easiest. > > > > Some background: the GPL Howto (https://gnu.org/licenses/gpl-howto.html) > states the following: > "The copyright notice should include the year in which you > finished preparing the release (...)" > and > "For software with several releases over multiple years, it's okay > to use a range (?2008-2010?) instead of listing individual years > (...) if and only if every year in the range, inclusive, really > is a ?copyrightable? year that would be listed individually; and > you make an explicit statement in your documentation about this > usage." > > So ProbABEL doesn't follow this to the letter, but I guess it's good enough. > > > Best, > > Lennart. > > > >>> Thanks! >>> >>> On 01/13/2015 10:18 AM, L.C. Karssen wrote: >>>> Dear list, >>>> >>>> I was just looking at the OmicABEL page on www.genabel.org when it >>>> struck me that OmicABEL doesn't seem to have a version number. I also >>>> did a quick grep in the code and couldn't find a version/release number >>>> there either. Maybe I somehow missed it, but if not, I think we really >>>> should add a version number to each release. Having a version number is >>>> good for various reasons like packaging/upgrading, marketing >>>> (announcements), reproducible research, etc. >>>> >>>> >>>> Best regards, >>>> >>>> Lennart. >>>> >>>> >>>> _______________________________________________ >>>> genabel-devel mailing list >>>> genabel-devel at lists.r-forge.r-project.org >>>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel >>> _______________________________________________ >>> genabel-devel mailing list >>> genabel-devel at lists.r-forge.r-project.org >>> >>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel >> >> >> _______________________________________________ >> genabel-devel mailing list >> genabel-devel at lists.r-forge.r-project.org >> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel >> > > > _______________________________________________ > genabel-devel mailing list > genabel-devel at lists.r-forge.r-project.org > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: From yurii.aulchenko at gmail.com Thu Jan 15 14:07:38 2015 From: yurii.aulchenko at gmail.com (Yurii Aulchenko) Date: Thu, 15 Jan 2015 14:07:38 +0100 Subject: [GenABEL-dev] OmicABEL version number In-Reply-To: <54B78AE4.50306@aices.rwth-aachen.de> References: <54B4E2FE.6060101@karssen.org> <54B6798D.9030902@aices.rwth-aachen.de> <1E74451D-0BCA-4749-B3C2-A5531A056A63@gmail.com> <54B68BCD.3040301@karssen.org> <54B78AE4.50306@aices.rwth-aachen.de> Message-ID: <281B8B72-83EF-42B4-8D32-9A4A11F250A4@gmail.com> I am in favour of something like 0.8-0 would not call it 1.0-0 as it was not extensively used yet; would not call 0.1-0 because this looks ?too young? - which is not the case :) Yurii > On 15 Jan 2015, at 10:39, Diego Fabregat wrote: > > Alright, so where do I start form? 0.1.0? 1.0.0? > > On 01/14/2015 04:31 PM, L.C. Karssen wrote: >> Hi Diego, Yurii, others, >> >> On 14-01-15 15:24, Yurii Aulchenko wrote: >>>> On 14 Jan 2015, at 15:13, Diego Fabregat >>>> > >>>> wrote: >>>> >>>> Hi Lennart, >>>> >>>> I'm looking into this. What should I use for versioning? a.b.c where >>>> a = major >>>> b = minor >>>> c = bug-fixes >>>> ? >> Yes, that's what I do with ProbABEL and other package I maintain (note >> that for R packages the form a.b-c is more common). >> >>> true, complying with R quasi-standars. c = odd = version in work; c = >>> even = ?release? >> I'm not sure about the even/odd thing. At least I don't use it in that >> way. As far as I know, the "Writing R Extensions" document doesn't >> mention this. >> >>> Yurii >>> >>>> This seems in line with other genabel packages. Am I right? >>>> >>>> Also, how do you deal with the copyright line >>>> >>>> "Copyright (C) 2009--2014 ..." >>>> >>>> in every source file? Do you simply edit (sed?) all of them every new >>>> year? >> Good point! That didn't cross my mind yet. I think using sed is the >> easiest. >> >> >> >> Some background: the GPL Howto (https://gnu.org/licenses/gpl-howto.html ) >> states the following: >> "The copyright notice should include the year in which you >> finished preparing the release (...)" >> and >> "For software with several releases over multiple years, it's okay >> to use a range (?2008-2010?) instead of listing individual years >> (...) if and only if every year in the range, inclusive, really >> is a ?copyrightable? year that would be listed individually; and >> you make an explicit statement in your documentation about this >> usage." >> >> So ProbABEL doesn't follow this to the letter, but I guess it's good enough. >> >> >> Best, >> >> Lennart. >> >> >> >>>> Thanks! >>>> >>>> On 01/13/2015 10:18 AM, L.C. Karssen wrote: >>>>> Dear list, >>>>> >>>>> I was just looking at the OmicABEL page on www.genabel.org when it >>>>> struck me that OmicABEL doesn't seem to have a version number. I also >>>>> did a quick grep in the code and couldn't find a version/release number >>>>> there either. Maybe I somehow missed it, but if not, I think we really >>>>> should add a version number to each release. Having a version number is >>>>> good for various reasons like packaging/upgrading, marketing >>>>> (announcements), reproducible research, etc. >>>>> >>>>> >>>>> Best regards, >>>>> >>>>> Lennart. >>>>> >>>>> >>>>> _______________________________________________ >>>>> genabel-devel mailing list >>>>> genabel-devel at lists.r-forge.r-project.org >>>>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel >>>> _______________________________________________ >>>> genabel-devel mailing list >>>> genabel-devel at lists.r-forge.r-project.org >>>> >>>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel >>> >>> >>> _______________________________________________ >>> genabel-devel mailing list >>> genabel-devel at lists.r-forge.r-project.org >>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel >>> >> >> >> _______________________________________________ >> genabel-devel mailing list >> genabel-devel at lists.r-forge.r-project.org >> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel > _______________________________________________ > genabel-devel mailing list > genabel-devel at lists.r-forge.r-project.org > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: From lennart at karssen.org Thu Jan 15 14:59:47 2015 From: lennart at karssen.org (L.C. Karssen) Date: Thu, 15 Jan 2015 14:59:47 +0100 Subject: [GenABEL-dev] OmicABEL version number In-Reply-To: <281B8B72-83EF-42B4-8D32-9A4A11F250A4@gmail.com> References: <54B4E2FE.6060101@karssen.org> <54B6798D.9030902@aices.rwth-aachen.de> <1E74451D-0BCA-4749-B3C2-A5531A056A63@gmail.com> <54B68BCD.3040301@karssen.org> <54B78AE4.50306@aices.rwth-aachen.de> <281B8B72-83EF-42B4-8D32-9A4A11F250A4@gmail.com> Message-ID: <54B7C7D3.30304@karssen.org> On 15-01-15 14:07, Yurii Aulchenko wrote: > I am in favour of something like 0.8-0 I agree, something like 0.5.0 or 0.8.0, but it is up to you. In the traditional open source sense 1.0 is the number to give when the product has all the features you originally intended it to have. I would add to that that it should be reasonable well tested as well. Lennart. > > would not call it 1.0-0 as it was not extensively used yet; would not > call 0.1-0 because this looks ?too young? - which is not the case :) > > Yurii > > >> On 15 Jan 2015, at 10:39, Diego Fabregat >> > >> wrote: >> >> Alright, so where do I start form? 0.1.0? 1.0.0? >> >> On 01/14/2015 04:31 PM, L.C. Karssen wrote: >>> Hi Diego, Yurii, others, >>> >>> On 14-01-15 15:24, Yurii Aulchenko wrote: >>>>> On 14 Jan 2015, at 15:13, Diego Fabregat >>>>> > >>>>> wrote: >>>>> >>>>> Hi Lennart, >>>>> >>>>> I'm looking into this. What should I use for versioning? a.b.c where >>>>> a = major >>>>> b = minor >>>>> c = bug-fixes >>>>> ? >>> Yes, that's what I do with ProbABEL and other package I maintain (note >>> that for R packages the form a.b-c is more common). >>> >>>> true, complying with R quasi-standars. c = odd = version in work; c = >>>> even = ?release? >>> I'm not sure about the even/odd thing. At least I don't use it in that >>> way. As far as I know, the "Writing R Extensions" document doesn't >>> mention this. >>> >>>> Yurii >>>> >>>>> This seems in line with other genabel packages. Am I right? >>>>> >>>>> Also, how do you deal with the copyright line >>>>> >>>>> "Copyright (C) 2009--2014 ..." >>>>> >>>>> in every source file? Do you simply edit (sed?) all of them every new >>>>> year? >>> Good point! That didn't cross my mind yet. I think using sed is the >>> easiest. >>> >>> >>> >>> Some background: the GPL Howto (https://gnu.org/licenses/gpl-howto.html) >>> states the following: >>> "The copyright notice should include the year in which you >>> finished preparing the release (...)" >>> and >>> "For software with several releases over multiple years, it's okay >>> to use a range (?2008-2010?) instead of listing individual years >>> (...) if and only if every year in the range, inclusive, really >>> is a ?copyrightable? year that would be listed individually; and >>> you make an explicit statement in your documentation about this >>> usage." >>> >>> So ProbABEL doesn't follow this to the letter, but I guess it's good enough. >>> >>> >>> Best, >>> >>> Lennart. >>> >>> >>> >>>>> Thanks! >>>>> >>>>> On 01/13/2015 10:18 AM, L.C. Karssen wrote: >>>>>> Dear list, >>>>>> >>>>>> I was just looking at the OmicABEL page on www.genabel.org when it >>>>>> struck me that OmicABEL doesn't seem to have a version number. I also >>>>>> did a quick grep in the code and couldn't find a version/release number >>>>>> there either. Maybe I somehow missed it, but if not, I think we really >>>>>> should add a version number to each release. Having a version number is >>>>>> good for various reasons like packaging/upgrading, marketing >>>>>> (announcements), reproducible research, etc. >>>>>> >>>>>> >>>>>> Best regards, >>>>>> >>>>>> Lennart. >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> genabel-devel mailing list >>>>>> genabel-devel at lists.r-forge.r-project.org >>>>>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel >>>>> _______________________________________________ >>>>> genabel-devel mailing list >>>>> genabel-devel at lists.r-forge.r-project.org >>>>> >>>>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel >>>> >>>> _______________________________________________ >>>> genabel-devel mailing list >>>> genabel-devel at lists.r-forge.r-project.org >>>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel >>>> >>> >>> >>> _______________________________________________ >>> genabel-devel mailing list >>> genabel-devel at lists.r-forge.r-project.org >>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel >> >> _______________________________________________ >> genabel-devel mailing list >> genabel-devel at lists.r-forge.r-project.org >> >> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel > > > > _______________________________________________ > genabel-devel mailing list > genabel-devel at lists.r-forge.r-project.org > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel > -- *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* L.C. Karssen Utrecht The Netherlands lennart at karssen.org http://blog.karssen.org GPG key ID: A88F554A -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 213 bytes Desc: OpenPGP digital signature URL: From lennart at karssen.org Sun Jan 18 23:50:00 2015 From: lennart at karssen.org (L.C. Karssen) Date: Sun, 18 Jan 2015 23:50:00 +0100 Subject: [GenABEL-dev] [Genabel-commits] r1915 - in pkg/OmicABEL: . src src/float2double In-Reply-To: <20150118203531.AD87A187782@r-forge.r-project.org> References: <20150118203531.AD87A187782@r-forge.r-project.org> Message-ID: <54BC3898.6070007@karssen.org> Thanks Diego! Glad to see that OmicABEL has a version number now as well :-). Best, Lennart. On 18-01-15 21:35, noreply at r-forge.r-project.org wrote: > Author: dfabregat > Date: 2015-01-18 21:35:31 +0100 (Sun, 18 Jan 2015) > New Revision: 1915 > > Added: > pkg/OmicABEL/src/METADATA.h > Modified: > pkg/OmicABEL/Makefile > pkg/OmicABEL/src/CLAK_GWAS.c > pkg/OmicABEL/src/GWAS.c > pkg/OmicABEL/src/GWAS.h > pkg/OmicABEL/src/REML.c > pkg/OmicABEL/src/REML.h > pkg/OmicABEL/src/blas.h > pkg/OmicABEL/src/databel.c > pkg/OmicABEL/src/databel.h > pkg/OmicABEL/src/double_buffering.c > pkg/OmicABEL/src/double_buffering.h > pkg/OmicABEL/src/fgls_chol.c > pkg/OmicABEL/src/fgls_chol.h > pkg/OmicABEL/src/fgls_eigen.c > pkg/OmicABEL/src/fgls_eigen.h > pkg/OmicABEL/src/float2double/float2double.c > pkg/OmicABEL/src/lapack.h > pkg/OmicABEL/src/ooc_BLAS.c > pkg/OmicABEL/src/ooc_BLAS.h > pkg/OmicABEL/src/optimization.c > pkg/OmicABEL/src/optimization.h > pkg/OmicABEL/src/options.h > pkg/OmicABEL/src/statistics.c > pkg/OmicABEL/src/statistics.h > pkg/OmicABEL/src/timing.c > pkg/OmicABEL/src/timing.h > pkg/OmicABEL/src/utils.c > pkg/OmicABEL/src/utils.h > pkg/OmicABEL/src/wrappers.c > pkg/OmicABEL/src/wrappers.h > Log: > Added version number to improve packaging, bug tracking, etc. > Starting from 0.8.0 as suggested by Yurii in: > > http://lists.r-forge.r-project.org/pipermail/genabel-devel/2015-January/001252.html > > Also, updated year ranges in copyright headers. > > > Modified: pkg/OmicABEL/Makefile > =================================================================== > --- pkg/OmicABEL/Makefile 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/Makefile 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,9 +1,11 @@ > include ./make.inc > > +VERSION=0.8.0 > + > SRCDIR = ./src > RESH_SRCDIR = ./src/reshuffle > F2D_SRCDIR = ./src/float2double > -CLAKGWAS = ./bin/CLAK-GWAS > +CLAKGWAS = ./bin/OmicABEL > RESHUFFLE = ./bin/reshuffle > F2D = ./bin/float2double > > @@ -41,7 +43,7 @@ > > # Dirty, improve > platform=Linux > -bindistDir=OmicABEL-$(platform)-bin > +bindistDir=OmicABEL-$(VERSION)-$(platform)-bin > bindist: ./bin/ $(CLAKGWAS) $(RESHUFFLE) $(F2D) > rm -rf $(bindistDir) > mkdir $(bindistDir) > @@ -64,13 +66,9 @@ > $(RM) $(F2D) > > > -src/CLAK_GWAS.o: src/CLAK_GWAS.c src/wrappers.h src/utils.h src/GWAS.h \ > - src/databel.h src/timing.h src/REML.h src/fgls_chol.h src/fgls_eigen.h \ > - src/double_buffering.h > -src/GWAS.o: src/GWAS.c src/utils.h src/GWAS.h src/databel.h src/wrappers.h > -src/REML.o: src/REML.c src/options.h src/blas.h src/lapack.h src/ooc_BLAS.h \ > - src/wrappers.h src/utils.h src/GWAS.h src/databel.h src/statistics.h \ > - src/optimization.h src/REML.h > +src/CLAK_GWAS.o: src/CLAK_GWAS.c src/METADATA.h src/wrappers.h src/utils.h \ > + src/GWAS.h src/databel.h src/timing.h src/REML.h src/fgls_chol.h \ > + src/fgls_eigen.h src/double_buffering.h > src/databel.o: src/databel.c src/databel.h src/wrappers.h > src/double_buffering.o: src/double_buffering.c src/GWAS.h src/databel.h \ > src/wrappers.h src/double_buffering.h > @@ -80,12 +78,15 @@ > src/fgls_eigen.o: src/fgls_eigen.c src/blas.h src/lapack.h src/options.h \ > src/GWAS.h src/databel.h src/wrappers.h src/timing.h \ > src/double_buffering.h src/ooc_BLAS.h src/utils.h src/fgls_eigen.h > +src/GWAS.o: src/GWAS.c src/utils.h src/GWAS.h src/databel.h src/wrappers.h > src/ooc_BLAS.o: src/ooc_BLAS.c src/blas.h src/lapack.h src/options.h \ > src/GWAS.h src/databel.h src/wrappers.h src/utils.h \ > src/double_buffering.h src/ooc_BLAS.h > src/optimization.o: src/optimization.c src/optimization.h > +src/REML.o: src/REML.c src/options.h src/blas.h src/lapack.h src/ooc_BLAS.h \ > + src/wrappers.h src/utils.h src/GWAS.h src/databel.h src/statistics.h \ > + src/optimization.h src/REML.h > src/statistics.o: src/statistics.c src/statistics.h > src/timing.o: src/timing.c src/timing.h > -src/utils.o: src/utils.c \ > - src/GWAS.h src/databel.h src/wrappers.h src/utils.h > +src/utils.o: src/utils.c src/GWAS.h src/databel.h src/wrappers.h src/utils.h > src/wrappers.o: src/wrappers.c src/GWAS.h src/databel.h src/wrappers.h > > Modified: pkg/OmicABEL/src/CLAK_GWAS.c > =================================================================== > --- pkg/OmicABEL/src/CLAK_GWAS.c 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/CLAK_GWAS.c 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > @@ -28,6 +28,7 @@ > > #include > > +#include "METADATA.h" > #include "wrappers.h" > #include "utils.h" > #include "timing.h" > @@ -63,6 +64,8 @@ > FGLS_config_t cf; > struct timeval start, end; > > + print_banner(); > + > status = parse_input( argc, argv, var, > cov_base, phi_base, snp_base, pheno_base, out_base, > &nths, &thres, &xtile, &ytile, &xb, &yb, &write_output ); > @@ -488,6 +491,14 @@ > cf->y_tile = ytile; > } > > +void print_banner( void ) > +{ > + printf("\n* This is OmicABEL version %s.\n", OMICABEL_VERSION); > + printf("* Copyright (C) 2010-2015 Diego Fabregat-Traver, Paolo Bientinesi.\n"); > + printf("* OmicABEL is distributed under the GNU GPL version 3 or later (see LICENSE).\n"); > + printf("* For a tutorial and more, see http://www.genabel.org/packages/OmicABEL.\n\n\n"); > +} > + > void print_info( FGLS_config_t *cf ) > { > printf( "\nRunning a Genome-Wide Association Study of the following size:\n" ); > > Modified: pkg/OmicABEL/src/GWAS.c > =================================================================== > --- pkg/OmicABEL/src/GWAS.c 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/GWAS.c 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/GWAS.h > =================================================================== > --- pkg/OmicABEL/src/GWAS.h 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/GWAS.h 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Added: pkg/OmicABEL/src/METADATA.h > =================================================================== > --- pkg/OmicABEL/src/METADATA.h (rev 0) > +++ pkg/OmicABEL/src/METADATA.h 2015-01-18 20:35:31 UTC (rev 1915) > @@ -0,0 +1 @@ > +#define OMICABEL_VERSION "0.8.0" > > Modified: pkg/OmicABEL/src/REML.c > =================================================================== > --- pkg/OmicABEL/src/REML.c 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/REML.c 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/REML.h > =================================================================== > --- pkg/OmicABEL/src/REML.h 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/REML.h 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/blas.h > =================================================================== > --- pkg/OmicABEL/src/blas.h 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/blas.h 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/databel.c > =================================================================== > --- pkg/OmicABEL/src/databel.c 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/databel.c 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/databel.h > =================================================================== > --- pkg/OmicABEL/src/databel.h 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/databel.h 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/double_buffering.c > =================================================================== > --- pkg/OmicABEL/src/double_buffering.c 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/double_buffering.c 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/double_buffering.h > =================================================================== > --- pkg/OmicABEL/src/double_buffering.h 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/double_buffering.h 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/fgls_chol.c > =================================================================== > --- pkg/OmicABEL/src/fgls_chol.c 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/fgls_chol.c 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/fgls_chol.h > =================================================================== > --- pkg/OmicABEL/src/fgls_chol.h 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/fgls_chol.h 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/fgls_eigen.c > =================================================================== > --- pkg/OmicABEL/src/fgls_eigen.c 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/fgls_eigen.c 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/fgls_eigen.h > =================================================================== > --- pkg/OmicABEL/src/fgls_eigen.h 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/fgls_eigen.h 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/float2double/float2double.c > =================================================================== > --- pkg/OmicABEL/src/float2double/float2double.c 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/float2double/float2double.c 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2013, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/lapack.h > =================================================================== > --- pkg/OmicABEL/src/lapack.h 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/lapack.h 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/ooc_BLAS.c > =================================================================== > --- pkg/OmicABEL/src/ooc_BLAS.c 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/ooc_BLAS.c 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/ooc_BLAS.h > =================================================================== > --- pkg/OmicABEL/src/ooc_BLAS.h 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/ooc_BLAS.h 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/optimization.c > =================================================================== > --- pkg/OmicABEL/src/optimization.c 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/optimization.c 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/optimization.h > =================================================================== > --- pkg/OmicABEL/src/optimization.h 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/optimization.h 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/options.h > =================================================================== > --- pkg/OmicABEL/src/options.h 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/options.h 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/statistics.c > =================================================================== > --- pkg/OmicABEL/src/statistics.c 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/statistics.c 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/statistics.h > =================================================================== > --- pkg/OmicABEL/src/statistics.h 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/statistics.h 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/timing.c > =================================================================== > --- pkg/OmicABEL/src/timing.c 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/timing.c 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/timing.h > =================================================================== > --- pkg/OmicABEL/src/timing.h 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/timing.h 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/utils.c > =================================================================== > --- pkg/OmicABEL/src/utils.c 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/utils.c 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/utils.h > =================================================================== > --- pkg/OmicABEL/src/utils.h 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/utils.h 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/wrappers.c > =================================================================== > --- pkg/OmicABEL/src/wrappers.c 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/wrappers.c 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > Modified: pkg/OmicABEL/src/wrappers.h > =================================================================== > --- pkg/OmicABEL/src/wrappers.h 2015-01-14 09:28:26 UTC (rev 1914) > +++ pkg/OmicABEL/src/wrappers.h 2015-01-18 20:35:31 UTC (rev 1915) > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2010-2012, Diego Fabregat-Traver and Paolo Bientinesi. > + * Copyright (c) 2010-2015, Diego Fabregat-Traver and Paolo Bientinesi. > * All rights reserved. > * > * This file is part of OmicABEL. > > _______________________________________________ > Genabel-commits mailing list > Genabel-commits at lists.r-forge.r-project.org > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-commits > -- *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* L.C. Karssen Utrecht The Netherlands lennart at karssen.org http://blog.karssen.org GPG key ID: A88F554A -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 213 bytes Desc: OpenPGP digital signature URL: From lennart at karssen.org Mon Jan 19 12:56:05 2015 From: lennart at karssen.org (L.C. Karssen) Date: Mon, 19 Jan 2015 12:56:05 +0100 Subject: [GenABEL-dev] Review of RegionABEL Message-ID: <54BCF0D5.60807@karssen.org> Dear all, I finally found some time to review Nicola Pirastu's RegionABEL, a potential new package for the GenABEL suite. In shortsummary, I think the package is well written and with a few modifications can be accepted as part of the GenABEL suite. However, it would be best if someone else also did a review of the package. Do I remember correctly that Xia was willing to take a look? Please find attached my review (both in PDF and the source in Emacs' org-mode), based on the current version of the Package Review Guideslines [1]. Note that these guidelines are stored in the SVN repositories, so any suggestions/corrections/additions are more than welcome! Best regards, Lennart. [1] http://genabel.r-forge.r-project.org/packageReviewGuidelines.html -- *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* L.C. Karssen Utrecht The Netherlands lennart at karssen.org http://blog.karssen.org GPG key ID: A88F554A -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- -------------- next part -------------- #+TITLE: RegionABEL package review #+DATE: <2015-01-14 wo> #+AUTHOR: L.C. Karssen #+EMAIL: lennart at karssen.org #+OPTIONS: ':nil *:t -:t ::t <:t H:3 \n:nil ^:t arch:headline #+OPTIONS: author:t c:nil creator:comment d:(not "LOGBOOK") date:t #+OPTIONS: e:t email:nil f:t inline:t num:t p:nil pri:t stat:t tags:t #+OPTIONS: tasks:t tex:t timestamp:t toc:t todo:t |:t #+CREATOR: Emacs 24.3.1 (Org mode 8.2.4) #+DESCRIPTION: #+EXCLUDE_TAGS: noexport #+KEYWORDS: #+LANGUAGE: en #+SELECT_TAGS: export * Introduction One of the goals of the GenABEL project is to be an environment in which people can work on the implementation of statistical methodology into user-friendly software packages. In order for the project to be sustainable the packages that are accepted into the GenABEL suite must meet certain standards. Without certain standards/guidelines package maintenance will be difficult and time consuming. Moreover, if the user interface is awkward of if the package lacks documentation users will be less likely to use the package. In short these standard revolve around the following: - /Maintainability of the package/: is the code understandable? Does it follow [[file:codingstyle.html][our coding standards]]? Is the code documented? - /User-friendliness/: What is the quality of the user documentation? Are there any examples? Is the user interface compatible with what is to be expected? One of the ways to ensure a healthy ecosystem is to have reviews of candidate packages. Such a review would be similar to the peer review done for scientific publications. In order to have good quality package reviews we have put together this document describing in a structured way the minimum questions a package reviewer should ask. *Please consider this document a working draft*. Feedback is very much welcomed. Note that our coding style closely follows the Google style guide and is documented [[file:codingstyle.html][here]]. * Legal issues ** Is the copyright holder clearly mentioned? Yes, the Author is listed in the DESCRIPTION file (and no Copyright field is used, so according to "Writing R Extensions" (http://cran.r-project.org/doc/manuals/R-exts.html#The-DESCRIPTION-file) the author is assumed to hold the copyright). ** Is there a clear (standard) license? Yes, the GPL (>=v2), listed in the DESCRIPTION file ** Is the license GNU GPL-compatible? Yes * Technical quality ** Is the installation procedure clearly documented? Is the code easy to compile and run? This is an R package, so in principle installation is as simple as running =install.packages(file.tar.gz)= and will be even easier once accepted into CRAN (because then the source code is downloaded automatically). However, the package depends on =biomaRt=, which is not available on CRAN but on BioConductor. This means the user needs to install =biomaRt= first. See e.g. http://stackoverflow.com/questions/14343817/cran-package-depends-on-bioconductor-package-installing-error#comment19941762_14345336 for ways of making this easier/instructions to include for the user. ** [For R packages] Does the package pass CRAN checks (http://cran.r-project.org/doc/manuals/r-devel/R-exts.html#Checking-packages)? At minimum, run "R CMD check ..." and "R CMD check --as-cran ..." - =R CMD check= on the =tar.gz= file works, leaving 2 NOTES - =R CMD check --as-cran= on the =tar.gz= file works, leaving 3 NOTES - Most NOTES are of the type: =gene.metanalysis: no visible global function definition for ?estlambda?= and are probably related to the earlier NOTE #+begin_example Packages in Depends field not imported from: ?DatABEL? ?GenABEL? ?biomaRt? ?gplots? These packages need to be imported from (in the NAMESPACE file) for when this namespace is loaded but not attached. #+end_example ** Is the package documented? What is the quality of the documentation? Yes. - The functions (including internal functions) are documented using Roxygen. - Comments in the code explain the function/use of various variables or sections of code. - Note: the file/function =gene.summary()= is documented in Roxygen style, but without an apostrophe after the #. So the documentation doesn't show up in the manual. ** [For R packages] Does =help(PackageName)= provide an adequate summary of the package and a review of the major functions? Yes, but see comment about incorrect version number in the list or major issues at the end of the review. ** [For R packages] Does the package use Roxygen2 for documentation? Yes. The documentation can be improved by using the following Roxygen commands to create correctly formatted variable names and function references: =\code{}= and =\code{\link{somefunction}}=; see e.g. http://r-pkgs.had.co.nz/man.html#text-formatting ** Are examples of usage provided? Yes. ** Does the package provide a tutorial/vignette? Can you comment on the tutorial? Yes, a tutorial is included. Actually it is not a part of the package (yet?), but it was sent to me together with the package. The tutorial provides a good introduction to the package. In section 2 it takes the reader through the necessary steps and also contains hints on what would be different in a real analysis. Showing how to correct for sample relatedness using the kinship matrix is a valuable addition for those with family-based studies, etc. The fact that section 2 ends by using GenABEL's =mmscore()= to double check the result is a nice touch. - In the first sentence of the tutorial, could you change "RegionABEL is an R package based on the *ABEL packages" to "RegionABEL is an R package based on the GenABEL suite" (or "GenABEL suite of packages")? We prefer the use of "GenABEL suite". The basic rationale is that the "GenABEL project" creates software packages of the "GenABEL suite" (among other things). - Just above section 2 a reference is missing, is this a paper that is still to be published? ** Is the source code of the tutorial/vignette provided? No. It would be great to have the source, to allow others to contribute to it as well. In fact, I noticed some spelling errors that I could have fixed had the source been available :-). ** Does the package make use of unit/integration/etc. tests? No. ** [For R packages] Does the package make use of RUnit testing? No. ** Does the code comply with the [[file:codingstyle.html][GenABEL coding standards]]? In a large part is does and the code is in most cases very readable. Things that need to be addressed: - There is a mix of <- and = for assignments. Please use <- throughout, including a space before and after the <-. - T and F are used instead of TRUE and FALSE - Some lines are longer than 80 characters, e.g. because of an explanatory comment. In such a case the comment can usually be put above the line with the actual code. Of lesser importance: - There should be a space after a comma in function argument lists, for example: fun(a, b=TRUE, c="dummy") instead of fun(a,b=TRUE,c="dummy") - The code becomes clearer if mathematical operators are surrounded by spaces, e.g. #+begin_example lik1 <- -2 * as.numeric(logLik(assoc)) #+end_example instead of #+begin_example lik1=-2*as.numeric(logLik(assoc)) #+end_example ** Is the code readable/understandable? Yes. ** Does the code contain explanatory comments? Yes (see earlier remarks on package documentation). Very helpful! ** Were the design and methods implemented in package discussed during the development process (e.g. on the genabel-devel mailing list)? No. At least not as far as I can remember. * Content ** Does the package address a problem in the domain of statistical genomics? Yes. ** Is it streamlining analyses not covered elsewhere in the GenABEL suite? If not, does it improve the analysis already covered? Yes. ** Should it become a separate package or rather be incorporated into an existing package? Yes. ** Are any of the data types defined in other GenABEL packages used? Yes, the =gwaa.data-class= object. ** Are code/functions/data defined in other GenABEL packages used? Yes, e.g. =estlambda()=, =databel()=, =polygenic()=, see also the NOTES when running the R checks. The =region.assoc()= function accepts a kinship matrix as calculated by =ibs()=. * Recommendations ** What are the major issues which should be addressed? - In =RegionABEL-package.R= incorrect version information & Date are being used. It is best to leave these out as they will most likely be forgotten in a future update, moreover, the correct information is printed on the title page of the PDF based on the information in the DESCRIPTION file. - See comments on compliance with the GenABEL coding standards. - Please fix the NOTES when running =R CMD check --as-cran=. - Check the Roxygen documentation of the =gene.summary()= function, is it intentionally using # instead of #'? - The object created by =region.assoc()= contains as 'strand' column, but this is coded as 1 and -1. It would be preferable to use the coding used by GenABEL (or do you see problems with incompatibilities?). ** What other (optional) suggestions you could make to the author? - Did you ever try to time a genome-wide or chromosome-wide sliding window scan using =region.assoc()= with e.g. 1kG imputed data? Any idea how long it would take? In other words, adding some information on the analysis time and how it scales with nr. of individuals and nr. of SNPs (in a region) would be great! - Does it make sense to somehow cache the data downloaded from biomaRt (see =map.retriever()=, =gene.retreiver()=)? Can one expect the user to annotate several datasets like this (in a short timeframe)? I think it would be very useful (maybe for a second release if time doesn't permit to implement this now) to download the data once and check whether this data is up to date when the function is run a second time. Even more ideal would be to allow the user to specify the location of the cached data. In this way a system administrator can create a central directory so that multiple users don't start downloading the same data. - Another point regarding =map.retriever()=: do you know the liftover tool (http://genome.sph.umich.edu/wiki/LiftOver)? It can be used in the same way (in principle). Does it make sense to let RegionABEL use liftover? On the one hand it means less code to maintain in RegionABEL, on the other hand it means that the user needs to install liftOver separately (and liftOver is Linux-only). - Adding the source of the tutorial would be helpful as it is an important source of information to the user. Having the source available fits the spirit of the GenABEL project and will allow other to contribute to it as well. - Adding some functional or unit tests (e.g. based on toy data) would help keep the package in shape and detect errors. - Consider adding a third digit to the version number, e.g. 0.5-1, as suggested in "Writing R Extensions" - In the package TITLE in the DESCRIPTION file some words start with a capital letters, some do not. I'd suggest using "Gene/Region-Wide Association Tools", including the hyphen in front of "Wide" (like in Genome-Wide Association Study). The same applies to the Description line. - Consider adding spaces after the comma's in the Depends field of the DESCRIPTION file, while not mandatory, they increase legibility of the file. - The function =svd()= is used several times with the =LINPACK=TRUE= argument. However, the =svd()= manual states that this argument is "Defunct and ignored". - Some files/functions have Italian names (e.g. =mediatore()=), consider to convert these to English. - Improve the Roxygen documentation be using =\code{}= and =\code{link{}}= where appropriate. -------------- next part -------------- A non-text attachment was scrubbed... Name: packageReviewRegionABEL.pdf Type: application/pdf Size: 152169 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 213 bytes Desc: OpenPGP digital signature URL: