Skip to main content

Spatial Profiling Overview Tool

Project description

PyPI version

POPIDD-SPOT: Spatial Profiling Overview Tool

POPIDD-SPOT let's you perform spot checks for spatial transcriptomics datasets and generate shareable reports.

SPOT Dashboard overview showing the Summmary tab, with a deployed side menu.

Requirements

uv installation

  • Open terminal
    • Windows Powershell: powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
    • WLS/macOS/Linux shell: curl -LsSf https://astral.sh/uv/install.sh | sh
  • Close and open a new terminal

Data

CSV metadata file in the format of the metadata flat files exported by AtoMx. Refer to the sample file for an example or the Downloading Metadata section

Usage

Running SPOT

  • Ensure input folder is empty before adding the data to it
  • Serve a live app for exploration:
    • Run live with uv run panel serve spot.py
    • The side toolbar can be used to, among others, load a file into POPIDD-SPOT.
  • Export an HTML report with limited interactibility for sharing:
    • Create reports with uv run python spot.py
    • A report for the first file in the input folder (if multiple are present) will be saved in the report folder.

Downloading Metadata

  • Log in into AtoMx and open the study to be exported alt text
  • Click on the EXPORT button and select the data to be exported
    • To use SPOT, you only need to export the metadata
      • Do so by toggling the Export cell metadata flat csv file box under the FlatCSV Files section alt text
    • However, all data including the raw results can also be exported, but this may be done only once.
  • After some time, depending on the amount of data being exported, you can click on Show Export Details to see the relevant export information, including username (xxxxx@icr.ac.uk), export server (eu.export.atomx.nanostring.eu), and project name. alt text
    • Note that these details may vary!
  • Open a terminal on the folder where metadata will be downloaded
  • Run sftp xxxxx@icr.ac.uk@eu.export.atomx.nanostring.eu
    • Where xxxxx@icr.ac.uk is the AtoMx user name from the account where the study data was exported
    • You will be asked for your password, type it in the terminal and press enter
  • The terminal line will change to sftp, confirm that the data has been saved to the export server by typing ls
    • You should see here the name of your study YYYYYY
  • Type in get -r YYYYYY, where YYYYYY is the name of the study as shown in the previous step
    • This will download all of the exported data to the folder where the terminal was originally opened from
  • The .csv files will be compressed into the .gz format.
    • Some applications will support that format, but if you have issues decompressing the file and are on a Unix-like operating system, simply open a new terminal where the .gz file is and then run gunzip -d ZZZZZ.csv.gz, where ZZZZZ is the name of the metadata file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

popidd_spot-0.2.0.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

popidd_spot-0.2.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file popidd_spot-0.2.0.tar.gz.

File metadata

  • Download URL: popidd_spot-0.2.0.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.3 {"installer":{"name":"uv","version":"0.10.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for popidd_spot-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a661d83897f08c00a57a459de2a51b56bab0c4edf495e6fcfe7b09f8b268deaf
MD5 b78e5dfbd343aab64b34f7f855c3b850
BLAKE2b-256 9b7478e2f06efc98182eabff0bd5f4eb712a456dbb701dce4dfe1d9f81cfe0c9

See more details on using hashes here.

File details

Details for the file popidd_spot-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: popidd_spot-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.3 {"installer":{"name":"uv","version":"0.10.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for popidd_spot-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 993acb3af4387d7071e70c5698891ee486d1201ed0cfa44890cd22bd3c3d896c
MD5 97d1dc82811a336f9d8da4881ae3814a
BLAKE2b-256 fca01ea407950a04a2723b06fe24127ab371a844fd9019a4f5fba91c1c670ec1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page