def pool_func(filename):
    curr_DIR = DIR + filename
    os.chdir(curr_DIR)
    reads = parser.parse_fasta(filename)
    scores = computealignment.compute_scores(reads, filename)
    computealignment.write_align_file(filename, scores)
    createtsp.write_full_atsp(filename, len(reads), scores)
def create_full_atsp(file: str, circular=False) -> None:
    current_file = file.split('.score')[0] + '_full'
    print(current_file)
    nr_of_reads, scores = read_score_file.read_score_file(file)
    scores[scores < MINIMAL_OVERLAP_SCORE] = -BIG_M_WEIGHT
    createtsp.write_full_atsp(current_file, nr_of_reads, scores, circular)
def create_full_atsp_via_scores_with_big_M(outputfile: str, scores: np.ndarray, circular=False) -> None:
    nr_of_reads = len(scores)
    scores[scores < MINIMAL_OVERLAP_SCORE] = -BIG_M_WEIGHT
    createtsp.write_full_atsp(outputfile, nr_of_reads, scores, circular)