Giter Site home page Giter Site logo

Comments (3)

spencer411 avatar spencer411 commented on June 28, 2024 1

use the file from the docker github instead:
https://github.com/deepmind/alphafold/blob/main/scripts/download_pdb_mmcif.sh

from alphafold.

AlenGhzau avatar AlenGhzau commented on June 28, 2024

the problem may caused by the comments code of the script download_pdb_mmcif.sh:

# rsync --recursive --links --perms --times --compress --info=progress2 --delete --port=33444 \
#   rsync.rcsb.org::ftp_data/structures/divided/mmCIF/ \
#   "${RAW_DIR}"

# rsync --recursive --links --perms --times --compress --info=progress2 --delete --port=33444 \
#   data.pdbj.org::ftp_data/structures/divided/mmCIF/ \
#   "${RAW_DIR}"

make one of them uncommentted, and then the work goes on
if you want to go on the task ,you need to edit the download_all_data.sh and comment the previous code like this

`echo "Downloading AlphaFold parameters..."
#bash "${SCRIPT_DIR}/download_alphafold_params.sh" "${DOWNLOAD_DIR}"

echo "Downloading BFD..."
#bash "${SCRIPT_DIR}/download_bfd.sh" "${DOWNLOAD_DIR}"

echo "Downloading MGnify..."
#bash "${SCRIPT_DIR}/download_mgnify.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}"

echo "Downloading Uniclust30..."
bash "${SCRIPT_DIR}/download_uniclust30.sh" "${DOWNLOAD_DIR}"

echo "Downloading Uniref90..."
bash "${SCRIPT_DIR}/download_uniref90.sh" "${DOWNLOAD_DIR}"

end

from alphafold.

jruhym avatar jruhym commented on June 28, 2024

@kuixu thanks for this non-docker solution.
Might I suggest:

  1. un-commenting one of the download lines that @AlenGhzau mentioned. You can leave a comment above them stating what the difference is.
  2. If download of these files is not desired to be the default behavior, you could comment out the line in the download-all script that calls the mmCIF-specific script and add a comment above stating that, if one wants these files, to uncomment this line and to look at the mmCIF-specific download script to select from which DB the user wants those files
  3. Add a line in the README informing the user of these choices.

OR a cleaner way might be to implement an optional input parameter to the download-all script that is a enum of options like [-m <none|rcsb|japan>] where none is default, say.

from alphafold.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.