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

Update doc links #32

Merged
merged 9 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/docs-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Pull Request Docs Check"
run-name: "Docs Check 📑📝"

on:
- pull_request

jobs:
docs-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ammaraskar/sphinx-action@0.4
with:
docs-folder: "docs/"

docs-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ammaraskar/sphinx-action@0.4
with:
docs-folder: "docs/"
build-command: "make linkcheck"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ If you are running on an computing cluster, you will need a [profile](https://gi

### Run the preprocessing pipeline on VCF files

Instructions [here](https://github.com/PMBio/deeprvat/blob/main/deeprvat/docs/preprocessing.md)
Instructions [here](https://github.com/PMBio/deeprvat/blob/main/docs/preprocessing.md)


### Annotate variants

Instructions [here](https://github.com/PMBio/deeprvat/blob/main/deeprvat/docs/annotations.md)
Instructions [here](https://github.com/PMBio/deeprvat/blob/main/docs/annotations.md)



Expand Down
7 changes: 5 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

from datetime import datetime

project = "DeepRVAT"
copyright = "2023, Clarke, B., Holtkamp, E., Öztürk, H., Mück, M., Wahlberg, M., Meyer, K., Brechtmann, F., Hölzlwimmer, F. R., Gagneur, J., & Stegle, O"
copyright = f"{datetime.now().year}, Clarke, B., Holtkamp, E., Öztürk, H., Mück, M., Wahlberg, M., Meyer, K., Brechtmann, F., Hölzlwimmer, F. R., Gagneur, J., & Stegle, O"
author = "Clarke, B., Holtkamp, E., Öztürk, H., Mück, M., Wahlberg, M., Meyer, K., Brechtmann, F., Hölzlwimmer, F. R., Gagneur, J., & Stegle, O"
release = "0.1.0"
version = "0.1.0"
release = version

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
16 changes: 8 additions & 8 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
## Installation

1. Clone this repository:
```
```shell
git clone git@github.com:PMBio/deeprvat.git
```
1. Change directory to the repository: `cd deeprvat`
1. Install the conda environment. We recommend using [mamba](https://mamba.readthedocs.io/en/latest/index.html), though you may also replace `mamba` with `conda`

*note: [the current deeprvat env does not support cuda when installed with conda](https://github.com/PMBio/deeprvat/issues/16), install using mamba for cuda support.*
```
```shell
mamba env create -n deeprvat -f deeprvat_env.yaml
```
1. Activate the environment: `mamba activate deeprvat`
1. Install the `deeprvat` package: `pip install -e .`

If you don't want to install the gpu related requirements use the `deeprvat_env_no_gpu.yml` environment instead.
```
```shell
mamba env create -n deeprvat -f deeprvat_env_no_gpu.yaml
```

Expand All @@ -28,23 +28,23 @@ mamba env create -n deeprvat -f deeprvat_env_no_gpu.yaml

Before running any of the snakefiles, you may want to adjust the number of threads used by different steps in the pipeline. To do this, modify the `threads:` property of a given rule.

If you are running on an computing cluster, you will need a [profile](https://github.com/snakemake-profiles) and may need to add `resources:` directives to the snakefiles.
If you are running on a computing cluster, you will need a [profile](https://github.com/snakemake-profiles) and may need to add `resources:` directives to the snakefiles.


### Run the preprocessing pipeline on VCF files

Instructions [here](https://github.com/PMBio/deeprvat/blob/main/deeprvat/preprocessing/README.md)
Instructions [here](preprocessing.md)


### Annotate variants

Instructions [here](https://github.com/PMBio/deeprvat/blob/main/deeprvat/annotations/README.md)
Instructions [here](annotations.md)



### Try the full training and association testing pipeline on some example data

```
```shell
mkdir example
cd example
ln -s [path_to_deeprvat]/example/* .
Expand All @@ -58,7 +58,7 @@ Note that the example data is randomly generated, and so is only suited for test

### Run the association testing pipeline with pretrained models

```
```shell
mkdir example
cd example
ln -s [path_to_deeprvat]/example/* .
Expand Down