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
fc7bb8a3
Commit
fc7bb8a3
authored
Aug 09, 2022
by
Gustaf Ahdritz
Browse files
Fix bug in flattening script
parent
8881b210
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
scripts/flatten_roda.sh
scripts/flatten_roda.sh
+1
-3
No files found.
scripts/flatten_roda.sh
View file @
fc7bb8a3
...
@@ -27,9 +27,7 @@ for chain_dir in $(ls "${RODA_DIR}"); do
...
@@ -27,9 +27,7 @@ for chain_dir in $(ls "${RODA_DIR}"); do
CHAIN_DIR_PATH
=
"
${
RODA_DIR
}
/
${
chain_dir
}
"
CHAIN_DIR_PATH
=
"
${
RODA_DIR
}
/
${
chain_dir
}
"
for
subdir
in
$(
ls
"
${
CHAIN_DIR_PATH
}
"
)
;
do
for
subdir
in
$(
ls
"
${
CHAIN_DIR_PATH
}
"
)
;
do
if
[[
$subdir
=
"pdb"
]]
||
[[
$subdir
=
"cif"
]]
;
then
if
[[
$subdir
=
"pdb"
]]
||
[[
$subdir
=
"cif"
]]
;
then
CHAIN_DATA_DIR
=
"
${
DATA_DIR
}
/
${
chain_dir
}
"
mv
"
${
CHAIN_DIR_PATH
}
/
${
subdir
}
"
/
*
"
${
DATA_DIR
}
"
mkdir
-p
"
${
CHAIN_DATA_DIR
}
"
mv
"
${
CHAIN_DIR_PATH
}
/
${
subdir
}
"
/
*
"
${
CHAIN_DATA_DIR
}
"
else
else
CHAIN_ALIGNMENT_DIR
=
"
${
ALIGNMENT_DIR
}
/
${
chain_dir
}
"
CHAIN_ALIGNMENT_DIR
=
"
${
ALIGNMENT_DIR
}
/
${
chain_dir
}
"
mkdir
-p
"
${
CHAIN_ALIGNMENT_DIR
}
"
mkdir
-p
"
${
CHAIN_ALIGNMENT_DIR
}
"
...
...
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