hz3519 commited on
Commit
68e1473
·
1 Parent(s): 1f9b9c7

Database readme file update

Browse files
Files changed (2) hide show
  1. .ipynb_checkpoints/README-checkpoint.md +120 -0
  2. README.md +112 -56
.ipynb_checkpoints/README-checkpoint.md ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ ---
4
+
5
+
6
+ # AlphaFold 2 Beta Strand Database
7
+
8
+ ## Dataset Summary and Creation
9
+
10
+ The AlphaFold 2 (AF2) Beta Strand Database is a database for high-confidence scored beta strand pairs as predicted by Alphafold 2, a revolutionary protein structure prediction system. All 214 million protein structures from the Alphafold Protein Structure Database (Alphafold DB) were analyzed and well-aligned pairs of amino acid sequences, which exhibited beta-strand conformations, were collected using specific criteria. The database consists of 1,532,767,459 beta strand pairs, reduced to 488,153,783 unique pairs after combining repeated instances. In this database, approximately 74.9% of pairs are anti-parallel, while 25.1% are parallel.
11
+
12
+ High-confidence scored pairs were chosen based on parameters such as sequence lengths of at least three residues, a predicted Local-Distance Difference Test (pLDDT) score of 70 or more for all residues, and a Predicted Aligned Error (PAE) score of less than or equal to 10 for facing residues. These selection criteria are instrumental in maintaining accurate backbone predictions and minimizing the inclusion of inaccurate residue pairs. This database can be used for various applications, including but not limited to, generative model training, predictive algorithm development, and in-depth beta strand studies
13
+
14
+ ## Data Instances and loading
15
+
16
+ Here we give an example usage of the database, assumming you downloaded AF2_Beta_Strand_Database/antiparallel/length_10/data_0.npy and placed it under your current directory. Here is an example of loading the data and result by printing the first 30 entries.
17
+
18
+ The AF2 Beta Strand Database's entries comprise three key components: (1) Target sequence: a beta sheet sequence as labeled by Alphafold 2, captured in the N-to-C terminus direction; (2) Complementary peptide sequence: the sequence that pairs with the target sequence in a face to face orientation (For parallel pairs: N-to-C terminus. For antiparallel pairs: C-to-N terminus); (3) Count: the frequency of repeated pair occurrences. Type information (antiparallel or parallel beta strand pairs) is contained in the data file name.
19
+
20
+ For an instance of database usage, consider the scenario where you have downloaded AF2_Beta_Strand_Database/antiparallel/length_10/data_0.npy and placed it under your current directory. Here's how to load the data and display the first 30 entries:
21
+
22
+ ```python
23
+ import pandas as pd
24
+ import numpy as np
25
+
26
+ data = np.load('data_0.npy', allow_pickle=True).tolist()
27
+
28
+ # Convert nested dictionary to flat "record" style data
29
+ flat_data = []
30
+ for outer_key, inner_dict in data.items():
31
+ for inner_key, value in inner_dict.items():
32
+ flat_data.append([outer_key, inner_key, value])
33
+
34
+ # Convert list of lists to DataFrame
35
+ df = pd.DataFrame(flat_data, columns=['Target', 'Complementary peptide', 'Count'])
36
+ print(df[:30])
37
+ ```
38
+ | Target | Complementary peptide | Count |
39
+ |--------------|-----------------------|-------|
40
+ | ASLVMAVVIN | NHCVVLGWLR | 358 |
41
+ | ASLVMAVVIN | HHCVVLGWLK | 124 |
42
+ | ASLVMAVVIN | HHCVLLGWLK | 1 |
43
+ | ASLVMAVVIN | NHCVVLGWLM | 1 |
44
+ | ASLVMAVVIN | NHCVVLGWLK | 17 |
45
+ | ASLVMAVVIN | HHCVVLGWLR | 32 |
46
+ | ASLVMAVVIN | HHCVVLGRLK | 1 |
47
+ | ASLVMAVVIN | HHSVILGWLR | 2 |
48
+ | ASLVMAVVIN | DHCVVLGWLR | 1 |
49
+ | ASLVMAVVIN | NHCVVLGWLG | 1 |
50
+ | ASLVMAVVIN | HHCVVSGWLK | 1 |
51
+ | ASLVMAVVIN | HHCVLLGWLR | 1 |
52
+ | ASLVMAVVIN | HHCVVMGWLR | 1 |
53
+ | ASLVMAVVIN | NHCVLLGWLR | 2 |
54
+ | ASLVMAVVIN | NHCVVLDWLR | 1 |
55
+ | ASLVMAVVIN | HHCGVLGWLK | 1 |
56
+ | RLWGLVVCHN | NIVVAMVLSA | 358 |
57
+ | RLWGLVVCHN | NVVVAMVLSA | 624 |
58
+ | RLWGLVVCHN | NVIVAMVLSA | 57 |
59
+ | RLWGLVVCHN | KVVVALVLSA | 25 |
60
+ | RLWGLVVCHN | KVVVAMVLSA | 4 |
61
+ | RLWGLVVCHN | NVVVSMVLSA | 63 |
62
+ | RLWGLVVCHN | NIVVSMVMSA | 1 |
63
+ | RLWGLVVCHN | NIVVAMVLSS | 4 |
64
+ | RLWGLVVCHN | NVVIAMVLSA | 4 |
65
+ | RLWGLVVCHN | NIVVAMVFSA | 3 |
66
+ | RLWGLVVCHN | NIIVAMVLSA | 2 |
67
+ | RLWGLVVCHN | NMVVAMVLSA | 1 |
68
+ | RLWGLVVCHN | NVVASMVLSA | 1 |
69
+ | RLWGLVVCHN | NVVVGMVLSA | 3 |
70
+
71
+
72
+ ## Additional information
73
+
74
+ #### Dataset curator
75
+ Haowen Zhao, haowen.zhao19@alumni.imperial.ac.uk
76
+
77
+ #### More information about this project
78
+ For detailed insight into TransformerBeta, we suggest referring to our research paper (yet to be released).
79
+
80
+ To use TransformerBeta effortlessly without installation, visit: [TransformerBeta on Google Colab](https://colab.research.google.com/github/HZ3519/TransformerBeta/blob/main/notebooks/peptide_design_colab.ipynb)
81
+
82
+ To install TransformerBeta locally for your projects, visit: [TransformerBeta on Github](https://github.com/HZ3519/TransformerBeta).
83
+
84
+ For accessing the model weights and corresponding training, validation, and test sets mentioned in the paper, refer to: [TransformerBeta on Huggingface](https://huggingface.co/hz3519/TransformerBeta).
85
+
86
+ #### License
87
+
88
+ The AlphaFold 2 Beta Strand Database is made available under the terms of the MIT License.
89
+
90
+ #### Citing this Database
91
+
92
+ If you utilize this database in your research, we kindly request that you cite our paper. We also recommend citing the foundational AlphaFold papers, as our database was constructed based on their work:
93
+
94
+ Below are the BibTeX entries for our paper:
95
+
96
+ Below are the BibTeX entries for the AlphaFold papers:
97
+
98
+ ```bibtex
99
+ @article{jumper2021highly,
100
+ title={Highly accurate protein structure prediction with AlphaFold},
101
+ author={Jumper, John and Evans, Richard and Pritzel, Alexander and Green, Tim and Figurnov, Michael and Ronneberger, Olaf and Tunyasuvunakool, Kathryn and Bates, Russ and {\v{Z}}{\'\i}dek, Augustin and Potapenko, Anna and others},
102
+ journal={Nature},
103
+ volume={596},
104
+ number={7873},
105
+ pages={583--589},
106
+ year={2021},
107
+ publisher={Nature Publishing Group UK London}
108
+ }
109
+
110
+ @article{varadi2022alphafold,
111
+ title={AlphaFold Protein Structure Database: massively expanding the structural coverage of protein-sequence space with high-accuracy models},
112
+ author={Varadi, Mihaly and Anyango, Stephen and Deshpande, Mandar and Nair, Sreenath and Natassia, Cindy and Yordanova, Galabina and Yuan, David and Stroe, Oana and Wood, Gemma and Laydon, Agata and others},
113
+ journal={Nucleic acids research},
114
+ volume={50},
115
+ number={D1},
116
+ pages={D439--D444},
117
+ year={2022},
118
+ publisher={Oxford University Press}
119
+ }
120
+ ```
README.md CHANGED
@@ -3,62 +3,118 @@ license: mit
3
  ---
4
 
5
 
6
- # {Dataset Name}
7
 
8
- ## Table of Contents
9
- - [Dataset Description](#dataset-description)
10
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
11
- - [Languages](#languages)
12
- - [Dataset Structure](#dataset-structure)
13
- - [Data Instances](#data-instances)
14
- - [Data Fields](#data-fields)
15
- - [Data Splits](#data-splits)
16
- - [Dataset Creation](#dataset-creation)
17
- - [License](#license)
18
- - [References](#references)
19
 
20
- ## Dataset Description
21
 
22
- - **Homepage:**
23
- - **Repository:**
24
- - **Paper:**
25
- - **Leaderboard:**
26
- - **Point of Contact:**
27
-
28
- ### Dataset Summary
29
-
30
- {Provide a detailed description of your dataset here.}
31
-
32
- ## Supported Tasks and Leaderboards
33
-
34
- {Describe the tasks that the dataset supports and any relevant leaderboards here.}
35
-
36
- ## Languages
37
-
38
- {List the languages used in the dataset here.}
39
-
40
- ## Dataset Structure
41
-
42
- ### Data Instances
43
-
44
- {Provide an example of a data instance here.}
45
-
46
- ### Data Fields
47
-
48
- {Describe the data fields here.}
49
-
50
- ### Data Splits
51
-
52
- {Describe the data splits here.}
53
-
54
- ## Dataset Creation
55
-
56
- {Provide details on how the dataset was created, including who created it, when it was created, and any preprocessing that was done.}
57
-
58
- ## License
59
-
60
- {Provide licensing information here.}
61
-
62
- ## References
63
-
64
- - {List any relevant references or sources here.}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
4
 
5
 
6
+ # AlphaFold 2 Beta Strand Database
7
 
8
+ ## Dataset Summary and Creation
 
 
 
 
 
 
 
 
 
 
9
 
10
+ The AlphaFold 2 (AF2) Beta Strand Database is a database for high-confidence scored beta strand pairs as predicted by Alphafold 2, a revolutionary protein structure prediction system. All 214 million protein structures from the Alphafold Protein Structure Database (Alphafold DB) were analyzed and well-aligned pairs of amino acid sequences, which exhibited beta-strand conformations, were collected using specific criteria. The database consists of 1,532,767,459 beta strand pairs, reduced to 488,153,783 unique pairs after combining repeated instances. In this database, approximately 74.9% of pairs are anti-parallel, while 25.1% are parallel.
11
 
12
+ High-confidence scored pairs were chosen based on parameters such as sequence lengths of at least three residues, a predicted Local-Distance Difference Test (pLDDT) score of 70 or more for all residues, and a Predicted Aligned Error (PAE) score of less than or equal to 10 for facing residues. These selection criteria are instrumental in maintaining accurate backbone predictions and minimizing the inclusion of inaccurate residue pairs. This database can be used for various applications, including but not limited to, generative model training, predictive algorithm development, and in-depth beta strand studies
13
+
14
+ ## Data Instances and loading
15
+
16
+ Here we give an example usage of the database, assumming you downloaded AF2_Beta_Strand_Database/antiparallel/length_10/data_0.npy and placed it under your current directory. Here is an example of loading the data and result by printing the first 30 entries.
17
+
18
+ The AF2 Beta Strand Database's entries comprise three key components: (1) Target sequence: a beta sheet sequence as labeled by Alphafold 2, captured in the N-to-C terminus direction; (2) Complementary peptide sequence: the sequence that pairs with the target sequence in a face to face orientation (For parallel pairs: N-to-C terminus. For antiparallel pairs: C-to-N terminus); (3) Count: the frequency of repeated pair occurrences. Type information (antiparallel or parallel beta strand pairs) is contained in the data file name.
19
+
20
+ For an instance of database usage, consider the scenario where you have downloaded AF2_Beta_Strand_Database/antiparallel/length_10/data_0.npy and placed it under your current directory. Here's how to load the data and display the first 30 entries:
21
+
22
+ ```python
23
+ import pandas as pd
24
+ import numpy as np
25
+
26
+ data = np.load('data_0.npy', allow_pickle=True).tolist()
27
+
28
+ # Convert nested dictionary to flat "record" style data
29
+ flat_data = []
30
+ for outer_key, inner_dict in data.items():
31
+ for inner_key, value in inner_dict.items():
32
+ flat_data.append([outer_key, inner_key, value])
33
+
34
+ # Convert list of lists to DataFrame
35
+ df = pd.DataFrame(flat_data, columns=['Target', 'Complementary peptide', 'Count'])
36
+ print(df[:30])
37
+ ```
38
+ | Target | Complementary peptide | Count |
39
+ |--------------|-----------------------|-------|
40
+ | ASLVMAVVIN | NHCVVLGWLR | 358 |
41
+ | ASLVMAVVIN | HHCVVLGWLK | 124 |
42
+ | ASLVMAVVIN | HHCVLLGWLK | 1 |
43
+ | ASLVMAVVIN | NHCVVLGWLM | 1 |
44
+ | ASLVMAVVIN | NHCVVLGWLK | 17 |
45
+ | ASLVMAVVIN | HHCVVLGWLR | 32 |
46
+ | ASLVMAVVIN | HHCVVLGRLK | 1 |
47
+ | ASLVMAVVIN | HHSVILGWLR | 2 |
48
+ | ASLVMAVVIN | DHCVVLGWLR | 1 |
49
+ | ASLVMAVVIN | NHCVVLGWLG | 1 |
50
+ | ASLVMAVVIN | HHCVVSGWLK | 1 |
51
+ | ASLVMAVVIN | HHCVLLGWLR | 1 |
52
+ | ASLVMAVVIN | HHCVVMGWLR | 1 |
53
+ | ASLVMAVVIN | NHCVLLGWLR | 2 |
54
+ | ASLVMAVVIN | NHCVVLDWLR | 1 |
55
+ | ASLVMAVVIN | HHCGVLGWLK | 1 |
56
+ | RLWGLVVCHN | NIVVAMVLSA | 358 |
57
+ | RLWGLVVCHN | NVVVAMVLSA | 624 |
58
+ | RLWGLVVCHN | NVIVAMVLSA | 57 |
59
+ | RLWGLVVCHN | KVVVALVLSA | 25 |
60
+ | RLWGLVVCHN | KVVVAMVLSA | 4 |
61
+ | RLWGLVVCHN | NVVVSMVLSA | 63 |
62
+ | RLWGLVVCHN | NIVVSMVMSA | 1 |
63
+ | RLWGLVVCHN | NIVVAMVLSS | 4 |
64
+ | RLWGLVVCHN | NVVIAMVLSA | 4 |
65
+ | RLWGLVVCHN | NIVVAMVFSA | 3 |
66
+ | RLWGLVVCHN | NIIVAMVLSA | 2 |
67
+ | RLWGLVVCHN | NMVVAMVLSA | 1 |
68
+ | RLWGLVVCHN | NVVASMVLSA | 1 |
69
+ | RLWGLVVCHN | NVVVGMVLSA | 3 |
70
+
71
+
72
+ ## Additional information
73
+
74
+ #### Dataset curator
75
+ Haowen Zhao, haowen.zhao19@alumni.imperial.ac.uk
76
+
77
+ #### More information about this project
78
+ For detailed insight into TransformerBeta, we suggest referring to our research paper (yet to be released).
79
+
80
+ To use TransformerBeta effortlessly without installation, visit: [TransformerBeta on Google Colab](https://colab.research.google.com/github/HZ3519/TransformerBeta/blob/main/notebooks/peptide_design_colab.ipynb)
81
+
82
+ To install TransformerBeta locally for your projects, visit: [TransformerBeta on Github](https://github.com/HZ3519/TransformerBeta).
83
+
84
+ For accessing the model weights and corresponding training, validation, and test sets mentioned in the paper, refer to: [TransformerBeta on Huggingface](https://huggingface.co/hz3519/TransformerBeta).
85
+
86
+ #### License
87
+
88
+ The AlphaFold 2 Beta Strand Database is made available under the terms of the MIT License.
89
+
90
+ #### Citing this Database
91
+
92
+ If you utilize this database in your research, we kindly request that you cite our paper. We also recommend citing the foundational AlphaFold papers, as our database was constructed based on their work:
93
+
94
+ Below are the BibTeX entries for our paper:
95
+
96
+ Below are the BibTeX entries for the AlphaFold papers:
97
+
98
+ ```bibtex
99
+ @article{jumper2021highly,
100
+ title={Highly accurate protein structure prediction with AlphaFold},
101
+ author={Jumper, John and Evans, Richard and Pritzel, Alexander and Green, Tim and Figurnov, Michael and Ronneberger, Olaf and Tunyasuvunakool, Kathryn and Bates, Russ and {\v{Z}}{\'\i}dek, Augustin and Potapenko, Anna and others},
102
+ journal={Nature},
103
+ volume={596},
104
+ number={7873},
105
+ pages={583--589},
106
+ year={2021},
107
+ publisher={Nature Publishing Group UK London}
108
+ }
109
+
110
+ @article{varadi2022alphafold,
111
+ title={AlphaFold Protein Structure Database: massively expanding the structural coverage of protein-sequence space with high-accuracy models},
112
+ author={Varadi, Mihaly and Anyango, Stephen and Deshpande, Mandar and Nair, Sreenath and Natassia, Cindy and Yordanova, Galabina and Yuan, David and Stroe, Oana and Wood, Gemma and Laydon, Agata and others},
113
+ journal={Nucleic acids research},
114
+ volume={50},
115
+ number={D1},
116
+ pages={D439--D444},
117
+ year={2022},
118
+ publisher={Oxford University Press}
119
+ }
120
+ ```