unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#69011] [PATCH] gnu: Add python-pdbfixer.
@ 2024-02-10 10:14 nafkhamdc
  2024-02-10 10:21 ` bug#69011: " Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: nafkhamdc @ 2024-02-10 10:14 UTC (permalink / raw)
  To: 69011; +Cc: nafkhamdc

* gnu/packages/bioinformatics.scm (python-pdbfixer): New variable.

Change-Id: I2894a08ab3eed463f052b9df6372d4016b718d1a
---
 gnu/packages/bioinformatics.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 56709c0332..2c1917be95 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -2244,6 +2244,37 @@ (define-public python-parabam
 defined rule on an input file.")
     (license license:gpl3)))
 
+(define-public python-pdbfixer
+  (package
+    (name "python-pdbfixer")
+    (version "1.9")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/openmm/pdbfixer")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1zjhb19q5dclkwvzh8n29p31n1vzkhlmmzwqllimi89jsis1cx35"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags '(list "-k"
+                          ;; These tests fail because they require internet access.
+                          (string-append "not test_build_and_simulate.py"
+                                         " and not test_cli.py"
+                                         " and not test_mutate.py"))))
+    (propagated-inputs (list python-numpy openmm))
+    (native-inputs (list python-pytest))
+    (home-page "https://github.com/openmm/pdbfixer")
+    (synopsis "Application for fixing problems in Protein Data Bank")
+    (description
+     "PDBFixer is designed to rectify issues in Protein Data Bank files.
+Its intuitive interface simplifies the process of resolving problems
+encountered in PDB files prior to simulation tasks.")
+    (license license:expat)))
+
 (define-public python-peaks2utr
   (package
     (name "python-peaks2utr")

base-commit: 10dba10fd6551ab480a38d00301e6f102def674d
prerequisite-patch-id: 3a59afadab83198b19921e19197e26925523b4a3
prerequisite-patch-id: 116b12264d1713957eef349460a71f04b0757a9e
-- 
2.34.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#69011: [PATCH] gnu: Add python-pdbfixer.
  2024-02-10 10:14 [bug#69011] [PATCH] gnu: Add python-pdbfixer nafkhamdc
@ 2024-02-10 10:21 ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2024-02-10 10:21 UTC (permalink / raw)
  To: 69011-done; +Cc: navid.afkhami

Thanks for the patch.  I’ve applied it and pushed with commit
ca4c9062c4a04a3550fdcf67cb2b41daa13627d8.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-10 10:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-10 10:14 [bug#69011] [PATCH] gnu: Add python-pdbfixer nafkhamdc
2024-02-10 10:21 ` bug#69011: " Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).