Skip to content

Instantly share code, notes, and snippets.

Avatar

Mike Boyle moble

View GitHub Profile
@moble
moble / memory.ipynb
Last active Dec 18, 2020
Notebook demonstrating the use of sxs memory functions
View memory.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@moble
moble / unique_gene_id.py
Last active Mar 31, 2021
Ensure GTF-format files have `gene_id` fields unique to each `gene_name` or `transcript_id`
View unique_gene_id.py
#!/usr/bin/env python
# Copyright (c) 2020, Michael Boyle
#
# MIT License
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@moble
moble / show_dimensions.tex
Last active Sep 4, 2020
Get latex to tell you its sizes, then use those sizes in matplotlib to create plots that will fit perfectly in your latex file
View show_dimensions.tex
% Anywhere you want to see the dimensions latex is using, just place
% this command in the tex file itself, run latex, and look for these
% items in the compilation output. For example, to see these numbers
% as latex uses them within the text, just put this command in the
% main text. To see them in a figure caption, just put this command
% where you write the caption text. Note that the standard
% points-per-inch ratio is 72.27.
\makeatletter
View ExampleProblems.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View PowerDistributionUnderDisplacement.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@moble
moble / CliffordCompression.ipynb
Created Oct 17, 2018
Comparison of npz and h5 compression
View CliffordCompression.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View HDF5Recompression.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View EvenOddComponents.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View RotationWithNumba.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View MomentumEmission.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.