From unknown Wed Jun 18 23:01:12 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#40743 <40743@debbugs.gnu.org> To: bug#40743 <40743@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add grocsvs. Reply-To: bug#40743 <40743@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:01:12 +0000 retitle 40743 [PATCH] gnu: Add grocsvs. reassign 40743 guix-patches submitter 40743 Efraim Flashner severity 40743 normal tag 40743 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 21 06:58:50 2020 Received: (at submit) by debbugs.gnu.org; 21 Apr 2020 10:58:50 +0000 Received: from localhost ([127.0.0.1]:49084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQqc3-0002O3-3C for submit@debbugs.gnu.org; Tue, 21 Apr 2020 06:58:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:57890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQqc0-0002Nv-Gb for submit@debbugs.gnu.org; Tue, 21 Apr 2020 06:58:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49238) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQqbz-0005kI-N5 for guix-patches@gnu.org; Tue, 21 Apr 2020 06:58:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQqbu-0006cm-Jk for guix-patches@gnu.org; Tue, 21 Apr 2020 06:58:43 -0400 Received: from flashner.co.il ([178.62.234.194]:51102) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQqbt-00060s-Of for guix-patches@gnu.org; Tue, 21 Apr 2020 06:58:38 -0400 Received: from localhost (unknown [147.161.9.58]) by flashner.co.il (Postfix) with ESMTPSA id 823EB40367; Tue, 21 Apr 2020 10:58:04 +0000 (UTC) From: Efraim Flashner To: guix-patches@gnu.org Subject: [PATCH] gnu: Add grocsvs. Date: Tue, 21 Apr 2020 13:57:17 +0300 Message-Id: <20200421105717.28383-1-efraim@flashner.co.il> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/21 06:58:05 X-ACL-Warn: Detected OS = ??? X-Received-From: 178.62.234.194 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/bioinformatics.scm (grocsvs): New variable. * gnu/packages/patches/grocsvs-dont-use-admiral.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. --- gnu/local.mk | 1 + gnu/packages/bioinformatics.scm | 42 +++++++++++ .../patches/grocsvs-dont-use-admiral.patch | 69 +++++++++++++++++++ 3 files changed, 112 insertions(+) create mode 100644 gnu/packages/patches/grocsvs-dont-use-admiral.patch diff --git a/gnu/local.mk b/gnu/local.mk index ca863a8b9b..c24ff3c85d 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -996,6 +996,7 @@ dist_patch_DATA = \ %D%/packages/patches/gpsbabel-qstring.patch \ %D%/packages/patches/grantlee-merge-theme-dirs.patch \ %D%/packages/patches/grep-timing-sensitive-test.patch \ + %D%/packages/patches/grocsvs-dont-use-admiral.patch \ %D%/packages/patches/groovy-add-exceptionutilsgenerator.patch \ %D%/packages/patches/grub-efi-fat-serial-number.patch \ %D%/packages/patches/gsl-test-i686.patch \ diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index b9be0c1918..dae42df0dc 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -79,6 +79,7 @@ #:use-module (gnu packages golang) #:use-module (gnu packages glib) #:use-module (gnu packages graph) + #:use-module (gnu packages graphviz) #:use-module (gnu packages groff) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) @@ -15710,3 +15711,44 @@ biological processes. SBML is useful for models of metabolism, cell signaling, and more. It continues to be evolved and expanded by an international community.") (license license:lgpl2.1+))) + +(define-public grocsvs + ;; The last release is out of date and new features have been added. + (let ((commit "ecd956a65093a0b2c41849050e4512d46fecea5d") + (revision "1")) + (package + (name "grocsvs") + (version (git-version "0.2.6.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/grocsvs/grocsvs") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "14505725gr7qxc17cxxf0k6lzcwmgi64pija4mwf29aw70qn35cc")) + (patches (search-patches "grocsvs-dont-use-admiral.patch")))) + (build-system python-build-system) + (arguments + `(#:tests? #f ; No test suite. + #:python ,python-2)) ; Only python-2 supported. + (inputs + `(("python2-h5py" ,python2-h5py) + ("python2-ipython-cluster-helper" ,python2-ipython-cluster-helper) + ("python2-networkx" ,python2-networkx) + ("python2-psutil" ,python2-psutil) + ("python2-pandas" ,python2-pandas) + ("python2-pybedtools" ,python2-pybedtools) + ("python2-pyfaidx" ,python2-pyfaidx) + ("python2-pygraphviz" ,python2-pygraphviz) + ("python2-pysam" ,python2-pysam) + ("python2-scipy" ,python2-scipy))) + (home-page "https://github.com/grocsvs/grocsvs") + (synopsis "Genome-wide reconstruction of complex structural variants") + (description + "@dfn{Genome-wide Reconstruction of Complex Structural Variants} +(GROC-SVs) is a software pipeline for identifying large-scale structural +variants, performing sequence assembly at the breakpoints, and reconstructing +the complex structural variants using the long-fragment information from the +10x Genomics platform.") + (license license:expat)))) diff --git a/gnu/packages/patches/grocsvs-dont-use-admiral.patch b/gnu/packages/patches/grocsvs-dont-use-admiral.patch new file mode 100644 index 0000000000..cb976e19b0 --- /dev/null +++ b/gnu/packages/patches/grocsvs-dont-use-admiral.patch @@ -0,0 +1,69 @@ +python-admiral doesn't have a license +https://github.com/nspies/admiral/issues/3 + +diff --git a/setup.py b/setup.py +index 692b6a0..568f381 100755 +--- a/setup.py ++++ b/setup.py +@@ -20,7 +20,7 @@ setup( + 'console_scripts' : ["grocsvs = grocsvs.main:main"] + }, + +- install_requires = ["admiral", "h5py", "networkx>=2.0", "pandas", "pybedtools", ++ install_requires = ["h5py", "networkx>=2.0", "pandas", "pybedtools", + "pyfaidx", "pysam>=0.10.0", "scipy", "ipython-cluster-helper", + "pygraphviz", "psutil"], + +diff --git a/src/grocsvs/jobmanagers.py b/src/grocsvs/jobmanagers.py +index 6da0b58..112d7ff 100755 +--- a/src/grocsvs/jobmanagers.py ++++ b/src/grocsvs/jobmanagers.py +@@ -41,34 +41,3 @@ class MultiprocessingCluster(Cluster): + pool = multiprocessing.Pool(processes=self.processes) + return pool.map_async(fn, args).get(999999) + +- +-class AdmiralCluster(Cluster): +- def map(self, fn, args): +- from admiral import jobmanagers, remote +- +- cluster_options = self.cluster_settings.cluster_options.copy() +- +- scheduler = cluster_options.pop("scheduler") +- +- jobmanager_class = jobmanagers.get_jobmanager(scheduler) +- jobmanager = jobmanager_class( +- batch_dir=self.batch_dir, log_dir=self.batch_dir) +- +- +- if not "mem" in cluster_options: +- cluster_options["mem"] = "16g" +- if not "time" in cluster_options: +- cluster_options["time"] = "12h" +- +- jobs = [] +- #for i, arg in enumerate(args): +- +- job_name = args[0].__class__.__name__ +- args = [[arg] for arg in args] +- job = remote.run_remote(fn, jobmanager, job_name, args=args, +- array=True, overwrite=True, **cluster_options) +- +- result = jobmanagers.wait_for_jobs([job], wait=5, progress=True) +- +- if not result: +- raise Exception("Some chunks failed to complete") +diff --git a/src/grocsvs/pipeline.py b/src/grocsvs/pipeline.py +index ab1bb2d..350976f 100755 +--- a/src/grocsvs/pipeline.py ++++ b/src/grocsvs/pipeline.py +@@ -8,8 +8,7 @@ from grocsvs import utilities + def make_jobmanager(jobmanager_settings, processes, batch_dir): + jobmanager_classes = {"IPCluster":jobmanagers.IPCluster, + "local": jobmanagers.LocalCluster, +- "multiprocessing": jobmanagers.MultiprocessingCluster, +- "admiral": jobmanagers.AdmiralCluster} ++ "multiprocessing": jobmanagers.MultiprocessingCluster} + + cls = jobmanager_classes[jobmanager_settings.cluster_type] + return cls(processes, jobmanager_settings, batch_dir) -- 2.26.2 From debbugs-submit-bounces@debbugs.gnu.org Tue May 05 03:35:57 2020 Received: (at 40743-done) by debbugs.gnu.org; 5 May 2020 07:35:57 +0000 Received: from localhost ([127.0.0.1]:34661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVs7R-0003kt-DX for submit@debbugs.gnu.org; Tue, 05 May 2020 03:35:57 -0400 Received: from flashner.co.il ([178.62.234.194]:54096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVs7P-0003kd-Jc for 40743-done@debbugs.gnu.org; Tue, 05 May 2020 03:35:56 -0400 Received: from localhost (unknown [188.120.128.132]) by flashner.co.il (Postfix) with ESMTPSA id 7454340281 for <40743-done@debbugs.gnu.org>; Tue, 5 May 2020 07:35:49 +0000 (UTC) Date: Tue, 5 May 2020 10:35:16 +0300 From: Efraim Flashner To: 40743-done@debbugs.gnu.org Subject: Re: bug#40743: Acknowledgement ([PATCH] gnu: Add grocsvs.) Message-ID: <20200505073516.GJ1920@E5400> References: <20200421105717.28383-1-efraim@flashner.co.il> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+9faIjRurCDpBc7U" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 40743-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --+9faIjRurCDpBc7U Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Patch pushed --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --+9faIjRurCDpBc7U Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6xFzEACgkQQarn3Mo9 g1EoIhAAo1y1FQZa1NYGhNfiwtr35fYnVWbjee82HOYfSswynEGX/7/T1jaqIVBO FdVV8qfIoE7qxQNyQ8Dc3NbWYhT8GxoE/AyKqN/U57D69vLsmSi3o2hGMxIEDpdn DsUwVfXIb5UhP4HxvwYxjlAU/NEBq6UbAeafJfG8lC+NxOb9wI3owumf78qhmA2p E+FY5BgW9UMpkZvCbM6xsoW3kK6ltaAjo2FsHOKbesSLVRFTyWnxKHc5ysDUdupv AU9NAi+accNFwPH1ZMN9jLeEmCe5ih8lmEYewWzE7xv6N1m6vAkLGusJ1Ww686Sh pePQrEq+sa86pR2hmMh63EjgIzdqKuWOXg8r0E7/pSMw5z5AAEt0Tu1qMXEfnJHf q3TNivDls6cGxuBGAOnVm6uzXkT/PlnFVlR1cw6LRIePpbZhD0hKCgSuXTKcamyq IM8+Nxgy1COLBf2JpCG/zAKSZiHUUP90RAk4iPsmVgFkCk+EJxveuI4TIxvTeY7/ Q80N/D1km78Y0imLWsU0Ni1kyFvcNE/Dd7TfdWVxlop/MbJBMbTCJCKopiRFNIB7 PV/xVbCK3Y3g+KZd55YNrOwPreMD267Zpo0zvI8EQ+LiBVzCqoun+F6sA8MOXv3Q 5CNrzCdF/fMkYU8FPwOhRcHp1U3Hiw4zWnqaP1CEBmJCbXfahF4= =9x5r -----END PGP SIGNATURE----- --+9faIjRurCDpBc7U-- From unknown Wed Jun 18 23:01:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 02 Jun 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator