Skip to content

Instantly share code, notes, and snippets.

Avatar
🦆
🦆🦆

alex alexomics

🦆
🦆🦆
View GitHub Profile
@alexomics
alexomics / main.py
Created Jan 8, 2021
Guppy Version from FAST5 file
View main.py
from ont_fast5_api.fast5_interface import get_fast5_file
def guppy_from_file(fn):
"""
>>> guppy_from_file("single.fast5")
'3.0.7+427b5a11'
>>> guppy_from_file("multi.fast5")
'3.0.7+427b5a11'
"""
View kineticsTools.yaml
name: kinetics_tools
channels:
- bioconda
- conda-forge
- defaults
dependencies:
- python>=3.7
- pip
- pip:
- git+http://github.com/PacificBiosciences/pbcore
@alexomics
alexomics / args.py
Last active Oct 22, 2019
A quick argparse for scripts that share options
View args.py
import argparse
DEFAULT_SERVER_HOST = "127.0.0.1"
DEFAULT_SERVER_PORT = 5555
DEFAULT_TIMEOUT = 500
BASE_ARGS = (
(
"Inputs", # GROUP