databio / bedbase

Aggregate, analyze, and serve genomic regions.
http://bedbase.org/
4 stars 0 forks source link

File changed from bed3+0 to bed6+4? #79

Open jwokaty opened 1 month ago

jwokaty commented 1 month ago

I noticed that the bed file associated with b7cb28278e4cba2dc62e51ddc70cfbfb used to be a bed3+0 file and now it's a bed6+4 file. I only know it's different because I have copy on an old laptop that had 3 columns and I used this id in a test for bedbaser, which is now failing because it expected a bed3+0 file.

I see there are dates of submission and last updated in the metadata, but they're the same. Is submission date not the date the file entered into bedbase?

Is common that files can change like this and is there some kind of version associated with a file?

khoroshevskyi commented 1 month ago

That's very interesting. ~I'm not sure why it changed~, but you're right—two different files with the same regions were uploaded.

You've found a significant bug in our code—thank you! It seems bbclient incorrectly cached files from the link. We will address this as soon as possible.

Regarding the BED files, they shouldn't change overall. Right now, we’re adding additional metadata to the database, and I’m re-uploading all the files. That’s why some metadata may appear different. Unfortunately, a few files may have been provided incorrectly—apologies for that.

I see there are dates of submission and last updated in the metadata, but they're the same. Is submission date not the date the file entered into bedbase?

The submission and last updated dates are the same because I overwrote the entire record

Is common that files can change like this and is there some kind of version associated with a file?

That’s a great question. We don’t currently have a solution for file versioning, but I’ve created a separate issue to address this. #80