Skip to content

Instantly share code, notes, and snippets.

View gkarthik's full-sized avatar
👽
I'm an imposter

Karthik gkarthik

👽
I'm an imposter
View GitHub Profile
import bjorn_support as bs
import mutations as bm
import pandas as pd
# FASTA must include reference NC_045512.2 (e.g. use cat to add the reference)
fasta_filepath = '2021-02-08_release.fa'
# specify name for output alignment
msa_filepath = 'msa.fa'
# run alignment (uses MAFFT but can be changed from bjorn_support.py)
@gkarthik
gkarthik / elasticsearch-restclient
Created June 29, 2019 23:09 — forked from mx4492/elasticsearch-restclient
Using Emacs Restclient Mode to explore the Elasticsearch REST API
# Using Emacs Restclient Mode to explore the Elasticsearch REST API
# http://www.elasticsearch.org/guide/en/elasticsearch/reference/
:es = http://127.0.0.1:9200
# Cluster Health
GET :es/_cat/health?v
# List of nodes
@gkarthik
gkarthik / bamfilter_oneliners.md
Created August 31, 2016 00:16 — forked from davfre/bamfilter_oneliners.md
SAM and BAM filtering oneliners
@gkarthik
gkarthik / angular-compile-dynamic-html.md
Created August 9, 2016 21:47 — forked from umidjons/angular-compile-dynamic-html.md
Compile dynamic template from outside of angular.

Compile dynamic template from outside of angular

I want to load dynamic HTML content via AJAX, then compile it, because it contains angular directives.

<!DOCTYPE html>
<html ng-app="app">
<head>