gnu: Add MOSAIK.
* gnu/packages/bioinformatics.scm (mosaik): New variable.
This commit is contained in:
		
							parent
							
								
									1e656049b0
								
							
						
					
					
						commit
						fe4c37c244
					
				
					 1 changed files with 46 additions and 0 deletions
				
			
		| 
						 | 
					@ -2149,6 +2149,52 @@ viewer.")
 | 
				
			||||||
                                   (string-append bin "/samtools")))))
 | 
					                                   (string-append bin "/samtools")))))
 | 
				
			||||||
           (delete 'patch-tests)))))))
 | 
					           (delete 'patch-tests)))))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public mosaik
 | 
				
			||||||
 | 
					  (let ((commit "5c25216d"))
 | 
				
			||||||
 | 
					    (package
 | 
				
			||||||
 | 
					      (name "mosaik")
 | 
				
			||||||
 | 
					      (version "2.2.30")
 | 
				
			||||||
 | 
					      (source (origin
 | 
				
			||||||
 | 
					                ;; There are no release tarballs nor tags.
 | 
				
			||||||
 | 
					                (method git-fetch)
 | 
				
			||||||
 | 
					                (uri (git-reference
 | 
				
			||||||
 | 
					                      (url "https://github.com/wanpinglee/MOSAIK.git")
 | 
				
			||||||
 | 
					                      (commit commit)))
 | 
				
			||||||
 | 
					                (file-name (string-append name "-" version))
 | 
				
			||||||
 | 
					                (sha256
 | 
				
			||||||
 | 
					                 (base32
 | 
				
			||||||
 | 
					                  "17gj3s07cm77r41z92awh0bim7w7q7fbn0sf5nkqmcm1vw052qgw"))))
 | 
				
			||||||
 | 
					      (build-system gnu-build-system)
 | 
				
			||||||
 | 
					      (arguments
 | 
				
			||||||
 | 
					       `(#:tests? #f ; no tests
 | 
				
			||||||
 | 
					         #:make-flags (list "CC=gcc")
 | 
				
			||||||
 | 
					         #:phases
 | 
				
			||||||
 | 
					         (modify-phases %standard-phases
 | 
				
			||||||
 | 
					           (replace 'configure
 | 
				
			||||||
 | 
					                    (lambda _ (chdir "src") #t))
 | 
				
			||||||
 | 
					           (replace 'install
 | 
				
			||||||
 | 
					                    (lambda* (#:key outputs #:allow-other-keys)
 | 
				
			||||||
 | 
					                      (let ((bin (string-append (assoc-ref outputs "out")
 | 
				
			||||||
 | 
					                                                "/bin")))
 | 
				
			||||||
 | 
					                        (mkdir-p bin)
 | 
				
			||||||
 | 
					                        (copy-recursively "../bin" bin)
 | 
				
			||||||
 | 
					                        #t))))))
 | 
				
			||||||
 | 
					      (inputs
 | 
				
			||||||
 | 
					       `(("perl" ,perl)
 | 
				
			||||||
 | 
					         ("zlib" ,zlib)))
 | 
				
			||||||
 | 
					      (home-page "https://code.google.com/p/mosaik-aligner/")
 | 
				
			||||||
 | 
					      (synopsis "Map nucleotide sequence reads to reference genomes")
 | 
				
			||||||
 | 
					      (description
 | 
				
			||||||
 | 
					       "MOSAIK is a program for mapping second and third-generation sequencing
 | 
				
			||||||
 | 
					reads to a reference genome.  MOSAIK can align reads generated by all the
 | 
				
			||||||
 | 
					major sequencing technologies, including Illumina, Applied Biosystems SOLiD,
 | 
				
			||||||
 | 
					Roche 454, Ion Torrent and Pacific BioSciences SMRT.")
 | 
				
			||||||
 | 
					      ;; MOSAIK is released under the GPLv2+ with the exception of third-party
 | 
				
			||||||
 | 
					      ;; code released into the public domain:
 | 
				
			||||||
 | 
					      ;; 1. fastlz by Ariya Hidayat - http://www.fastlz.org/
 | 
				
			||||||
 | 
					      ;; 2. MD5 implementation - RSA Data Security, RFC 1321
 | 
				
			||||||
 | 
					      (license (list license:gpl2+ license:public-domain)))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public ngs-sdk
 | 
					(define-public ngs-sdk
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "ngs-sdk")
 | 
					    (name "ngs-sdk")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue