from dnaToolkit import *
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns

class model:

	def __init__(self):
		print("loading file ....")
		self.dna = load_file("GRCh38_latest_genomic.fna")
		print("file loaded")

	def validate_dna(self):
		self.validate = {}
		for i in self.dna:
			temp = validate(i.seq)
			self.validate[i.description] = temp

	def countFreq(self):
		self.Freq = {}
		for i in self.dna:
			temp = countFreq(i.seq)
			self.Freq[i.description] = temp
from dnaToolkit import *
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns

class model:

	def __init__(self):
		print("loading file ....")
		self.dna = load_file("GRCh38_latest_genomic.fna")
		print("file loaded")

	def validate_dna(self):
		self.validate = {}
		for i in self.dna:
			temp = validate(i.seq)
			self.validate[i.description] = temp

	def countFreq(self):
		self.Freq = {}
		for i in self.dna:
			temp = countFreq(i.seq)
			self.Freq[i.description] = temp