databio / bedboss

Python pipeline for processing BED files for BEDbase
https://docs.bedbase.org
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Use pephubclient to create new bedset, as View #32

Closed khoroshevskyi closed 6 months ago

khoroshevskyi commented 7 months ago

Now, each bedset row includes a column containing the PEP's registry path that was provided to the bedbuncher for bedset creation. Moving forward, bedsets will be stored as Views in PEPHub (metadata) and statistics in the bedbase database.

To create a View, you can use the following example code:

phc.view.create(namespace, name, tag, view_name, list_of_sample_names)
# or
phc.view.add_sample(namespace, name, tag, view_name, sample_name)

Additionally, functionality should be incorporated to delete a sample from the view.