Open chrtannus opened 3 weeks ago
Linking the images directly from the Aerts Lab collection doesn't work with the images export, because of a CORS error:
Access to fetch at 'https://motifcollections.aertslab.org/v9/logos/homer__GCACGTACCC_HIF2a.png' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
One alternative is to copy the images to our server.
Options:
Copy all the image files from the Aerts Lab motif collections or from the iRegulon Cy3 app:
Use an API such as JASPAR:
Use cross-referencing resources like CIS-BP or UniProt to search by transcription factor or gene and retrieve motifs in different formats; then use a JS library to generate the sequence logo.