# Path: alfpy/utils/seqrecords.py
# class SeqRecords:
#     def __init__(self, id_list=None, seq_list=None):
#     def add(self, seqid, seq):
#     def fasta(self, wrap=70):
#     def length_list(self):
#     def __iter__(self):
#     def __len__(self):
#     def __repr__(self):
# def read_fasta(handle):
# def main():
# 
# Path: alfpy/version.py



import hashlib
import os
import subprocess
from alfpy.utils import seqrecords
from alfpy import __version__
            os.remove(output_filename)
        md5 = calc_md5(result)
        return returncode, result, md5


class ScriptsWordCommonTest(ScriptsCommonTest):

    @classmethod
    def set_test_data(cls):
        ScriptsCommonTest.set_test_data()
        cls.filename_char_weights = get_test_data('char_weights.txt')
        cls.filename_char_freqs = get_test_data('char_freqs.txt')
        cls.filename_pep_1mer_wordpos = get_test_data(
            'pep.fa.1mer.wordpos.txt')
        cls.filename_pep_1mer = get_test_data('pep.fa.1mer.txt')        
        cls.filename_pep_2mer_wordpos = get_test_data(
            'pep.fa.2mer.wordpos.txt')
        cls.filename_pep_2mer = get_test_data('pep.fa.2mer.txt')
        cls.filename_pep_3mer_wordpos = get_test_data(
            'pep.fa.3mer.wordpos.txt')
        cls.filename_pep_3mer = get_test_data('pep.fa.3mer.txt')

class ModulesCommonTest:

    @classmethod
    def set_test_data(cls):
        fh = open(get_test_data('dna.fa'))
        cls.dna_records = seqrecords.read_fasta(fh)
        fh.close()
        fh = open(get_test_data('pep.fa'))

# Path: alfpy/utils/seqrecords.py
# class SeqRecords:
#     def __init__(self, id_list=None, seq_list=None):
#     def add(self, seqid, seq):
#     def fasta(self, wrap=70):
#     def length_list(self):
#     def __iter__(self):
#     def __len__(self):
#     def __repr__(self):
# def read_fasta(handle):
# def main():
# 
# Path: alfpy/version.py



# Path: tests/utils.py
import hashlib
import os
import subprocess
from alfpy.utils import seqrecords
from alfpy import __version__

            os.remove(output_filename)
        md5 = calc_md5(result)
        return returncode, result, md5


class ScriptsWordCommonTest(ScriptsCommonTest):

    @classmethod
    def set_test_data(cls):
        ScriptsCommonTest.set_test_data()
        cls.filename_char_weights = get_test_data('char_weights.txt')
        cls.filename_char_freqs = get_test_data('char_freqs.txt')
        cls.filename_pep_1mer_wordpos = get_test_data(
            'pep.fa.1mer.wordpos.txt')
        cls.filename_pep_1mer = get_test_data('pep.fa.1mer.txt')        
        cls.filename_pep_2mer_wordpos = get_test_data(
            'pep.fa.2mer.wordpos.txt')
        cls.filename_pep_2mer = get_test_data('pep.fa.2mer.txt')
        cls.filename_pep_3mer_wordpos = get_test_data(
            'pep.fa.3mer.wordpos.txt')
        cls.filename_pep_3mer = get_test_data('pep.fa.3mer.txt')

class ModulesCommonTest:

    @classmethod
    def set_test_data(cls):
        fh = open(get_test_data('dna.fa'))
        cls.dna_records = seqrecords.read_fasta(fh)
        fh.close()
        fh = open(get_test_data('pep.fa'))

        cls.pep_records = seqrecords.read_fasta(fh)