Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add license to bedfiles #51

Closed
3 tasks done
khoroshevskyi opened this issue May 8, 2024 · 4 comments
Closed
3 tasks done

Add license to bedfiles #51

khoroshevskyi opened this issue May 8, 2024 · 4 comments
Milestone

Comments

@khoroshevskyi
Copy link
Member

khoroshevskyi commented May 8, 2024

  • Add table of licenses.
  • Connect each bed record to a particular license.
  • Show this information in the BED metadata for each record. (ui)
@khoroshevskyi
Copy link
Member Author

License table should look like:
name, url
cc-by-4.0, https://creativecommons.org/licenses/by/4.0/
cc-by-nc-4.0, https://creativecommons.org/licenses/by-nc/4.0/


or : https://github.com/EBISPOT/DUO

@khoroshevskyi
Copy link
Member Author

khoroshevskyi commented May 13, 2024

To find DUO license use this website: https://www.ebi.ac.uk/ols4/ontologies/duo

Have few questions:

  • How to get metadata (annotation) about each class/ data use condition? (by using owlready2 (python library))
  • How to restrict it in bedbase?

https://github.com/EBISPOT/DUO/blob/master/duo.csv

@nsheff
Copy link
Member

nsheff commented May 24, 2024

just do this:

  • allow us to annotate each bed file with one of these terms: https://github.com/EBISPOT/DUO/blob/master/duo.csv
  • display which term is connected, on each bed and bedset page
  • flag stuff from GEO as GRU by default; so everything will just be GRU for now.
  • make bedboss able to use a different one, from an input pep that drives it.

@khoroshevskyi khoroshevskyi changed the title Add license to bedsets Add license to bedfiles May 24, 2024
@nsheff nsheff added this to the v0.6.0 milestone May 24, 2024
@khoroshevskyi
Copy link
Member Author

For db migration use this:

-- ALTER TABLE licenses
-- ADD CONSTRAINT unique_license_id UNIQUE (id);

ALTER TABLE bed
ADD COLUMN license_id CHARACTER VARYING;

ALTER TABLE bed
ADD CONSTRAINT fk_licese
FOREIGN KEY (license_id) REFERENCES licenses(id);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants