Download model/mpnn_fr/ProteinMPNN/examples/submit_example_2.sh from OneScience-Group/dl_binder_design: direct link, hf CLI and curl.
- Browser
- Download file 987 Bytes
-
https://huggingface.co/OneScience-Group/dl_binder_design/resolve/main/model/mpnn_fr/ProteinMPNN/examples/submit_example_2.sh
- Command line
-
hf download hf://OneScience-Group/dl_binder_design/model/mpnn_fr/ProteinMPNN/examples/submit_example_2.sh
-
curl -L -o submit_example_2.sh https://huggingface.co/OneScience-Group/dl_binder_design/resolve/main/model/mpnn_fr/ProteinMPNN/examples/submit_example_2.sh
987 Bytes
| #SBATCH -p gpu | |
| #SBATCH --mem=32g | |
| #SBATCH --gres=gpu:rtx2080:1 | |
| #SBATCH -c 2 | |
| #SBATCH --output=example_2.out | |
| source activate mlfold | |
| folder_with_pdbs="../inputs/PDB_complexes/pdbs/" | |
| output_dir="../outputs/example_2_outputs" | |
| if [ ! -d $output_dir ] | |
| then | |
| mkdir -p $output_dir | |
| fi | |
| path_for_parsed_chains=$output_dir"/parsed_pdbs.jsonl" | |
| path_for_assigned_chains=$output_dir"/assigned_pdbs.jsonl" | |
| chains_to_design="A B" | |
| python ../helper_scripts/parse_multiple_chains.py --input_path=$folder_with_pdbs --output_path=$path_for_parsed_chains | |
| python ../helper_scripts/assign_fixed_chains.py --input_path=$path_for_parsed_chains --output_path=$path_for_assigned_chains --chain_list "$chains_to_design" | |
| python ../protein_mpnn_run.py \ | |
| --jsonl_path $path_for_parsed_chains \ | |
| --chain_id_jsonl $path_for_assigned_chains \ | |
| --out_folder $output_dir \ | |
| --num_seq_per_target 2 \ | |
| --sampling_temp "0.1" \ | |
| --seed 37 \ | |
| --batch_size 1 | |