DFSG NEW Queue

DFSG, Licensing & New Packages Team

python-pyqtl 0.1.10-1

Package Information

DescriptionUtilities for analyzing and visualizing QTL data

PyQTL provides a Python module for analyzing and visualizing quantitative trait loci (QTL) data. It includes a GTF parser for gene annotations, operators for BED and GCT files, LocusZoom-style regional association plots, and genotype handling utilities.

This package provides the qtl Python module. It is required as runtime dependency of the tensorqtl QTL mapper.

MaintainerDebian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed ByAndreas Tille <tille@debian.org>
Sponsortille@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/med-team/python-pyqtl.git (browse)
Closes#1155326
Trackerhttps://tracker.debian.org/pkg/python-pyqtl
Uploaded2 hours ago

New Package Report

.changes◂
Architecturesource all
Distributionunstable
DateSat, 28 Nov 2026 10:58:09 +0100
Sourcepython-pyqtl
Version0.1.10-1
Changed-ByAndreas Tille <tille@debian.org>
Changelog◂
python-pyqtl (0.1.10-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1155326)
.dsc◂
Componentmain
Package-Listpython3-pyqtl deb python optional arch=all
Sectionpython
Priorityoptional
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pyQTL
Upstream-Contact: Francois Aguet <francois@broadinstitute.org>
Source: https://github.com/broadinstitute/pyqtl

Files: *
Copyright: 2019 The Broad Institute, Inc. and
           The General Hospital Corporation
License: BSD-3-Clause

Files: debian/*
Copyright: 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 1 blocker, 2 important, 2 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 1 hour ago.

Report◂

DFSG NEW review for python-pyqtl version 0.1.10-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: No
  • Issues: 1 blocker, 2 important, 2 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

The LICENSE and all upstream modules carry the Broad Institute's BSD-3-Clause text, and the standalone license paragraph in debian/copyright reproduces it correctly. But qtl/coloc.py is a translation of the GPL-3 R coloc package (its R statements survive as comments) and qtl/norm.py says it is adapted from a third-party repository; neither the original holders nor their terms appear in debian/copyright, which attributes the whole tree to Broad under BSD-3-Clause. The copyright file is therefore not accurate, and for coloc.py the declared licence is likely incompatible with the code it contains.

Packaging

The mechanics are sound: compat 14 with dh and pybuild, correct Architecture: all, a current Standards-Version, a sane changelog, DEP-5 copyright, an autopkgtest that exercises the patched code, and only existing build dependencies. The substantive gap is that several modules shell out to tabix, bgzip, bcftools and samtools, and the package declares none of them, so advertised genotype/VCF and pileup functions fail on a minimal install. Two unused Python dependencies and a misleadingly named, unforwarded patch are smaller quality problems.

Issues

blocker licensing 1. qtl/coloc.py is translated from the third-party R coloc package, but debian/copyright attributes it solely to the Broad Institute under BSD-3-Clause ◂
  • Files: qtl/coloc.py:7-8, qtl/coloc.py:263-264, qtl/coloc.py:298-300, qtl/coloc.py:323-330, debian/copyright
  • Basis: checked, in the package or with a reference tool
  • Evidence: # Code adapted from / # https://github.com/chr1swallace/coloc/blob/master/R/claudia.R, and R code left in comments such as # ret$summary[, :=(idx1, cs1$cs_index[idx1])] and # if (is.null(hit1)) {; debian/copyright: Files: * / Copyright: 2019 The Broad Institute, Inc. and The General Hospital Corporation / License: BSD-3-Clause.
  • Problem: README.md also describes the module as a 'Python implementation of core functions from the R COLOC package'. The retained R statements show this is a translation of claudia.R (and of the susie code), i.e. third-party expression, not an independent reimplementation. Its authors and licence must therefore be recorded, and Policy 2.3 requires the notice of such code when it is shipped in a binary package. As far as I know (recalled; the R package is not available locally) coloc is GPL-3, so a BSD-3-Clause-only attribution of this file is both incomplete and incompatible with the original terms: a GPL-3 derivative cannot be distributed under BSD-3-Clause alone. Either way, debian/copyright does not describe qtl/coloc.py correctly.
  • Fix: Have upstream resolve the provenance: add a Files: qtl/coloc.py stanza naming the coloc authors, and state the actual licence (GPL-3, with the text referenced as /usr/share/common-licenses/GPL-3 if that is confirmed); the rest of the package can stay BSD-3-Clause since it is GPL-compatible. If Broad obtained permission to relicense the translation under BSD-3-Clause, record that permission in debian/copyright.
important licensing 2. qtl/norm.py says normalize_quantiles is adapted from andrewdyates/quantile_normalize, whose holder and licence debian/copyright does not record ◂
  • Files: qtl/norm.py:20, debian/copyright
  • Basis: inferred from what was read, not seen directly
  • Evidence: qtl/norm.py:20 Adapted from https://github.com/andrewdyates/quantile_normalize; debian/copyright has only the Files: * stanza for The Broad Institute, Inc. / The General Hospital Corporation under BSD-3-Clause.
  • Problem: normalize_quantiles is installed in python3-pyqtl, so if its expression came from that third-party repository its copyright holder and notice should be in debian/copyright. The file's own statement contradicts the sole-Broad attribution; the upstream repository's terms could not be checked from the package or the reviewing system. If it is not permissively licensed, shipping it is a DFSG problem; even if it is, the required notice is missing.
  • Fix: Establish the licence and holder of the code at github.com/andrewdyates/quantile_normalize and add a Files: qtl/norm.py stanza recording them, or replace normalize_quantiles with an independently written implementation that is covered by the Broad licence.
important packaging 3. python3-pyqtl invokes tabix, bgzip, bcftools and samtools but declares none of them ◂
  • Files: debian/control, qtl/genotype.py:56, qtl/genotype.py:67, qtl/genotype.py:85, qtl/io.py:11-14, qtl/sam.py:15, qtl/annotation.py:69, qtl/locusplot.py:51
  • Basis: checked, in the package or with a reference tool
  • Evidence: e.g. qtl/genotype.py:67 subprocess.check_output('tabix --list-chroms '+vcfpath, ...), qtl/genotype.py:56 bcftools query -l, qtl/io.py:11 bgzip -c > {path}, qtl/sam.py:15 samtools view -H; the Depends field of python3-pyqtl contains only Python modules.
  • Problem: Policy 3.5 requires a package to declare the packages needed for it to work correctly. The VCF/genotype functions, the BED/GCT writers, the pileup code and the GTF parser call these programs unconditionally, so they raise FileNotFoundError/OSError on a system with only the declared dependencies. Debian packages all four tools (tabix also provides bgzip).
  • Fix: Add at least Recommends (Depends if these functions are considered part of the package's core use, which the Description's 'genotype handling utilities' suggests) on tabix, bcftools and samtools.
minor packaging 4. Depends names python3-biopython and python3-requests, which no module imports ◂
  • Files: debian/control:21, debian/control:28
  • Basis: checked, in the package or with a reference tool
  • Evidence: Depends: python3-biopython, ... python3-requests,; a search of qtl/ for import Bio, from Bio and requests finds none, and pyproject.toml does not list them either.
  • Problem: These dependencies pull two packages into every installation without being used, making the package heavier and its dependency set misleading.
  • Fix: Drop python3-biopython and python3-requests from Depends (add them back only if a future module uses them).
minor packaging 5. debian/patches/numpy.patch is misnamed, its Description describes a test fix, and it is not marked as forwarded ◂
  • Files: debian/patches/numpy.patch:1-9
  • Basis: checked, in the package or with a reference tool
  • Evidence: Description: Fix test followed by I can’t see run-unit-test, so this assumes the test window ends at or beyond the last variant...; the patch actually changes GenotypeIndexer.get_genotype_window in qtl/genotype.py, has nothing to do with numpy, and carries no Forwarded: field.
  • Problem: The patch is a genuine upstream bug fix (the old shape[0]-1 truncation dropped the last variant of a window ending at the chromosome end), but the name and DEP-3 description obscure that and read like a note about Debian's own test, which makes the patch hard to review and to send upstream.
  • Fix: Rename it (e.g. fix-genotype-window.patch), write a Description naming get_genotype_window and the off-by-one it fixes, drop the remarks about run-unit-test, and add Forwarded: <upstream issue URL> (or submit it and record the result).
Verified ◂
  • Read debian/copyright, control, rules, changelog, source/format, tests/control, tests/run-unit-test, patches/series, patches/numpy.patch, upstream/metadata and salsa-ci.yml in full.
  • Read LICENSE, README.md, pyproject.toml, .gitignore and the first lines (banner/imports) of all 16 qtl/*.py modules; qtl/coloc.py in full, qtl/genotype.py and qtl/norm.py around the adapted/patched code.
  • LICENSE is BSD-3-Clause naming The Broad Institute, Inc. and The General Hospital Corporation; the standalone License paragraph in debian/copyright reproduces that text and matches it.
  • No non-free wording, bundled binaries, minified code or PDFs; the tree is Python source plus LICENSE, README.md, pyproject.toml and .gitignore.
  • The prescan's author check found every mechanically detected holder named in debian/copyright; the only third-party origin statements it could not catch are the adaptation comments in qtl/coloc.py and qtl/norm.py, reported above.
  • qtl/locusplot.py, qtl/map.py and qtl/pca.py declare Copyright 2018-2020, The Broad Institute and BSD3; the four-year drift from the copyright file's 2019 is not substantial.
  • Standards-Version 4.7.4 matches the reviewing system's Policy 4.7.4.1 in its first two components, so it is current.
  • Every package named in Build-Depends and Depends exists in the archive (checked debhelper-compat, dh-python, pybuild-plugin-pyproject, python3-all, python3-build, python3-setuptools, python3-bx, python3-pybigwig, python3-sklearn); pybuild-plugin-pyproject already depends on python3-build, so that entry is redundant but harmless.
  • debhelper compat 14: dh_gencontrol adds relationship substvars itself, so the explicit ${python3:Depends} and ${misc:Depends} are correct and their absence would not have been a fault.
  • The autopkgtest script imports only numpy, pandas and qtl, all reachable through the package's Depends, and exercises the function the patch changes; I reasoned the patch through that test rather than executing anything.
  • uscan found the packaged version as the newest upstream release (upstream 0.1.10, packaged 0.1.10).
Not confirmed ◂
  • Exact licence and copyright holders of the R coloc package (chr1swallace/coloc): not available in the package or on the reviewing system and no network access; GPL-3 is stated from memory and should be confirmed before finalising the copyright stanza.
  • Licence and holder of github.com/andrewdyates/quantile_normalize, the source qtl/norm.py cites: could not be checked offline.
Proposed changes ◂

None.

Uploader's response to the LLM review

Waiting for the uploader's response until , because the review found serious issues.

Back to Dashboard | View all reviews for this package