Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/download_mgnify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ BASENAME=$(basename "${SOURCE_URL}")
mkdir --parents "${ROOT_DIR}"
aria2c "${SOURCE_URL}" --dir="${ROOT_DIR}"
pushd "${ROOT_DIR}"
gunzip "${ROOT_DIR}/${BASENAME}"
gunzip "${BASENAME}"
popd
2 changes: 1 addition & 1 deletion scripts/download_small_bfd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ BASENAME=$(basename "${SOURCE_URL}")
mkdir --parents "${ROOT_DIR}"
aria2c "${SOURCE_URL}" --dir="${ROOT_DIR}"
pushd "${ROOT_DIR}"
gunzip "${ROOT_DIR}/${BASENAME}"
gunzip "${BASENAME}"
popd
10 changes: 5 additions & 5 deletions scripts/download_uniprot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ mkdir --parents "${ROOT_DIR}"
aria2c "${TREMBL_SOURCE_URL}" --dir="${ROOT_DIR}"
aria2c "${SPROT_SOURCE_URL}" --dir="${ROOT_DIR}"
pushd "${ROOT_DIR}"
gunzip "${ROOT_DIR}/${TREMBL_BASENAME}"
gunzip "${ROOT_DIR}/${SPROT_BASENAME}"
gunzip "${TREMBL_BASENAME}"
gunzip "${SPROT_BASENAME}"

# Concatenate TrEMBL and SwissProt, rename to uniprot and clean up.
cat "${ROOT_DIR}/${SPROT_UNZIPPED_BASENAME}" >> "${ROOT_DIR}/${TREMBL_UNZIPPED_BASENAME}"
mv "${ROOT_DIR}/${TREMBL_UNZIPPED_BASENAME}" "${ROOT_DIR}/uniprot.fasta"
rm "${ROOT_DIR}/${SPROT_UNZIPPED_BASENAME}"
cat "${SPROT_UNZIPPED_BASENAME}" >> "${TREMBL_UNZIPPED_BASENAME}"
mv "${TREMBL_UNZIPPED_BASENAME}" "uniprot.fasta"
rm "${SPROT_UNZIPPED_BASENAME}"
popd
2 changes: 1 addition & 1 deletion scripts/download_uniref90.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ BASENAME=$(basename "${SOURCE_URL}")
mkdir --parents "${ROOT_DIR}"
aria2c "${SOURCE_URL}" --dir="${ROOT_DIR}"
pushd "${ROOT_DIR}"
gunzip "${ROOT_DIR}/${BASENAME}"
gunzip "${BASENAME}"
popd