Spaces:
Sleeping
Sleeping
Commit
·
c1132e6
1
Parent(s):
6943e39
Update code/main.py
Browse files- code/main.py +7 -0
code/main.py
CHANGED
|
@@ -2,6 +2,13 @@ import pdb_featureVector
|
|
| 2 |
import alphafold_featureVector
|
| 3 |
import argparse
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
parser = argparse.ArgumentParser(description='ASCARIS')
|
| 6 |
|
| 7 |
parser.add_argument('-s', '--source_option',
|
|
|
|
| 2 |
import alphafold_featureVector
|
| 3 |
import argparse
|
| 4 |
|
| 5 |
+
pdb_path= hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures",repo_type = 'dataset', filename=f"AF-A0A075B6Y9-F1-model_v4.pdb.gz")
|
| 6 |
+
import gzip
|
| 7 |
+
|
| 8 |
+
with gzip.open(pdb_path, mode="rt") as f:
|
| 9 |
+
file_content = f.read()
|
| 10 |
+
print(file_content)
|
| 11 |
+
|
| 12 |
parser = argparse.ArgumentParser(description='ASCARIS')
|
| 13 |
|
| 14 |
parser.add_argument('-s', '--source_option',
|