manulera / ShareYourCloning_backend

The backend application for ShareYourCloning
MIT License
1 stars 6 forks source link

Support Euroscarf as source for plasmids #175

Open dgruano opened 1 month ago

dgruano commented 1 month ago

I have worked with several plasmids coming from Euroscarf. I think it would be good to support importing these plasmids as a source!

However, note that I opened one of the .dna files from Euroscarf in Share Your Cloning and it gave the error Could not read the file XXX, and the console displayed Failed to load resource: the server responded with a status of 422 () ¨Method not allowed`.

I solved this by changing the extension from .dna to .gb. I am unsure whether we may encounter this problem with .dna files coming from other sources or whether SYC should check this in the background. Happy to open another issue if needed.

manulera commented 1 month ago

Thanks @dgruano, that's a great idea, and we can then contact them and maybe they can do an announcement if they have a mailing list or something similar.

You could do this integration similarly to the one from addgene (scraping). I don't think they have an API from what I can see.

A separate problem is calls to /read_from_file where the extension does not match the format. I opened a separate issue here: https://github.com/manulera/ShareYourCloning_frontend/issues/226

dgruano commented 1 month ago

I'm happy to make the integration. I also think that scraping is the way to go!