This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/local/bin/python | |
''' | |
Code for doing some simple stats on the dndnext playtest rules | |
''' | |
import sys, os, numpy | |
import matplotlib.pyplot as plt | |
from numpy.random import randint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import MySQLdb, re, time | |
def id2ensembl(id_list, | |
genus_name, | |
species_name, | |
ensemblver=None): | |
''' Converts a list of any IDs into ensemblIDs | |
Requires a list of IDs, a genus and species name, and |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import MySQLdb, re, time | |
def entrez2ensembl(entrez_gene_list, | |
genus_name, | |
species_name, | |
ensemblver=None): | |
''' Converts a list of EntrezIDs into ensemblIDs | |
Requires a list of EntrezIDs, a genus and species name, and |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="syntaxhighlighter" class="brush: csharp"> | |
<![CDATA[ | |
// Comment | |
public class Testing { | |
public Testing() { | |
} | |
public void Method() { | |
/* Another Comment |