I hereby claim:
- I am elais on github.
- I am elais (https://keybase.io/elais) on keybase.
- I have a public key whose fingerprint is 502B 0F0C 2B47 AD8A 8053 4777 B627 4890 48A0 860C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
def maxNum(M, k): | |
x = [int(x) for x in str(M)] | |
y = k | |
z = sorted(x, reverse = True) # nondeterminism | |
def swap(i, j, l): | |
tmp = l[i] | |
l[i] = l[j] | |
l[j] = tmp | |
return l | |
def find_index(number, i, l): |
class Blosum62(webapp.RequestHandler): | |
def post(self): | |
try: | |
gap = int(self.request.get('Gap')) # gap penalty... or bonus if you'd prefer. | |
seq1 = str(self.request.get('Sequence1')) # first input sequence | |
seq2 = str(self.request.get('Sequence2')) # second input sequence | |
seq1 = seq1.upper() | |
seq2 = seq2.upper() | |
seq1 = ' ' + ''.join(seq1.split()) |
class SmithWaterman(webapp.RequestHandler): | |
def post(self): | |
try: | |
gap = int(self.request.get('Gap')) # gap penalty... or bonus if you'd prefer. | |
matchScores = False | |
try: | |
match = int(self.request.get('Match')) | |
mismatch = int(self.request.get('Mismatch')) | |
matchScores = True | |
except: |
#!/usr/bin/env python | |
# | |
# Copyright 2013 Elais Jackson. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
import sys | |
import os | |
def main(): | |
count = 1 | |
big = 998 | |
while count != 0: | |
big -= 1 | |
front = str(big) |