Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
add a command to docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Coos Baakman committed Aug 5, 2021
1 parent 0ed01f5 commit d898e39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docker-compose-preprocess.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ services:
- "/home/cbaakman/deeprank-datasets:/datasets"
- "/home/cbaakman/pdb:/pdb"
- "/home/cbaakman/pssm-gen:/pssm-gen"
working_dir: /runs/run-mp
working_dir: /runs/run2
command: mpiexec -n 10 --allow-run-as-root /usr/src/app/scripts/preprocess_bioprodict.py /datasets/54e500aa7123e7f2f6ca4062db0e4fa4_efro_t96_25052021.parq /datasets/GPCR_variantsv2_increased_coverage.hdf5 /pdb /pssm-gen variants.hdf5
environment:
- MASTER_ADDR=0.0.0.0
- MASTER_PORT=1088
Expand Down
2 changes: 1 addition & 1 deletion scripts/preprocess_bioprodict.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
arg_parser.add_argument("pdb_root", help="the path to the pdb root directory")
arg_parser.add_argument("pssm_root", help="the path to the pssm root directory, containing files generated with PSSMgen")
arg_parser.add_argument("out_path", help="the path to the output hdf5 file")
arg_parser.add_argument("-A", "--data-augmentation", help="the number of data augmentations", type=int, default=0)
arg_parser.add_argument("-A", "--data-augmentation", help="the number of data augmentations", type=int, default=5)
arg_parser.add_argument("-p", "--grid-points", help="the number of points per edge of the 3d grid", type=int, default=20)
arg_parser.add_argument("-S", "--grid-size", help="the length in Angstroms of each edge of the 3d grid", type=float, default=20)

Expand Down

0 comments on commit d898e39

Please sign in to comment.