Skip to content

Instantly share code, notes, and snippets.

View fomightez's full-sized avatar

Wayne's Bioinformatics Code Portal fomightez

View GitHub Profile
@fomightez
fomightez / gist_test.py
Last active October 16, 2024 18:27
Test `uv run` with gist Python script with
# Demonstrating "you can now uv run scripts (with inline deps!) from stdin and URL" https://x.com/trevmanz/status/1846301009053970542 and trying
# with the gist use suggestion in https://x.com/trevmanz/status/1846301011809558877
# How to: go https://github.com/fomightez/3Dscatter_plot_mod_playground-binder and launch a session. Install `uv` via `pip install uv`, then run `uv run https://gist.githubusercontent.com/fomightez/3d90c4e5594ddcdf6dd023a80959c107/raw/8b940f9fe9b5a2c0ccc20635cbbd0cce7ef01b53/gist_test.py`
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "rich>=13.9.2",
# ]
# ///
@fomightez
fomightez / SO_PyVista_Oct_15.ipynb
Created October 15, 2024 19:10
PyVista screenshot stuff for SO 79089061
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fomightez
fomightez / Jupyter_Discourse_forum_29243_test.ipynb
Last active October 15, 2024 15:31
Pandas example for Jupyter Discourse exchange
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fomightez
fomightez / SINGLE_PAGEsosept19_2024.ipynb
Last active September 19, 2024 18:14
SO to save Plotly Express plots using a for loop and composite a PDF - two choices: single page or multi-page are covered
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fomightez
fomightez / Automatically_generating_unit_tests_in_Snakemake_Example_Run.ipynb
Last active September 17, 2024 20:35
Testing Snakemake making unit tests automatically
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fomightez
fomightez / Tables_and_Styling_and_HTML_and_Pandas.ipynb
Last active September 17, 2024 17:17
Tables and Styling and HTML & Pandas
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fomightez
fomightez / Data-dependent_conditional_execution_in_Snakemake_from_documentation.ipynb
Last active September 14, 2024 04:53
Data-dependent conditional execution in Snakemake
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fomightez
fomightez / snakemake snakefile set up for August SO question directory as input.ipynb
Created August 20, 2024 17:47
August SO question & answer https://stackoverflow.com/a/78893777/8508004 : Snakemake - adapt the checkpoints example pipeline to the new version 8.18.1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fomightez
fomightez / README.md
Last active September 6, 2024 15:40 — forked from jtpio/README.md
JupyterLab 4.3 on Binder

JupyterLab 4.3 with Python 3.11 on Binder

Binder

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.