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 / so74683522.ipynb
Last active December 8, 2022 21:23
For reply to StackOverflow 74683522
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 / demo_use_mp_api_with_MaterialsProject.ipynb
Created November 7, 2022 18:45
demo use mp_api with Materials Project to answer stackoverflow question https://stackoverflow.com/q/74330082/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 / expand_music_file_names_back_to_having_spaces.py
Last active April 16, 2023 20:46
Takes a music file saved by `get_audio_as_mp3.py` without spaces in the file name and fixes them by putting spaces back.
# expand_music_file_names_back_to_having_spaces.ipy
__author__ = "Wayne Decatur" #fomightez on GitHub
__license__ = "MIT"
__version__ = "0.0.1"
# expand_music_file_names_back_to_having_spaces.ipy by Wayne Decatur
# ver 0.0.1
#
@fomightez
fomightez / try_Pylustrator_via_MyBinder.md
Last active July 8, 2025 20:31
Try Pylustrator right in your browser without installing anything on your system via temporary sessions served by MyBinder.org.

Walkthrough for installation and trial use of Pylustrator in your browser in temporary remote sessions served via MyBinder

This needs UPDATING ASAP as there is now a 'Remote Clipboard' tool that makes passing in code much easier!!! (Already updated related pysimple gui code so us as guide.)

Benefits:

  • Runs remotely so nothing modified on your machine yet you can test Pylustrator use hands-on.
  • Everything is already prepared, except for installation of the one package to be demonstrated.
  • No login required.
@fomightez
fomightez / demo_directions.md
Last active July 8, 2025 20:25
Using MyBinder to demo use of PySimpleGUI

Using MyBinder to demo use of PySimpleGUI

Walkthrough for installation of PySimpleGUI and example use of PySimpleGUI in your browser in temporary remote sessions served via MyBinder

Benefits:

  • Runs remotely so nothing modified on your machine.
  • Everything is already prepared, except for installation of the one package to be demonstrated.
@fomightez
fomightez / Demonstrate_Bio_package.ipynb
Last active September 7, 2022 21:30
Demonstrate the Bio Package
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fomightez
fomightez / unipressed_saving_tsv.py
Last active September 13, 2024 17:21
Unipressed example saving tsv-formatted data output to file, see https://www.biostars.org/p/286919/#9537049 Plus now see my 'Unipressed-binder' repo.
from unipressed import UniprotkbClient
import shutil
for i,record in enumerate(UniprotkbClient.search(
query={
"or_": [
{"ec": "3.1.3.9"},
{"ec": "2.7.1.2"},
],
"and_": [
@fomightez
fomightez / unipressed_example.py
Last active September 13, 2024 17:21
Unipressed example for twitter post, see https://www.biostars.org/p/286919/#9537049 for much more! Plus now see my 'Unipressed-binder' repo.
from unipressed import UniprotkbClient
for record in UniprotkbClient.search(
query={
"or_": [
{"ec": "3.1.3.9"},
{"ec": "2.7.1.2"},
],
"and_": [
{"organism_id": "9606"},
],
@fomightez
fomightez / updated_interactive_plot_for_so69182917.ipynb
Created August 17, 2022 20:09
Updated Interactive plot for so69182917
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.