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
#!/usr/bin/env python | |
"""retrieve only parsimony infomative | |
sites from a nucleotide multiple sequence alignment""" | |
from optparse import OptionParser | |
import sys | |
try: | |
from Bio import SeqIO | |
except: |
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
#!/usr/bin/env python | |
"""parse frequencies from a Kmer matrix""" | |
from __future__ import division | |
import sys | |
import os | |
import optparse | |
from optparse import OptionParser | |
from collections import deque |
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
#!/usr/bin/env python | |
import sys | |
from sys import argv | |
try: | |
out_matrix = open("transposed_matrix.matrix", "w") | |
reduced = [] | |
with open(argv[1]) as my_file: | |
for line in my_file: |
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
#!/usr/bin/env python | |
#A python implementation of building clusters from MASH distances | |
import optparse | |
import sys | |
from optparse import OptionParser | |
try: | |
from scipy.cluster.hierarchy import weighted | |
import scipy.spatial.distance as ssd |
OlderNewer