Skip to content

Instantly share code, notes, and snippets.

View srividya22's full-sized avatar

Srividya Ramakrishnan srividya22

  • John Hopkins University
  • Baltimore
View GitHub Profile
import networkx as nx
import random
import copy
def isValidPair(G, Gp):
'''
This function checks if the weighted, undirected graphs G and Gp
constitute a valid pair.
G and Gp constitute a valid pair if, for every vertex u in G and Gp,
the multiset of weights for u is the same in both graphs.
Terry Gaasterland
Bonnie Hurwitz
Yanni Sun
Karen Cranston
Cathy Lozupone
Kimmen Sjolander
Deanna Church
Melissa Wilson Sayres
Hilda Bastian
Christina Leslie

What is machine learning exactly? Here's what been said:

Wikipedia
Machine learning is a subfield of computer science (CS) and artificial intelligence (AI) that deals with the construction and study of systems that can learn from data, rather than follow only explicitly programmed instructions.

Standford Machine Learning course - Coursera
Machine learning is the science of getting computers to act without being explicitly programmed.

Data Mining - Ian H. Witten, Eibe Frank, Mark A. Hall
We interpret machine learning as the acquisition of structural descriptions from examples.

@srividya22
srividya22 / ispconfig-migration.sh
Created February 24, 2017 20:01 — forked from yorch/ispconfig-migration.sh
ISPConfig 3 script to move installation from one server to another
#!/bin/bash
# Migrate ISPConfig 3 installation from one server to another
# This script should run on the final/destination ISPConfig 3 server
# You must first install the same ISPConfig on the destination server
# and make sure to create all the users from the previous installation
# (ISPConfig creates users for each client and web page)
# Tested on ISPConfig version 3.0.5.3
# Created by Jorge Barnaby (@jbarnaby) - March 2014
# EDIT YOUR PREVIOUS ISPCONFIG SERVER HERE
@srividya22
srividya22 / ispconfig-migration.sh
Created February 24, 2017 20:01 — forked from yorch/ispconfig-migration.sh
ISPConfig 3 script to move installation from one server to another
#!/bin/bash
# Migrate ISPConfig 3 installation from one server to another
# This script should run on the final/destination ISPConfig 3 server
# You must first install the same ISPConfig on the destination server
# and make sure to create all the users from the previous installation
# (ISPConfig creates users for each client and web page)
# Tested on ISPConfig version 3.0.5.3
# Created by Jorge Barnaby (@jbarnaby) - March 2014
# EDIT YOUR PREVIOUS ISPCONFIG SERVER HERE
@srividya22
srividya22 / ispconfig-migration.sh
Created February 24, 2017 20:01 — forked from yorch/ispconfig-migration.sh
ISPConfig 3 script to move installation from one server to another
#!/bin/bash
# Migrate ISPConfig 3 installation from one server to another
# This script should run on the final/destination ISPConfig 3 server
# You must first install the same ISPConfig on the destination server
# and make sure to create all the users from the previous installation
# (ISPConfig creates users for each client and web page)
# Tested on ISPConfig version 3.0.5.3
# Created by Jorge Barnaby (@jbarnaby) - March 2014
# EDIT YOUR PREVIOUS ISPCONFIG SERVER HERE
@srividya22
srividya22 / ispconfig-migration.sh
Created February 24, 2017 20:01 — forked from yorch/ispconfig-migration.sh
ISPConfig 3 script to move installation from one server to another
#!/bin/bash
# Migrate ISPConfig 3 installation from one server to another
# This script should run on the final/destination ISPConfig 3 server
# You must first install the same ISPConfig on the destination server
# and make sure to create all the users from the previous installation
# (ISPConfig creates users for each client and web page)
# Tested on ISPConfig version 3.0.5.3
# Created by Jorge Barnaby (@jbarnaby) - March 2014
# EDIT YOUR PREVIOUS ISPCONFIG SERVER HERE
@srividya22
srividya22 / ispconfig-migration.sh
Created February 24, 2017 20:01 — forked from yorch/ispconfig-migration.sh
ISPConfig 3 script to move installation from one server to another
#!/bin/bash
# Migrate ISPConfig 3 installation from one server to another
# This script should run on the final/destination ISPConfig 3 server
# You must first install the same ISPConfig on the destination server
# and make sure to create all the users from the previous installation
# (ISPConfig creates users for each client and web page)
# Tested on ISPConfig version 3.0.5.3
# Created by Jorge Barnaby (@jbarnaby) - March 2014
# EDIT YOUR PREVIOUS ISPCONFIG SERVER HERE
@srividya22
srividya22 / rnaseq.md
Created April 17, 2017 21:09 — forked from alyssafrazee/rnaseq.md
rna-seq workflow (draft)

Analyzing RNA-seq data with the "Tuxedo" tools

Introduction/tl;dr: I wrote this post as a reference for a few new graduate students in my department that are getting started with RNA-seq data analysis. It begins with an informal, big-picture overview of RNA-seq data analysis, and the general flow of the post outlines one standard RNA-seq workflow, but I wanted to give general audiences a "heads-up" that the post goes into quite a bit of nitty gritty detail that's specific to our department's computing setup.

preliminaries: what's RNA-seq?

RNA-seq is a high-throughput technology used to measure gene expression in cell populations. For a super bare-bones picture of what gene expression is, please enjoy this ASCII art I made to illustrate the process:

[DNA]            ACGTAGGT{CGTATTT}AGCGT{AGCGCCCGA}TTACA
                                    |                   
@srividya22
srividya22 / rnaseq.md
Created April 17, 2017 21:09 — forked from alyssafrazee/rnaseq.md
rna-seq workflow (draft)

Analyzing RNA-seq data with the "Tuxedo" tools

Introduction/tl;dr: I wrote this post as a reference for a few new graduate students in my department that are getting started with RNA-seq data analysis. It begins with an informal, big-picture overview of RNA-seq data analysis, and the general flow of the post outlines one standard RNA-seq workflow, but I wanted to give general audiences a "heads-up" that the post goes into quite a bit of nitty gritty detail that's specific to our department's computing setup.

preliminaries: what's RNA-seq?

RNA-seq is a high-throughput technology used to measure gene expression in cell populations. For a super bare-bones picture of what gene expression is, please enjoy this ASCII art I made to illustrate the process:

[DNA]            ACGTAGGT{CGTATTT}AGCGT{AGCGCCCGA}TTACA
                                    |