Use the HTS workflow API to figure out the library tree.