!DISCLAIMER!
- This package is not currently maintained. A new package that will include all
pygpseqfeatures is being implemented atradiantkit. - This package has been developed and tested ONLY for Python3.6, which will reach its end of life On December 23rd, 2021.
- Versions 3.4.* of this package only change package dependencies to fix an issue due to incorrect dependency declaration.
pyGPSeq
A Python3.6 package that provides tools to analyze images of GPSeq samples. Read the Wiki documentation for more details.
Requirements
Python3.6 and compatible tkinter package are required to run pygpseq.
On Ubuntu 20.04, you can install them with:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.6
sudo apt install python3.6-tk
Installation
We recommend installing pygpseq using poetry.
Check how to install poetry here
if you don't have it yet! Once you have poetry ready on your system, you can install the
package in its own virtual environment with:
git clone https://github.com/ggirelli/pygpseq.git
cd pygpseq
poetry install
And then enter the environment with poetry shell.
Alternatively, if you prefer to use conda , you can setup an environment with:
conda create -n pygpseq python=3.6
conda activate pygpseq
conda install pip
conda install -c anaconda libtiff
Usage
Analyze a GPSeq image dataset
The gpseq_anim (GPSeq analysis of images) analyzes a multi-condition GPSeq image dataset. Run gpseq_anim -h for more details.
Calculate lamin distance of FISH signals
The gpseq_fromfish script characterizes FISH signals identified with DOTTER (or similar tools) by calculating: absolute/normalized distance from lamina and central region, nuclear compartment, allele status,... Run gpseq_fromfish -h for more details.
Merge multiple FISH analyses using a metadata table
Use the gpseq_fromfish_merge script to merge multiple FISH analysis output (generated with gpseq_fromfish). For more details run gpseq_fromfish_merge -h.
Perform automatic 3D nuclei segmentation
Run tiff_auto3dseg -h for more details on how to produce binary/labeled (compressed) masks of your nuclei staining channels
Identify out of focus (OOF) fields of view
Run tiff_findoof -h for more details on how to quickly identify out of focus fields of view. Also, the tiff_plotoof script (in R, requires argparser and ggplot2) can be used to produce an informative plot with the signal location over the Z stack.
Split a tiff in smaller images
To split a large tiff to smaller square images of size N x N pixels, run tiff_split input_image output_folder N. Use the --enlarge option to avoid pixel loss. If the input image is a 3D stack, then the output images will be of N x N x N voxels, use the --2d to apply the split only to the first slice of the stack. For more details, run tiff_split -h.
(Un)compress a tiff
To uncompress a set of tiff, use the tiffcu -u command. To compress them use the tiffcu -c command instead. Use tiffcu -h for more details.
Convert a nd2 file into single-channel tiff images
Use the nd2_to_tiff tool to convert images bundled into a nd2 file into separate single-channel tiff images. Use nd2_to_tiff -h for the documentation.
Contributing
We welcome any contributions to pygpseq. Please, refer to the contribution guidelines if this is your first time contributing! Also, check out our code of conduct.
License
MIT License
Copyright (c) 2017-21 Gabriele Girelli
Metadata
Release files for pygpseq 3.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pygpseq-3.4.1.tar.gz | 104.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pygpseq-3.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 237.4 kB
Release files / pygpseq-3.4.1.tar.gz
| Download URL | pygpseq-3.4.1.tar.gz |
|---|---|
| Size | 104.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
702789af923be91cdb82f4d2e55cdd2bfcf7c2cd879e581060e5023a4f935ca8
|
|
BLAKE2b-256 checksum How to use checksums |
de4cc7664a45d570cb80306c6e381b8d0589cfcb90337953df8a218e27ff3aa9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.8.10 Linux/5.4.0-84-generic
|
Release files / pygpseq-3.4.1-py3-none-any.whl
| Download URL | pygpseq-3.4.1-py3-none-any.whl |
|---|---|
| Size | 132.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a360b66fc2ae071abb3ae3ca8461d7318d3405bff995d28e52a9aa8af73a073d
|
|
BLAKE2b-256 checksum How to use checksums |
38a37f5eeeb0e28450fb3d873cbea88ce57d9eb2158b7657ba5e3a2f700a5a69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.8.10 Linux/5.4.0-84-generic
|
Security for pygpseq 3.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.