BrentLab / yeastdnnexplorer

A development environment to explore implementations of deep neural networks for predicting the relationship between transcription factor and target genes using binding and perturbation data
https://brentlab.github.io/yeastdnnexplorer/
Other
0 stars 3 forks source link

Endpoints that return tsv need to read files in as tsv #93

Open cmatKhan opened 4 months ago

cmatKhan commented 4 months ago

https://github.com/BrentLab/yeastdnnexplorer/blob/93083c32ac365ebab1121a419ba0cd3475522c83/yeastdnnexplorer/interface/AbstractRecordsAndFilesAPI.py#L211

This needs to be corrected in the database endpoint, also -- if the file is a tsv/bed/etc it needs to be saved with the same extension. Right now it is getting read in incorrectly and then saved as a csv.

It would be fine to make sure that it is getting read in correctly in the database, saved as a csv and then sent as a csv

cmatKhan commented 4 months ago

https://github.com/cmatKhan/yeastregulatorydb/blob/11de34cf413e3e9761eb6d276a88ed1149ea6519/yeastregulatorydb/regulatory_data/api/views/mixins/RetrieveRecordsAndFilesMixin.py#L45