python-tensorqtl 1.0.10-1
Package Information
| Description | GPU-accelerated QTL mapper tensorQTL is a GPU-enabled QTL mapper achieving speedups of up to 200-300 fold for cis- and trans-QTL mapping compared to CPU-based implementations like FastQTL. It computes permutation-based p-values and beta-approximated q-values for cis-QTL mapping and supports interaction and independent variant analysis. This package is the successor of the FastQTL QTL mapper and is intended as a replacement. Genotypes are read in PLINK bed/bim/fam format (via pandas-plink); import of PLINK2 binary pgen files requires the Pgenlib module which is not (yet) packaged in Debian. It can be run on CPU as well as on GPU. |
|---|---|
| Maintainer | Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org> |
| Changed By | Andreas Tille <tille@debian.org> |
| Sponsor | tille@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/med-team/python-tensorqtl.git (browse) |
| Closes | #1156291 |
| Tracker | https://tracker.debian.org/pkg/python-tensorqtl |
| Uploaded | 1 hour ago |
New Package Report
.changes
| Date | Fri, 04 Dec 2026 17:34:12 +0100 |
|---|---|
| Source | python-tensorqtl |
| Version | 1.0.10-1 |
| Changed-By | Andreas Tille <tille@debian.org> |
| Architecture | source all |
| Distribution | unstable |
Changelog
python-tensorqtl (1.0.10-1) unstable; urgency=medium . * Initial release (Closes: #1156291)
.dsc
| Priority | optional |
|---|---|
| Component | main |
| Package-List | python3-tensorqtl deb python optional arch=all python3-tensorqtl-examples deb python optional arch=all |
| Section | python |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: tensorQTL
Upstream-Contact: Francois Aguet <francois@broadinstitute.org>
Source: https://github.com/broadinstitute/tensorqtl
Files: *
Copyright: 2018-2019 The Broad Institute, Inc. and
The General Hospital Corporation
License: BSD-3-Clause
Files: debian/*
Copyright: 2026 Andreas Tille <tille@debian.org>
License: BSD-3-Clause
License: BSD-3-Clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
.
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
DFSG Assistant LLM REVIEW 0 blocker, 1 important, 3 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 0 hours ago.
Report
DFSG NEW review for python-tensorqtl version 1.0.10-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Unclear - Packaging is of good quality: No
- Issues: 0 blocker, 1 important, 3 minor; 1 more from the model's own knowledge, under Not confirmed
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: 2 found
Licensing
debian/copyright is DEP-5, matches upstream's LICENSE (BSD-3-Clause, The Broad Institute, Inc. and The General Hospital Corporation, 2018-2019), includes the full BSD-3 text, covers debian/* separately and nothing in the tree carries non-free terms; the example data are documented as open-access GEUVADIS (E-GEUV-1) subsets. One point could not be resolved: three shipped modules say they are adapted from other projects (susieR in susie.py, prefetch_generator in genotypeio.py, scikit-learn in eigenmt.py), while debian/copyright records only the Broad BSD-3 grant; susieR is GPL-3 as I recall it, and a port of it could not be relicensed under BSD-3. Whether debian/copyright is accurate therefore depends on those upstream licences, which are not in the package.
Packaging
The packaging is conventional for a Python package: debhelper compat 14 with dh-sequence-python3/pybuild, DEP-5 copyright, an autopkgtest, salsa CI, a current Standards-Version and a complete Build-Depends. Two things need work: python3-tensorqtl has no parquet engine in Depends although its default cis_nominal and trans modes write parquet, so those documented runs fail at the write step; and the -examples package installs its data into the main package's documentation directory. README.source and the -examples Description also contain small factual errors.
Issues
important packaging 1. python3-tensorqtl does not depend on a parquet engine although the default cis_nominal and trans outputs call to_parquet ◂
- Files:
debian/control:19-28,tensorqtl/cis.py:527,tensorqtl/tensorqtl.py:184,tensorqtl/tensorqtl.py:341 - Basis: inferred from what was read, not seen directly
- Evidence:
chr_res_df.to_parquet(os.path.join(output_dir, f'{prefix}.cis_qtl_pairs.{chrom}.parquet'));cis.map_nominal(..., write_stats=not args.best_only, ...);pairs_df.to_parquet(...); Depends lists python3-numpy, python3-pandas, python3-pandas-plink, python3-pyqtl, python3-rpy2, python3-scipy, python3-torch and r-bioc-qvalue but no parquet engine. - Problem: The documented default
--mode cis_nominalcalls map_nominal with write_stats=True (unless --best_only), which writes each chromosome with DataFrame.to_parquet;--mode translikewise writes parquet unless --output_text is given. pandas' to_parquet requires pyarrow or fastparquet, and the dependency closure has neither: python3-pandas neither depends on nor recommends an engine (apt-cache), and none of the other Depends pulls one in. A default install therefore fails at the write step of these modes with 'Unable to find a usable engine'. Policy 3.5 requires the dependency. - Fix: Add python3-pyarrow (or python3-fastparquet) to python3-tensorqtl's Depends.
minor packaging 2. python3-tensorqtl-examples installs its data into python3-tensorqtl's documentation directory ◂
- Files:
debian/python3-tensorqtl-examples.install:1 - Basis: checked, in the package or with a reference tool
- Evidence:
example/* /usr/share/doc/python3-tensorqtl/examples - Problem: The -examples package puts its files under another binary package's /usr/share/doc directory. Because it only Enhances (does not depend on) python3-tensorqtl, that directory can exist without a copyright file for it, and after python3-tensorqtl is removed its doc directory remains holding files under no documented copyright. Debian keeps each package's documentation under /usr/share/doc/ (cf. Policy 12.5).
- Fix: Install to /usr/share/doc/python3-tensorqtl-examples/examples, or to a data directory such as /usr/share/tensorqtl/examples.
minor packaging 3. debian/README.source says the GEUVADIS example data are not packaged, but they are ◂
- Files:
debian/README.source:12-13,debian/python3-tensorqtl-examples.install:1 - Basis: checked, in the package or with a reference tool
- Evidence:
Very large example datasets (GEUVADIS genotypes and phenotypes) shipped upstream are not packaged. - Problem: example/data contains exactly GEUVADIS genotypes (pgen/psam/pvar) and the expression BED (chr18 subset), and python3-tensorqtl-examples.install ships all of example/*. The note is contradicted by the package as shipped.
- Fix: Say that the chr18 GEUVADIS subset is packaged in python3-tensorqtl-examples and only the full dataset is not.
minor packaging 4. python3-tensorqtl-examples Description names the main package 'python3-tensor-qtl' ◂
- Files:
debian/control:59 - Basis: checked, in the package or with a reference tool
- Evidence:
This package contains example data for python3-tensor-qtl - Problem: The binary package is python3-tensorqtl; the misspelt name in the description misleads users and tools matching on the package name.
- Fix: Change it to python3-tensorqtl.
Verified ◂
- Read debian/control, copyright, rules, changelog, README.source, python3-tensorqtl-examples.install, tests/control, tests/run-unit-test, source/format, upstream/metadata and salsa-ci.yml, and the .dsc.
- Read LICENSE, pyproject.toml, README.md, docs/outputs.md, install/, Dockerfile, .gitignore and all 14 tensorqtl/.py modules (headers in full, bodies where relevant); grepped the whole upstream tree for Copyright/(C)/©/SPDX-License-Identifier/Licensed under/GPL/LGPL/Apache/MPL/public domain/All rights reserved and for non-commercial, no-modification, field-of-use and similar terms.
- debian/copyright is DEP-5; Files: * is BSD-3-Clause with the full licence text matching LICENSE and the Broad Institute/GHC copyright, Files: debian/* covers the packaging, the Format: value is the current copyright-format 1.0 URL, and the scan's holder check found no holder missing.
- Scan files accounted for: example/data/GEUVADIS.445_samples.expression.bed.gz is the gzip member GEUVADIS.445_samples.expression.bed (165.9 MB decompressed), the phenotype BED table; example/data/GEUVADIS.445_samples.GRCh38.20170504.maf01.filtered.nodup.chr18.pgen is a PLINK2 binary genotype file with its .psam/.pvar; example/tensorqtl_examples.ipynb documents these as open-access GEUVADIS (E-GEUV-1) subsets. They are plain example data, not built artifacts, and are covered by Files: *.
- Checked every package named in debian/control against the archive: python3-pandas-plink 2.3.2-1, python3-pyqtl 0.1.10-1, python3-torch 2.14.1, python3-rpy2 3.6.9-1 and r-bioc-qvalue 2.44.0-1 exist; python3-pyarrow exists but is not depended on. Read pandas' metadata, which recommends no parquet engine.
- Read /usr/share/dh-python: dh_python3 skips the unknown Pgenlib Requires-Dist, so ${python3:Depends} does not gain an unavailable python3-pgenlib; numpy, pandas, scipy and torch are translated.
- Read the debhelper behaviour at the package's compat 14: dh skips override_dh_auto_test under the nocheck profile, so the no-op override is consistent; no Build-Depends is marked <!nocheck>.
- There are no patches (no debian/patches), no maintainer scripts and no .maintscript files; tests/control names run-unit-test, which matches the script.
- uscan found the packaged version as the newest upstream release (upstream
1.0.10, packaged1.0.10).
Not confirmed ◂
- The .bed.gz member was not decompressed and the .pgen was not opened (binary files are not opened); both are identified from their names, the accompanying .psam/.pvar and example/tensorqtl_examples.ipynb.
- The 27 MB example/data/GEUVADIS.445_samples.GRCh38.20170504.maf01.filtered.nodup.chr18.pvar was read only at its header and first lines; the remainder was not examined.
- The autopkgtest in debian/tests/run-unit-test was read but not executed.
- Whether this is a fault: Files: * declares BSD-3-Clause for code tensorqtl/ says is adapted from susieR, prefetch_generator and scikit-learn. The model reported it as a blocker licensing issue from its own knowledge of something outside the package, which it did not check with a tool, so it is not counted among the issues. Files:
tensorqtl/susie.py:1-8,tensorqtl/genotypeio.py:41,tensorqtl/eigenmt.py:31,debian/copyright:6-9.
Evidence:# This implementation is largely based on the original R version at/# https://github.com/stephenslab/susieR(susie.py:6-8);# Adapted from https://github.com/justheuristic/prefetch_generator(genotypeio.py:41);Adapted from scikit-learn:(eigenmt.py:31);License: BSD-3-Clause(debian/copyright:9)
Problem: debian/copyright gives one BSD-3-Clause grant for the whole tree, but three installed modules state that they are derived from other projects. susie.py is a 760-line port whose helper names (init_setup, single_effect_regression, SER_posterior_e_loglik) and comments follow susieR; susieR is GPL-3 as I recall (its DESCRIPTION could not be read here), so relicensing a derivative under BSD-3-Clause would violate the GPL and make the copyright file wrong. prefetch_generator is MIT, which requires its copyright and permission notice to be reproduced; scikit-learn is BSD-3, which requires its copyright notice to be retained. Neither notice is in debian/copyright, and the installed .py files carry only the URLs, so Policy 2.3 requires them in debian/copyright.
Fix: Verify each upstream licence and record it. Add the prefetch_generator holder and the MIT text (not in /usr/share/common-licenses) and the scikit-learn copyright line. If susie.py is a derivative of susieR, license the combined work GPL-3+ (BSD-3 and MIT are GPL-compatible) and add the susieR copyright and GPL-3 reference, or replace susie.py with an independent implementation; if it is an independent implementation, say so in the file or the copyright Comment.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 0 hours ago.
Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.