guma44/ushuffle

Segmentation fault

chegrane opened this issue · 0 comments

Hello

ushuffle work fine with one or small number of call to it.

In my case, I need to use it with on lot off files, each file have about 1200 DNA sequences of average length 150.

The method work, for few sequences , and then there is: "Segmentation fault" on linux, and "Process finished with exit code -1073741819 (0xC0000005)" on windows 10.

code example :

for f in list_files:
    list_seq = read_seq(f) 
    for seq in list_seq:
         res_seq = Shuffler(seq.encode('ascii'), 2).shuffle().decode('ascii')
         # do somthig with res_seq