-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexercise_sheet6.py
79 lines (60 loc) · 1.39 KB
/
exercise_sheet6.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
from typing import Iterable, Dict, List
def read_blosum62(path: str):
return None
def index_sequence_by_kmers(sequence: str, k_mer_lenght: int):
return None
def find_similar_kmers_for_kmer(
kmer: str,
kmer_similarity_threshold: int,
all_possible_kmers: List[str],
blosum_dict: Dict[str, Dict[str, int]]
):
return None
def find_similar_kmers_for_sequence(
query: str,
kmer_similarity_threshold: int,
all_possible_kmers: List[str],
blosum_dict: Dict[str, Dict[str, int]]
):
return None
def create_index_pairs(
query: str,
database: str,
kmer_size: int,
kmer_similarity_threshold: int,
blosum_dict: Dict[str, Dict[str, int]]
):
return None
def merge_single_hit_with_single_hit(
hit1,
hit2,
max_distance
):
return None
def merge_extended_hit_with_single_hit(
extended_hit,
single_hit,
max_distance
):
return None
def merge_two_extended_hits(
extended_hit1,
extended_hit2,
max_distance
):
return None
def merge_two_hits(
hit1,
hit2,
max_distance
):
return None
def create_extended_hits(
query: str,
database: str,
kmer_size: int,
kmer_similarity_threshold: int,
blosum_dict: Dict[str, Dict[str, int]],
max_distance: int
):
return None