elixir-europe / MARS

Multi-Repository Data Submission using ISA-JSON
MIT License
5 stars 4 forks source link

Samples are brokered more than once #8

Open kdp-cloud opened 5 months ago

kdp-cloud commented 5 months ago

When submitting to ENA, after submitting to BioSamples, samples are brokered again to BioSample, thus getting again an accession number as is shown in the screenshot. image

I'm also not completely sure that both the sources and samples need to get a separate accession number. But this might require so more discussion...

Assuming that asking for ENA not to broker samples to BioSamples is not an option, could it be possible for the ENA web-API to also return the BioSamples accession numbers in the response?

Proposed solution:

apriltuesday commented 5 months ago

ENA submission should allow passing in existing BioSamples accessions, the brokering code should pass these existing accessions to each target repository (perhaps it already does, in which case maybe ENA's conversion service needs to be adjusted). This should maybe be mentioned in the repository service specification.

Otherwise the same issue will occur for many if not all EBI repositories (it certainly will for EVA).