Skip to content
Snippets Groups Projects
Commit 54ad5b1b authored by Studer Gabriel's avatar Studer Gabriel
Browse files

workdir must be passed as absolute path

This is an inconvience in the ost hhblits binding which I plan to fix asap.
To avoid waiting for a new ost release, we just provide a documentation
solution here.
parent 7f2e66cb
No related branches found
No related tags found
No related merge requests found
......@@ -22,11 +22,12 @@ sudo docker run --workdir $(pwd) -v $(pwd):$(pwd) -v <PATH_TO_LOCAL_UNICLUST>:/u
Normally, the container creates a temporary directory to store intermediate
results. If you want to investigate them, or access the sequence profiles,
you can provide a working dir as argument. A directory gets created in the
working dir for each unique SEQRES named after the md5 hash of the SEQRES:
you can provide a working dir as argument (must be absolute path).
A directory gets created in the working dir for each unique SEQRES named after
the md5 hash of the SEQRES:
```terminal
sudo docker run --workdir $(pwd) -v $(pwd):$(pwd) -v <PATH_TO_LOCAL_UNICLUST>:/uniclust30 registry.scicore.unibas.ch/schwede/qmean:4.2.0 run_qmean.py model.pdb --method QMEAN --seqres targets.fasta --profiles query_hhblits_one.a3m query_hhblits_two.a3m --workdir my_workdir
sudo docker run --workdir $(pwd) -v $(pwd):$(pwd) -v <PATH_TO_LOCAL_UNICLUST>:/uniclust30 registry.scicore.unibas.ch/schwede/qmean:4.2.0 run_qmean.py model.pdb --method QMEAN --seqres targets.fasta --profiles query_hhblits_one.a3m query_hhblits_two.a3m --workdir $(pwd)/my_workdir
```
So far we only computed the QMEAN scoring function. QMEANDisCo includes
......
......@@ -26,10 +26,11 @@ sudo docker run --workdir $(pwd) -v $(pwd):$(pwd) -v <PATH_TO_LOCAL_UNICLUST>:/u
Normally, the container creates a temporary directory to store intermediate
results. If you want to investigate them, or access the sequence profiles,
you can provide a working dir as argument. A directory gets created in the
working dir for each unique SEQRES named after the md5 hash of the SEQRES:
you can provide a working dir as argument (must be absolute path).
A directory gets created in the working dir for each unique SEQRES named
after the md5 hash of the SEQRES:
```terminal
sudo docker run --workdir $(pwd) -v $(pwd):$(pwd) -v <PATH_TO_LOCAL_UNICLUST>:/uniclust30 registry.scicore.unibas.ch/schwede/qmean:4.2.0 run_qmean.py original_hhblits_alignment.pdb shift_in_front_helix_four.pdb shift_into_middle.pdb shift_towards_cter.pdb --method QMEANBrane --seqres targets.fasta --profiles query_hhblits.a3m --workdir my_workdir
sudo docker run --workdir $(pwd) -v $(pwd):$(pwd) -v <PATH_TO_LOCAL_UNICLUST>:/uniclust30 registry.scicore.unibas.ch/schwede/qmean:4.2.0 run_qmean.py original_hhblits_alignment.pdb shift_in_front_helix_four.pdb shift_into_middle.pdb shift_towards_cter.pdb --method QMEANBrane --seqres targets.fasta --profiles query_hhblits.a3m --workdir $(pwd)/my_workdir
```
......@@ -875,7 +875,7 @@ def _parse_args():
dest="workdir",
default=None,
help="Location for intermediate output, normally temporary. If given, "
+ "output remains for debug purposes",
+ "output remains for debug purposes. Path must be absolute.",
)
parser.add_argument(
"--datefilter", dest="datefilter", default=None, help="Debug purposes"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment