objective is to fit the payload in the lowest number of blocks, but all blocks must be the same size after addition of non coding stuff (primer/buffer/overhang/bsaI)
"""
#TODO
binary_string=convert_file_to_bits(input_path)# get the binary string representing the file content
#binary_string = input_path #TODO REMOVE
if (len(binary_string)+CHECK_SUM_SIZE)%8in[1,4,6]:# add a non coding 0 when size of incompatible length for dna conversion
binary_string="0"+binary_string
dna_payload_size=bdc.size_dna_from_bit_len_abaab(len(binary_string)+CHECK_SUM_SIZE)# length of the payload after conversion in dna
# possibility to add a non coding base at the end of the sequence to make the last block at correct size when it is not possible to do by adding bits of 0 (very rare case)
add_base_at_end=False
# round the number of base per blocks, make sure it is above the minimal block size