Skip to content

Instantly share code, notes, and snippets.

View KahiniWadhawan's full-sized avatar

Kahini Wadhawan KahiniWadhawan

  • IBM Research
  • New York
View GitHub Profile
@kylemcdonald
kylemcdonald / ACAI (PyTorch).ipynb
Last active March 12, 2023 18:37
PyTorch ACAI (1807.07543).
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# This module is for handling BLAST output lists (in -outfmt 6/ -m8 format).
from itertools import groupby
class Hsp:
"""Store information about single HSP in an alignment hit.
Members:
qid Query Id
sid Subject Id
@CristinaSolana
CristinaSolana / gist:1885435
Created February 22, 2012 14:56
Keeping a fork up to date

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream