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 / README.md
Last active May 19, 2025 18:11
JupyterLab current on Binder with awscli and zstd
@fomightez
fomightez / demo_ipylab_using_documentsearch.ipynb
Created May 16, 2025 16:20
Demonstrate using documentsearch in a Jupyter Notebook via ipylab for programmatic text search, in reply to a Jupyter Discourse thread https://discourse.jupyter.org/t/targeted-documentsearch-command/34957?u=fomightez
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fomightez
fomightez / mre_for_highlight_gene_names.py
Last active March 31, 2025 20:05
For SO https://stackoverflow.com/q/79546920/8508004 - MRE only. At this time the way the color is made doesn't transfer to Excel. You can color whole cell using `props` and then that would transfer
import pandas as pd
import numpy as np
import matplotlib as mpl
import re
df = pd.DataFrame({
"Gene_name": ["sdsR", "arrS","gadF"],
"Genes_in_same_transcription_unit": ['pphA, sdsR', 'arrS','mdtF, mdtE, gadF, gadE'],
})
# Convert Gene_name column to a set for quick lookup
@fomightez
fomightez / Plotting_Example_modern_Jupyter.ipynb
Created March 25, 2025 16:00
How to test plots in modern Jupyther without installing anything or signing up for an account
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fomightez
fomightez / SO79494011-related.ipynb
Last active March 8, 2025 16:25
In reference to https://stackoverflow.com/a/79494011/8508004 which may be deleted as violating current policy
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fomightez
fomightez / test_pyfasma-spc_package_process.ipynb
Created March 1, 2025 17:07
Test pyfasma-spc package in modern Jupyter and Python for SO https://stackoverflow.com/q/79476297/8508004
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fomightez
fomightez / confusion_matrix_plot_via_seaborn_for_SO.ipynb
Created February 2, 2025 22:43
confusion matrix plot via seaborn for SO
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.