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
78e79962
Commit
78e79962
authored
Nov 29, 2021
by
Gustaf Ahdritz
Browse files
Fix bugs in MMseqs DB script
parent
fdf836f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
scripts/prep_mmseqs_dbs.sh
scripts/prep_mmseqs_dbs.sh
+2
-2
No files found.
scripts/prep_mmseqs_dbs.sh
View file @
78e79962
...
@@ -23,14 +23,14 @@ DOWNLOAD_DIR="$1"
...
@@ -23,14 +23,14 @@ DOWNLOAD_DIR="$1"
for
f
in
$(
ls
${
DOWNLOAD_DIR
}
/
*
.tar.gz
)
for
f
in
$(
ls
${
DOWNLOAD_DIR
}
/
*
.tar.gz
)
do
do
tar
--extract
--verbose
--file
=
"
${
DOWNLOAD_DIR
}
/
${
f
}
"
\
tar
--extract
--verbose
--file
=
"
${
f
}
"
\
--directory
=
"
${
DOWNLOAD_DIR
}
/mmseqs_dbs"
--directory
=
"
${
DOWNLOAD_DIR
}
/mmseqs_dbs"
rm
"
${
f
}
"
rm
"
${
f
}
"
BASENAME
=
"
$(
basename
{
f%%.
*
}
)
"
BASENAME
=
"
$(
basename
{
f%%.
*
}
)
"
DB_NAME
=
"
${
BASENAME
}
_db"
DB_NAME
=
"
${
BASENAME
}
_db"
OLD_PWD
=
$(
pwd
)
OLD_PWD
=
$(
pwd
)
cd
"
${
DOWNLOAD_DIR
}
/mmseqs_dbs"
cd
"
${
DOWNLOAD_DIR
}
/mmseqs_dbs"
mmseqs t
ar
2exprofiledb
"
${
BASENAME
}
"
"
${
DB_NAME
}
"
mmseqs t
sv
2exprofiledb
"
${
BASENAME
}
"
"
${
DB_NAME
}
"
mmseqs createindex
"
${
DB_NAME
}
"
"
${
DOWNLOAD_DIR
}
/tmp/"
mmseqs createindex
"
${
DB_NAME
}
"
"
${
DOWNLOAD_DIR
}
/tmp/"
cd
"
${
OLD_PWD
}
"
cd
"
${
OLD_PWD
}
"
done
done
...
...
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