-
Make a new virtual env
virtualenv qiime19
-
Source the new virtual env
source qiime19/bin/activate
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
### Keybase proof | |
I hereby claim: | |
* I am gblanchard4 on github. | |
* I am geneblanchard (https://keybase.io/geneblanchard) on keybase. | |
* I have a public key ASBpQQuqCR7mwRtT7cEu8T8pPtcrLKWnKYINwwkqWPZjZgo | |
To claim this, I am signing this object: |
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 ctypes | |
import sys | |
import time | |
EnumWindows = ctypes.windll.user32.EnumWindows | |
EnumWindowsProc = ctypes.WINFUNCTYPE(ctypes.c_bool, ctypes.POINTER(ctypes.c_int), ctypes.POINTER(ctypes.c_int)) | |
GetWindowText = ctypes.windll.user32.GetWindowTextW | |
GetWindowTextLength = ctypes.windll.user32.GetWindowTextLengthW | |
IsWindowVisible = ctypes.windll.user32.IsWindowVisible |
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
levels = [u' KEGG Orthology (KO) [BR:ko00001]', | |
u' Metabolism', | |
u' Carbohydrate metabolism', | |
u' 00040 Pentose and glucuronate interconversions', | |
u' K00012 UGDH, ugd; UDPglucose 6-dehydrogenase', | |
u' 00053 Ascorbate and aldarate metabolism', | |
u' K00012 UGDH, ugd; UDPglucose 6-dehydrogenase', | |
u' 00520 Amino sugar and nucleotide sugar metabolism', | |
u' K00012 UGDH, ugd; UDPglucose 6-dehydrogenase'] |
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 argparse | |
from biom import parse_table | |
__author__ = "Gene Blanchard" | |
__email__ = "me@geneblanchard.com" | |
# Scrub that junk! | |
def symbolic_cleaner(pathway): |
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 argparse | |
import collections | |
from itertools import groupby | |
__author__ = "Gene Blanchard" | |
__email__ = "me@geneblanchard.com" | |
''' | |
Dereplicate an fna and keep original mapping |
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 argparse | |
__author__ = "Gene Blanchard" | |
__email__ = "me@geneblanchard.com" | |
''' | |
Python Templet | |
< Insert Description Here > | |
''' |
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 | |
__author__ = "Gene Blanchard" | |
__email__ = "me@geneblanchard.com" | |
''' | |
derep_seqs.py | |
Python version of USEARCH's derep command | |
Fixed the time output to H:M:S format |