From 01cbe5a2e9b682cac8862888d86b44078b7eac92 Mon Sep 17 00:00:00 2001 From: pjotrp Date: Sat, 28 Aug 2021 09:04:23 +0200 Subject: Moved packages into past/genenetwork1 and packages/pangenome to reduce chance of breaking the main genenetwork packages. --- gn/packages/pangenome.scm | 51 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 gn/packages/pangenome.scm (limited to 'gn/packages/pangenome.scm') diff --git a/gn/packages/pangenome.scm b/gn/packages/pangenome.scm new file mode 100644 index 0000000..69e3d81 --- /dev/null +++ b/gn/packages/pangenome.scm @@ -0,0 +1,51 @@ +;; Bioinformatics module + +(define-module (gn packages pangenome) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix utils) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix build-system cargo) + #:use-module (guix build-system gnu) + #:use-module (guix graph) + #:use-module (guix scripts graph) + #:use-module (guix store) + #:use-module (guix gexp) + #:use-module (gnu packages) + #:use-module (gnu packages base) + #:use-module (gnu packages crates-io) + #:use-module (gnu packages rust) + #:use-module (gnu packages version-control) + #:use-module (srfi srfi-1)) + + +(define-public gfautil + (package + (name "gfautil") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gfautil" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0cgiis9v1nd4m7zxvgsz8jf8ijv4d8fa5wb7cpnjshksb8z7xh69")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-0.2) + ("rust-clap" ,rust-clap-2) + ("rust-gfa" ,rust-gfa-0.6) + ("rust-handlegraph" ,rust-handlegraph-0.3) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1) + ("rust-structopt" ,rust-structopt-0.3)))) + (home-page "https://github.com/chfi/rs-gfa-utils") + (synopsis "Command line tools for working with GFA files") + (description + "This package provides command line tools for working with @acronym{GFA, +Graphical Fragment Assembly} files and related formats.") + (license license:expat))) -- cgit v1.2.3