dnadna predict from a list of files
Currently, to run prediction on many files under different folder, we need to use:
dnadna predict pretrained_SPIDNA/pretrained_SPIDNA_net.pth $(cat file_list) -o result.csv
This is fine in tutorial, but in real life, if we have a very long file list, bash won't cat
it because it gets an Argument list too long
.
It would be better to have the possibility to pass the list of file and that dnadna
process them by batches.
e.g.
dnadna predict pretrained_SPIDNA/pretrained_SPIDNA_net.pth -f file_list -o result.csv