Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order of program arguments #4

Open
filipsPL opened this issue Jan 10, 2022 · 0 comments
Open

Order of program arguments #4

filipsPL opened this issue Jan 10, 2022 · 0 comments

Comments

@filipsPL
Copy link

The order of arguments is not consistent across script(s), eg. in src/run.sh we have two orders of arguments:

First:

  echo "usage: $0 [receptor mol2: .mol2 file of receptor structure. Default: tests/input/receptor_ligand/receptor.mol2]
                  [ligand poses sd: .sd file containing all ligand posees. Default: tests/input/receptor_ligand/poses.sd]
                  [output file: where to save scores. Default: tests/score.txt]
                  [rmsd: 1, 1.5, 2, 2.5. Default: 2]
                  [eta: 2, 24, or 248 (2A, 2A and 4A, 2A 4A and 8A). Default: 248]
                  [stop frame: only score the first several poses. Default: -1 (using all frames)]"

(..., rmsd, eta, stop_frame)

And next:

    receptor=${1:-tests/input/1AM0/receptor.mol2}
    ligand=${2:-tests/input/1AM0/poses.sd}
    score=${3:-tests/output/1AM0.txt}
    stop_frame=${4:-"-1"}
    rmsd=${5:-2}
    eta=${6:-248}

(..., stop_frame, rmsd, eta)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant