from libs.io import from_file from libs.io import to_file from libs.trans import matches from libs.inst import dna from libs.const import DNA_NUCLEOTIDES to_file(matches(dna(from_file("datasets/0")), DNA_NUCLEOTIDES), "outputs/0", ' ')
from libs.io import from_file from libs.io import to_file from libs.trans import evolve from libs.inst import popul from libs.seq import fib to_file(evolve(popul(from_file("datasets/4", ' ', cast=int)), fib), "outputs/4")
from libs.io import from_file from libs.io import to_file from libs.trans import convert from libs.rna import RNA from libs.inst import dna to_file(convert(dna(from_file("datasets/1")), RNA), "outputs/1")
from libs.io import from_file from libs.io import to_file from libs.trans import rev_complement from libs.inst import dna to_file(rev_complement(dna(from_file("datasets/2"))), "outputs/2")
from libs.gen import Allele from libs.io import from_file from libs.io import to_file from libs.trans import combine from libs.gen import Genotypes from libs.inst import gens to_file( combine(Genotypes, gens(from_file("datasets/3", ' ')), Allele.DOMINANT), "outputs/3")