File tree Expand file tree Collapse file tree 5 files changed +34
-2
lines changed
Expand file tree Collapse file tree 5 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 2323PLINK
2424-----
2525
26+ .. deprecated :: 0.11.0
27+ Functions for reading and writing plink are deprecated, please use the `bio2zarr <https://github.com/sgkit-dev/bio2zarr >`_
28+ and `vcztools <https://github.com/sgkit-dev/vcztools >`_ packages.
29+
2630.. currentmodule :: sgkit.io.plink
2731.. autosummary ::
2832 :toctree: generated/
Original file line number Diff line number Diff line change @@ -14,8 +14,12 @@ Changelog
1414.. Breaking changes
1515.. ~~~~~~~~~~~~~~~~
1616
17- .. Deprecations
18- .. ~~~~~~~~~~~~
17+ Deprecations
18+ ~~~~~~~~~~~~
19+
20+ - Functions for reading and writing plink are deprecated, please use the `bio2zarr <https://github.com/sgkit-dev/bio2zarr >`_
21+ and `vcztools <https://github.com/sgkit-dev/vcztools >`_ packages.
22+ (:user: `tomwhite `, :pr: `1324 `, :issue: `1318 `)
1923
2024.. Improvements
2125.. ~~~~~~~~~~~~
Original file line number Diff line number Diff line change 1+ import warnings
2+
3+ warnings .warn (
4+ "Functions for reading and writing plink are deprecated, please use the bio2zarr and vcztools packages." ,
5+ DeprecationWarning ,
6+ stacklevel = 2 ,
7+ )
8+
19try :
210 from .plink_reader import plink_to_zarr , read_plink
311 from .plink_writer import write_plink , zarr_to_plink
Original file line number Diff line number Diff line change @@ -147,6 +147,10 @@ def read_plink(
147147 Loads a single PLINK dataset as dask arrays within a Dataset
148148 from bed, bim, and fam files.
149149
150+ .. deprecated:: 0.11.0
151+ Functions for reading and writing plink are deprecated, please use the `bio2zarr <https://github.com/sgkit-dev/bio2zarr>`_
152+ and `vcztools <https://github.com/sgkit-dev/vcztools>`_ packages.
153+
150154 Parameters
151155 ----------
152156 path
@@ -328,6 +332,10 @@ def plink_to_zarr(
328332
329333 Refer to :func:`read_plink` for details and limitations.
330334
335+ .. deprecated:: 0.11.0
336+ Functions for reading and writing plink are deprecated, please use the `bio2zarr <https://github.com/sgkit-dev/bio2zarr>`_
337+ and `vcztools <https://github.com/sgkit-dev/vcztools>`_ packages.
338+
331339 Parameters
332340 ----------
333341 path
Original file line number Diff line number Diff line change @@ -49,6 +49,10 @@ def write_plink(
4949 - ``sample_phenotype``: Phenotype code equal to 1 for control, 2 for case,
5050 and -1 for missing
5151
52+ .. deprecated:: 0.11.0
53+ Functions for reading and writing plink are deprecated, please use the `bio2zarr <https://github.com/sgkit-dev/bio2zarr>`_
54+ and `vcztools <https://github.com/sgkit-dev/vcztools>`_ packages.
55+
5256 Parameters
5357 ----------
5458 ds
@@ -146,6 +150,10 @@ def zarr_to_plink(
146150
147151 Refer to :func:`write_plink` for details and limitations.
148152
153+ .. deprecated:: 0.11.0
154+ Functions for reading and writing plink are deprecated, please use the `bio2zarr <https://github.com/sgkit-dev/bio2zarr>`_
155+ and `vcztools <https://github.com/sgkit-dev/vcztools>`_ packages.
156+
149157 Parameters
150158 ----------
151159 input
You can’t perform that action at this time.
0 commit comments