Skip to content
Snippets Groups Projects
Commit aac128da authored by Schneider Leo's avatar Schneider Leo
Browse files

data processing for jz

parent 92209137
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,34 @@ import matplotlib.pyplot as plt ...@@ -2,7 +2,34 @@ import matplotlib.pyplot as plt
import numpy as np import numpy as np
import pandas as pd import pandas as pd
# from loess.loess_1d import loess_1d # from loess.loess_1d import loess_1d
from constant import ALPHABET_UNMOD_REV
ALPHABET_UNMOD = {
"": 0,
"A": 1,
"C": 2,
"D": 3,
"E": 4,
"F": 5,
"G": 6,
"H": 7,
"I": 8,
"K": 9,
"L": 10,
"M": 11,
"N": 12,
"P": 13,
"Q": 14,
"R": 15,
"S": 16,
"T": 17,
"V": 18,
"W": 19,
"Y": 20,
"OxM": 21,
"CaC": 22
}
ALPHABET_UNMOD_REV = {v: k for k, v in ALPHABET_UNMOD.items()}
# def align(dataset, reference, column_dataset, column_ref, seq_data, seq_ref): # def align(dataset, reference, column_dataset, column_ref, seq_data, seq_ref):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment