ISA-tools / BioInvIndex

The web application, model, database persistence, services package and web services for the BII. Led by Eamonn Maguire (Uni. of Oxford) & Philippe Rocca-Serra (Uni. of Oxford).
http://www.isa-tools.org
16 stars 13 forks source link

More flexible use of the data locations file #30

Closed eamonnmag closed 13 years ago

eamonnmag commented 13 years ago

At present, there can only be one data locations record for each assay type.

However, it would be good to support multiple data-locations, since not all submissions will have an ArrayExpress accession, some may have GEO accessions or none at all. In this case, it would be good to have support for multiple records in the data-locations.xml for each assay type, and for the web application to resolve the appropriate data location record depending on the AE, GEO, PRIDE, etc. accession provided in the ISAtab.

See https://gist.github.com/987525 for what a data-locations.xml would look like with the different repository locations. Depending on the accession found, the web application will automatically pick up the correct link to use.