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
71fabe1e
Commit
71fabe1e
authored
Dec 10, 2021
by
Gustaf Ahdritz
Browse files
Fix mmseqs script bug
parent
f9e04aa0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
scripts/prep_mmseqs_dbs.sh
scripts/prep_mmseqs_dbs.sh
+4
-2
No files found.
scripts/prep_mmseqs_dbs.sh
View file @
71fabe1e
...
@@ -20,16 +20,18 @@
...
@@ -20,16 +20,18 @@
set
-e
set
-e
DOWNLOAD_DIR
=
"
$1
"
DOWNLOAD_DIR
=
"
$1
"
ROOT_DIR
=
"
${
DOWNLOAD_DIR
}
/mmseqs_dbs"
mkdir
-p
$ROOT_DIR
for
f
in
$(
ls
${
DOWNLOAD_DIR
}
/
*
.tar.gz
)
for
f
in
$(
ls
${
DOWNLOAD_DIR
}
/
*
.tar.gz
)
do
do
tar
--extract
--verbose
--file
=
"
${
f
}
"
\
tar
--extract
--verbose
--file
=
"
${
f
}
"
\
--directory
=
"
${
DOWNLOAD_DIR
}
/mmseqs_dbs"
--directory
=
$ROOT_DIR
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
$ROOT_DIR
mmseqs tsv2exprofiledb
"
${
BASENAME
}
"
"
${
DB_NAME
}
"
mmseqs tsv2exprofiledb
"
${
BASENAME
}
"
"
${
DB_NAME
}
"
mmseqs createindex
"
${
DB_NAME
}
"
"
${
DOWNLOAD_DIR
}
/tmp/"
mmseqs createindex
"
${
DB_NAME
}
"
"
${
DOWNLOAD_DIR
}
/tmp/"
cd
"
${
OLD_PWD
}
"
cd
"
${
OLD_PWD
}
"
...
...
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