The Pipy version of the code yields some coding errors in the python script (toxinpred2.py) when the input sequences is only 1, that I managed to fix with the following replacements. Please feel free to use them as you want.
Line 82: data_test = np.loadtxt(file_name, delimiter=',')
data_test = np.loadtxt(file_name, delimiter=',', ndmin=2)
Also, I have noticed that the way this code calculates the aac is way more inefficient than the same code for toxinpred3. So substituting the aac_comp function with the new toxinpred3 version accelerates the code remarkably.
There are probably other ways to fix it, I have seen other software of yours that have similar codes but that actually work.
Best wishes.
The Pipy version of the code yields some coding errors in the python script (toxinpred2.py) when the input sequences is only 1, that I managed to fix with the following replacements. Please feel free to use them as you want.
Line 82: data_test = np.loadtxt(file_name, delimiter=',')
data_test = np.loadtxt(file_name, delimiter=',', ndmin=2)
Also, I have noticed that the way this code calculates the aac is way more inefficient than the same code for toxinpred3. So substituting the aac_comp function with the new toxinpred3 version accelerates the code remarkably.
There are probably other ways to fix it, I have seen other software of yours that have similar codes but that actually work.
Best wishes.