From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] Add MAFFT. Date: Sat, 25 Jul 2015 21:26:50 +0200 Message-ID: <876158xcoo.fsf@mdc-berlin.de> References: <55B0E173.1030406@uq.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJ566-00010M-5Q for guix-devel@gnu.org; Sat, 25 Jul 2015 15:27:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJ561-00044P-3X for guix-devel@gnu.org; Sat, 25 Jul 2015 15:27:02 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:25797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJ560-00041e-QR for guix-devel@gnu.org; Sat, 25 Jul 2015 15:26:57 -0400 In-reply-to: <55B0E173.1030406@uq.edu.au> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ben Woodcroft Cc: "guix-devel@gnu.org" Hi Ben, > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'enter-dir > + (lambda _ (chdir "core") #t)) > + ;; on advice from the MAFFT authors, do not distribute mafft-profile, > + ;; mafft-distance mafft-homologs.rb What does this mean? Are they non-free software? If so, they should be removed in a snippet. > + (add-after 'enter-dir 'patch-makefile > + (lambda _ > + (substitute* "Makefile" > + (("^SCRIPTS = mafft mafft-homologs.rb") > + "SCRIPTS = mafft") > + (((string-append "^PROGS = dvtditr dndfast7 dndblast" > + " sextet5 mafft-distance")) > + "PROGS = dvtditr dndfast7 dndblast sextet5") > + (((string-append "splittbfast disttbfast tbfast " > + "mafft-profile f2cl mccaskillwrap")) > + "splittbfast disttbfast tbfast f2cl mccaskillwrap") This line looks particularly unclear. It took me a little too long to find the difference in the replacement. Is there a nicer regular expression that you could use to indicate the removal of “mafft-profile”? > + (("^rm -f mafft-profile mafft-profile.exe") "#") > + (("^rm -f mafft-distance mafft-distance.exe") ")#") > + ;; do not install MAN pages in libexec folder > + (((string-append "^\t\\$\\(INSTALL\\) -m 644 \\$\\(" > + "MANPAGES\\) \\$\\(DESTDIR\\)\\$" > + "\\(LIBDIR\\)")) "#")) > + #t)) > + (delete 'configure)))) > + (inputs > + `(("perl" ,perl))) > + (home-page "http://mafft.cbrc.jp/alignment/software/") > + (synopsis > + "Multiple sequence alignment program for unix-like operating systems") Please remove “for unix-like operating systems”. > + (description > + "MAFFT offers a range of multiple alignment methods for nucleotide and > +protein sequences. For instance, it offers L-INS-i (accurate; for alignment > +of <∼200 sequences) and FFT-NS-2 (fast; for alignment of <∼30,000 > +sequences).") > + (license (license:non-copyleft "file://license" > + "See license in the distribution.")))) ~~ Ricardo