You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your ontology is on the list, please make a new notebook copy to document the curation process. This notebook should be added with a new PR in bionty-assets.
For ExperimentalFactor, you need to run bionty.base.entities._experimentalfactor.efo_to_df to create the DataFrame and save it to a parquet file named df_all__efo__<new version>__ExperimentalFactor.parquet.
Run it as bt.base.entities._experimentalfactor.efo_to_df(efo.to_pronto(), "efo", include_id_prefixes={'efo': ['EFO', 'http://www.ebi.ac.uk/efo/']}), where efo is an ExperimentalFactor object with the new version.
Ensure that the Source is registered:
Load laminlabs/bionty-assets and run bionty.core.sync_all_sources_to_latest()
Reload the instance via lamin load laminlabs/bionty-assets
Register these two files in laminlabs/bionty-assets lamindb instance following this example.
Please also track your ingestion notebook following the above example.
Please DO NOT directly upload to s3://bionty-assets!!!
Steps:
lamin close
before restarting your notebook.)df_xxxxx.parquet
andontology_xxxx
in your localbionty/base/_dynamic/
folder (inside your bionty repo).parquet
file, please check this list: https://bionty-assets-gczz.netlify.app/ingest/ExperimentalFactor
, you need to run bionty.base.entities._experimentalfactor.efo_to_df to create theDataFrame
and save it to aparquet
file nameddf_all__efo__<new version>__ExperimentalFactor.parquet
.Run it as
bt.base.entities._experimentalfactor.efo_to_df(efo.to_pronto(), "efo", include_id_prefixes={'efo': ['EFO', 'http://www.ebi.ac.uk/efo/']})
, whereefo
is anExperimentalFactor
object with the new version.Load laminlabs/bionty-assets and run
bionty.core.sync_all_sources_to_latest()
Reload the instance via
lamin load laminlabs/bionty-assets
laminlabs/bionty-assets
lamindb instance following this example.s3://bionty-assets
!!!🍱 New <entity_name>
version:<source_name>-<version_name>
new ontology
The text was updated successfully, but these errors were encountered: