Datasets:
ArXiv:
License:
hz3519
commited on
Commit
·
d1c891b
1
Parent(s):
68e1473
new code snippets
Browse files- .ipynb_checkpoints/README-checkpoint.md +5 -7
- README.md +5 -7
.ipynb_checkpoints/README-checkpoint.md
CHANGED
@@ -13,8 +13,6 @@ High-confidence scored pairs were chosen based on parameters such as sequence le
|
|
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:
|
@@ -25,11 +23,11 @@ import numpy as np
|
|
25 |
|
26 |
data = np.load('data_0.npy', allow_pickle=True).tolist()
|
27 |
|
28 |
-
# Convert nested dictionary to flat
|
29 |
flat_data = []
|
30 |
-
for
|
31 |
-
for
|
32 |
-
flat_data.append([
|
33 |
|
34 |
# Convert list of lists to DataFrame
|
35 |
df = pd.DataFrame(flat_data, columns=['Target', 'Complementary peptide', 'Count'])
|
@@ -89,7 +87,7 @@ The AlphaFold 2 Beta Strand Database is made available under the terms of the MI
|
|
89 |
|
90 |
#### Citing this Database
|
91 |
|
92 |
-
If you
|
93 |
|
94 |
Below are the BibTeX entries for our paper:
|
95 |
|
|
|
13 |
|
14 |
## Data Instances and loading
|
15 |
|
|
|
|
|
16 |
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.
|
17 |
|
18 |
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:
|
|
|
23 |
|
24 |
data = np.load('data_0.npy', allow_pickle=True).tolist()
|
25 |
|
26 |
+
# Convert nested dictionary to flat data
|
27 |
flat_data = []
|
28 |
+
for target, inner_dict in data.items():
|
29 |
+
for comp, count in inner_dict.items():
|
30 |
+
flat_data.append([target, comp, count])
|
31 |
|
32 |
# Convert list of lists to DataFrame
|
33 |
df = pd.DataFrame(flat_data, columns=['Target', 'Complementary peptide', 'Count'])
|
|
|
87 |
|
88 |
#### Citing this Database
|
89 |
|
90 |
+
If you use 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:
|
91 |
|
92 |
Below are the BibTeX entries for our paper:
|
93 |
|
README.md
CHANGED
@@ -13,8 +13,6 @@ High-confidence scored pairs were chosen based on parameters such as sequence le
|
|
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:
|
@@ -25,11 +23,11 @@ import numpy as np
|
|
25 |
|
26 |
data = np.load('data_0.npy', allow_pickle=True).tolist()
|
27 |
|
28 |
-
# Convert nested dictionary to flat
|
29 |
flat_data = []
|
30 |
-
for
|
31 |
-
for
|
32 |
-
flat_data.append([
|
33 |
|
34 |
# Convert list of lists to DataFrame
|
35 |
df = pd.DataFrame(flat_data, columns=['Target', 'Complementary peptide', 'Count'])
|
@@ -89,7 +87,7 @@ The AlphaFold 2 Beta Strand Database is made available under the terms of the MI
|
|
89 |
|
90 |
#### Citing this Database
|
91 |
|
92 |
-
If you
|
93 |
|
94 |
Below are the BibTeX entries for our paper:
|
95 |
|
|
|
13 |
|
14 |
## Data Instances and loading
|
15 |
|
|
|
|
|
16 |
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.
|
17 |
|
18 |
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:
|
|
|
23 |
|
24 |
data = np.load('data_0.npy', allow_pickle=True).tolist()
|
25 |
|
26 |
+
# Convert nested dictionary to flat data
|
27 |
flat_data = []
|
28 |
+
for target, inner_dict in data.items():
|
29 |
+
for comp, count in inner_dict.items():
|
30 |
+
flat_data.append([target, comp, count])
|
31 |
|
32 |
# Convert list of lists to DataFrame
|
33 |
df = pd.DataFrame(flat_data, columns=['Target', 'Complementary peptide', 'Count'])
|
|
|
87 |
|
88 |
#### Citing this Database
|
89 |
|
90 |
+
If you use 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:
|
91 |
|
92 |
Below are the BibTeX entries for our paper:
|
93 |
|