-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
321 additions
and
200 deletions.
There are no files selected for viewing
32 changes: 17 additions & 15 deletions
32
resources/auxiliary_workflows/benchmark/resources/local_haplotype_setup/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,29 @@ | ||
# Local haplotype reconstruction benchmark | ||
|
||
This repository stores the scripts and notebooks used to conduct the benchmark study presented in the manuscript: XXX | ||
|
||
To reproduce the benchmark study and create the figures presented in the manuscript, use the following instructions: | ||
1. Clone the repository of V-pipe 3.0 into your working directory: | ||
``` | ||
git clone https://github.com/cbg-ethz/V-pipe.git | ||
``` | ||
```shell | ||
git clone https://github.com/cbg-ethz/V-pipe.git | ||
``` | ||
2. Go into the directory of the benchmarking study for the local haplotype reconstruction: | ||
``` | ||
cd V-pipe/resources/auxiliary_workflows/benchmark/resources/local_haplo_setup | ||
``` | ||
```shell | ||
cd V-pipe/resources/auxiliary_workflows/benchmark/resources/local_haplo_setup | ||
``` | ||
3. The parameters to reproduce the synthetic datasets are in the parameter files `config_xxx/params.csv` with the configuration file `config_xxx/config.yaml` where simulation mode, replicate number and methods to be executed are defined. | ||
4. The methods to execute must be define in a Python script in this directory: | ||
``` | ||
V-pipe/resources/auxiliary_workflows/benchmark/resources/method_definitions. | ||
``` | ||
```shell | ||
V-pipe/resources/auxiliary_workflows/benchmark/resources/method_definitions. | ||
``` | ||
5. Now the workflow is ready, go back to the directory | ||
``` | ||
cd V-pipe/resources/auxiliary_workflows/benchmark/resources/local_haplo_setup | ||
``` | ||
```shell | ||
cd V-pipe/resources/auxiliary_workflows/benchmark/resources/local_haplo_setup | ||
``` | ||
6. To install the needed Conda environments execute: | ||
``` | ||
snakemake --conda-create-envs-only --use-conda -c1 | ||
``` | ||
```shell | ||
snakemake --conda-create-envs-only --use-conda -c1 | ||
``` | ||
7. To submit the workflow to a lsf-cluster execute `./run_workflow.sh`, otherwise execute the workflow with `snakemake --use-conda -c1` | ||
8. The workflow will provide the results in the directory `results`. | ||
9. When the workflow has terminated and all result files were generated, figures from the manuscript can be generated by executing the notebooks in `workflow/notebooks/`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...enchmark/resources/local_haplotype_setup/workflow/scripts/performance_measures_runtime.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.