New split lib workflow

We need to:
- [ ] check that meta-analysis is still working
- [ ] finish preprocessing (split libs) connect per prep template
- [ ] make preprocessing async
- [ ] be able to connect to other studies raw data
- [ ] fix metadata summary per prep template
- [ ] add EBI submission
Is `d` always a 2-element `tuple`? If so, can you expand in the forloop please?

The `sorted` call appears to be on the `option value`, which looks like its the path. What is the benefit of the sort? Without it, the logic simplifies a lot. Same comments for `filetypes` belo