Skip to content

Commit

Permalink
Fix example prepare script for new directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
lczech committed Jul 11, 2024
1 parent 3af3dc6 commit 358e03a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Known Variants and Regions
==============

For testing purposes, we here also include a `known-variants.vcf.gz` file that can be used
to constrain the variant calling process. This file is based on the [1001 Genomes](https://www.1001genomes.org/) dataset,
to constrain the variant calling process. This file is based on the [1001 Genomes](https://www.1001genomes.org/) dataset,
and subset to serve for exemplary and test purposes (see `known-variants.sh` for the subsetting steps if you are interested).

Furthermore, for testing, we provide a simple `regions.bed` file that restricts the calling process
Expand All @@ -48,8 +48,8 @@ Pipeline

To analyze this exemplary dataset, follow these steps:

* First, copy the `config.yaml` for the main grenepipe directory into this example directory.
* Then set the file paths in `config.yaml` and `samples.tsv` to fit with where grenepipe is located.
* First, copy the file `./config/config.yaml` into this example directory.
* Then set the file paths in `config.yaml` and `samples.tsv` to match where this `example` directory is located.

Alternative to these two steps, simply call `prepare.sh`, which does these steps automatically.

Expand Down
2 changes: 1 addition & 1 deletion example/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cd "$(dirname "$0")"
DIR=`pwd -P $(dirname "$0")`

# Copy the config file
cp ../config.yaml ./config.yaml
cp ../config/config.yaml ./config.yaml

# Replace paths in config file
sed -i.bak -e "s?/path/to/data?${DIR}?g" config.yaml
Expand Down

0 comments on commit 358e03a

Please sign in to comment.