Add a new "dependencies" section to the upload form.
Add a new optional renderDependencySelector to the upload form config, which will take a specific Props interface which will include a value and an onChange handler.
Make a new ReferenceOrganismDependencySelector component to use in (2) above.
Genomics site need new upload forms:
Both RNA-Seq and BigWig will need a section for users to choose a reference genome, which will be included as a dataset dependency (see
meta.dependencies
at https://veupathdb.github.io/vdi-service/vdi-api.html#resources:/vdi-datasets:post).There are two parts involved here:
renderDependencySelector
to the upload form config, which will take a specific Props interface which will include avalue
and anonChange
handler.