Merge branch 'main' of https://huggingface.co/datasets/rmauder/IsItABarrel
Browse files- .gitingnore +2 -0
- README.md +88 -3
.gitingnore
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
data/*
|
| 2 |
+
intermediate/*
|
README.md
CHANGED
|
@@ -1,3 +1,88 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
license: agpl-3.0
|
| 4 |
+
#size_categories:
|
| 5 |
+
pretty_name: 'IsItABarrel Database'
|
| 6 |
+
tags:
|
| 7 |
+
- biology
|
| 8 |
+
- chemistry
|
| 9 |
+
dataset_summary: a curated database of approximately two million bacterial transmembrane beta barrels (TMBBs)
|
| 10 |
+
#dataset_description:
|
| 11 |
+
#acknowledgements:
|
| 12 |
+
repo: rmauder/IsItABarrel
|
| 13 |
+
citation_bibtex:
|
| 14 |
+
-@article{Montezano2023,
|
| 15 |
+
title = {General features of transmembrane beta barrels from a large database},
|
| 16 |
+
volume = {120},
|
| 17 |
+
ISSN = {1091-6490},
|
| 18 |
+
url = {http://dx.doi.org/10.1073/pnas.2220762120},
|
| 19 |
+
DOI = {10.1073/pnas.2220762120},
|
| 20 |
+
number = {29},
|
| 21 |
+
journal = {Proceedings of the National Academy of Sciences},
|
| 22 |
+
publisher = {Proceedings of the National Academy of Sciences},
|
| 23 |
+
author = {Montezano, Daniel and Bernstein, Rebecca and Copeland, Matthew M. and Slusky, Joanna S. G.},
|
| 24 |
+
year = {2023},
|
| 25 |
+
month = jul}
|
| 26 |
+
citation_apa:
|
| 27 |
+
-Montezano, D., Bernstein, R., Copeland, M. M., & Slusky, J. S. G. (2023). General features of transmembrane beta barrels from a large database. Proceedings of the National Academy of Sciences of the United States of America, 120(29), e2220762120. doi:10.1073/pnas.2220762120
|
| 28 |
+
|
| 29 |
+
---
|
| 30 |
+
# IsItABarrel
|
| 31 |
+
a searchable curated database of approximately two million bacterial transmembrane beta barrels (TMBBs)
|
| 32 |
+
|
| 33 |
+
## QuickStart Usage
|
| 34 |
+
|
| 35 |
+
### Install HuggingFace Datasets package
|
| 36 |
+
|
| 37 |
+
Each subset can be loaded into python using the HuggingFace [datasets] (https://huggingface.co/docs/datasets/index) library. First, from the command line install the 'datsets' library
|
| 38 |
+
$ pip install datasets
|
| 39 |
+
|
| 40 |
+
Optionally set the cache directory, e.g.
|
| 41 |
+
$ HF\_HOME=${HOME}/.cache/huggingface/
|
| 42 |
+
$ export HF\_HOME
|
| 43 |
+
|
| 44 |
+
then, from within python load the datasets library
|
| 45 |
+
\>\>\> import datasets
|
| 46 |
+
|
| 47 |
+
### Load model datasets
|
| 48 |
+
|
| 49 |
+
To load one of the IsItABarrel model datasets, use 'datasets.load_datase(...)':
|
| 50 |
+
|
| 51 |
+
\>\>\> dataset\_tag \= "\<DATASET TAG\>"
|
| 52 |
+
\>\>\> dataset \= datasets.load\_dataset(
|
| 53 |
+
path \= "\<HF PATH TO DATASET\>",
|
| 54 |
+
name \= f"{dataset\_tag}",
|
| 55 |
+
data\_dir \= f"{dataset\_tag}")\['train'\]
|
| 56 |
+
|
| 57 |
+
and the dataset is loaded as a 'datasets.arrow_dataset.Dataset'
|
| 58 |
+
|
| 59 |
+
\>\>\> dataset
|
| 60 |
+
\<RESULT OF LOADING DATASET MODEL\>
|
| 61 |
+
|
| 62 |
+
Which is a column oriented format that can be accessed directly, converted in to a 'pandas.DataFrame', or 'parquet' format, e.g.
|
| 63 |
+
|
| 64 |
+
\>\>\> dataset.data.column('\<COLUMN NAME IN DATASET\>')
|
| 65 |
+
\>\>\> dataset.to\_pandas()
|
| 66 |
+
\>\>\> dataset.to\_parquet("dataset.parquet")
|
| 67 |
+
|
| 68 |
+
### <BREIF EXAMPLE OF HOW TO USE DIFFERENT PARTS OF THE DATASET>
|
| 69 |
+
|
| 70 |
+
## Dataset Details
|
| 71 |
+
|
| 72 |
+
### Dataset Description <DETAILED DESCRIPTION OF DATASET>
|
| 73 |
+
|
| 74 |
+
- **Acknowledgements:** <ACKNOWLEDGEMENTS>
|
| 75 |
+
|
| 76 |
+
- **License:** agpl-3.0
|
| 77 |
+
|
| 78 |
+
### Dataset Sources - **Repository:** <https://isitabarrel.ku.edu/search> - **Paper:** <citation>
|
| 79 |
+
|
| 80 |
+
## Uses <DESCRIPTION OF INTENDED USE OF DATASET>
|
| 81 |
+
|
| 82 |
+
### Out-of-Scope Use <DESCRIPTION OF OUT OF SCOPE USES OF DATASET>
|
| 83 |
+
|
| 84 |
+
### Source Data <DESCRIPTION OF SOURCE DATA>
|
| 85 |
+
|
| 86 |
+
## Citation <BIBTEX REFERENCE FOR DATASET>
|
| 87 |
+
|
| 88 |
+
## Dataset Card Authors
|