Skip to content

Instantly share code, notes, and snippets.

View gp201's full-sized avatar
🎯
Focusing

Praneeth gp201

🎯
Focusing
View GitHub Profile
@huddlej
huddlej / README.md
Last active February 21, 2025 09:29
Command line tool to convert annotated phylogenetic trees nextstrain.org's JSON format to a tidy data frame of tree attributes

Convert Auspice tree JSON to a data frame and Newick tree

An example script to convert an Auspice tree JSON to a data frame and Newick tree for processing by downstream analyses.

Setup

Install Nextstrain.

Usage

@fperez
fperez / nbmerge.py
Created June 23, 2015 01:04
Merge/concatenate multiple IPython notebooks into one.
#!/usr/bin/env python
# Note, updated version of
# https://github.com/ipython/ipython-in-depth/blob/master/tools/nbmerge.py
"""
usage:
python nbmerge.py A.ipynb B.ipynb C.ipynb > merged.ipynb
"""
import io