aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/pangenome.scm
diff options
context:
space:
mode:
authorpjotrp2021-08-28 09:04:23 +0200
committerpjotrp2021-08-28 09:04:23 +0200
commit01cbe5a2e9b682cac8862888d86b44078b7eac92 (patch)
tree3acf4be8560ed28c1ff36fe0cd549ff77d0cd0bb /gn/packages/pangenome.scm
parenteb97761d7f6affed2aa490107fae82210153fcfe (diff)
downloadguix-bioinformatics-01cbe5a2e9b682cac8862888d86b44078b7eac92.tar.gz
Moved packages into past/genenetwork1 and packages/pangenome to reduce chance of
breaking the main genenetwork packages.
Diffstat (limited to 'gn/packages/pangenome.scm')
-rw-r--r--gn/packages/pangenome.scm51
1 files changed, 51 insertions, 0 deletions
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)))