Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 sys | |
if len(sys.argv) < 3: | |
sys.exit("run: python filter_table.py <file> <threshold>") | |
else: | |
file_path = sys.argv[1] | |
threshold = int(sys.argv[2]) | |
with open(file_path, 'r') as f: |
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
""" | |
Exclude CDHIT Clusters that contains number of sequences below a certain threshold | |
""" | |
import sys | |
args = sys.argv | |
if len(args) < 3: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 sys | |
import gzip | |
class GenoFreq: | |
def __init__(self, file_name): | |
self.file_name = file_name | |
self.all_genotypes = self.get_all_genotypes() | |
def get_all_genotypes(self): |
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 textwrap | |
import sys | |
import os | |
import gzip | |
BLOSUM = { | |
"A" : "A", | |
"C" : "C", | |
"G" : "G", |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
3.2596 1.4977 -1 | |
3.9733 1.2995 -1 | |
2.0559 1.5692 -1 | |
2.0003 2.4876 -1 | |
-1.433 4.1727 -1 | |
2.736 1.4522 -1 | |
3.2213 1.8164 -1 | |
1.1169 2.7368 -1 | |
3.0756 1.876 -1 | |
4.233 1.8611 -1 |
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
/* | |
simple random kmers generator with storage in parallel hash map. | |
clone: https://github.com/greg7mdp/parallel-hashmap.git | |
g++ -Ofast -O3 main.cpp | |
*/ | |
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
<!DOCTYPE html> | |
<html> | |
<head><meta charset="utf-8" /> | |
<title>Assignment 4</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> | |
OlderNewer