Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
OpenFold
Commits
f8f74006
Commit
f8f74006
authored
Jun 17, 2022
by
Gustaf Ahdritz
Browse files
Move parameter downloads
parent
9d09bdb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
scripts/download_data.sh
scripts/download_data.sh
+5
-3
scripts/install_third_party_dependencies.sh
scripts/install_third_party_dependencies.sh
+5
-2
No files found.
scripts/download_data.sh
View file @
f8f74006
...
...
@@ -39,13 +39,15 @@ fi
SCRIPT_DIR
=
"
$(
dirname
"
$(
realpath
"
$0
"
)
"
)
"
echo
"Downloading AlphaFold parameters..."
bash
"
${
SCRIPT_DIR
}
/download_alphafold_params.sh"
"
${
DOWNLOAD_DIR
}
"
echo
"Downloading PDB70..."
bash
"
${
SCRIPT_DIR
}
/download_pdb70.sh"
"
${
DOWNLOAD_DIR
}
"
echo
"Downloading PDB mmCIF files..."
bash
"
${
SCRIPT_DIR
}
/download_pdb_mmcif.sh"
"
${
DOWNLOAD_DIR
}
"
if
[[
-d
openfold/resources/params
]]
;
then
ln
-s
openfold/resources/params
"
${
DOWNLOAD_DIR
}
/params"
ln
-s
openfold/resources/openfold_params
"
${
DOWNLOAD_DIR
}
/params"
fi
echo
"All data downloaded."
scripts/install_third_party_dependencies.sh
View file @
f8f74006
...
...
@@ -31,8 +31,11 @@ wget -q -P openfold/resources \
mkdir
-p
tests/test_data/alphafold/common
ln
-rs
openfold/resources/stereo_chemical_props.txt tests/test_data/alphafold/common
# Download pretrained openfold weights
scripts/download_alphafold_params.sh openfold/resources
echo
"Downloading OpenFold parameters..."
bash scripts/download_openfold_params.sh openfold/resources
echo
"Downloading AlphaFold parameters..."
bash scripts/download_alphafold_params.sh openfold/resources
# Decompress test data
gunzip
tests/test_data/sample_feats.pickle.gz
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment