- Email: ashishfeb13@gmail.com, akj4@nyu.edu
alphafold pdb_mmcif_download on hpc without error
1# Slurm Script for Downloading MMCIF Data
This script uses Slurm directives to download mmCIF data from rsync mirrors. It fetches files from rsync.rcsb.org and saves them to a specified directory.
-
Set Up:
- Ensure the Slurm environment is available.
- Modify the script according to the destination directory where files will be downloaded (
/path/to-download-pdb_mmcif-data/
).
-
Script Execution:
- Submit the script to Slurm using
sbatch script.s
(replacescript.sh
with your actual script filename).
- Submit the script to Slurm using
-
Monitoring:
- Check the logs (
Job_%A_%a.out
andJob_%A_%a.err
) for download progress and errors. - Review the
log.txt
file for download start and finish times.
- Check the logs (
- Update the destination directory (
/path/to-download-pdb_mmcif-data/
) before execution. - Check Slurm documentation for any specific configurations required. ########### script ############## #!/bin/bash
####################################################
Contact: akj4@nyu.edu
####################################################
#SBATCH -o Job_%A_%a.out #SBATCH -e Job_%A_%a.err #SBATCH -n 1 #SBATCH --cpus-per-task=12 #SBATCH --mem=2GB #SBATCH --time=168:00:00 ## time for 7days 168:00:00 #SBATCH --job-name=alphafold #SBATCH --output=alphafold-download #SBATCH --mail-type=END #SBATCH --mail-user=
echo "-- Started pdb_mmcif files download at $(date)" > log.txt
rsync --bwlimit=1000 --timeout=600 --recursive --links --perms --times --compress --info=progress2 --delete --port=33444 rsync.rcsb.org::ftp_data/structures/divided/mmCIF/ /path/to-download-pdb_mmcif-data/
echo "-- Finished pdb_mmcif files download at $(date)" >> log.txt
##########################################################################################
Running rsync to fetch all mmCIF files (note that the rsync progress estimate might be inaccurate)...
or see https://www.wwpdb.org/ftp/pdb-ftp-sites for more download options.
##########################################################################################