Skip to content

Commit 3427023

Browse files
committed
Change test to only run with --dry-run
1 parent 8022eb9 commit 3427023

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

Diff for: .github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ jobs:
4242
- name: Test workflow
4343
uses: snakemake/[email protected]
4444
with:
45-
directory: .
45+
directory: .test
4646
snakefile: workflow/Snakefile
47-
args: "--use-conda --show-failed-logs --cores 3 --conda-cleanup-pkgs cache --all-temp"
47+
args: "--dry-run --use-conda --show-failed-logs --cores 3 --conda-cleanup-pkgs cache --all-temp"
4848

4949
- name: Test report
5050
uses: snakemake/[email protected]

Diff for: .test/config.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
data:
2+
folder: ".test/data"
3+
4+
reference:
5+
folder: ".test/data"
6+
genome: "placeholder.fa"

Diff for: .test/data/placeholder.bam

Whitespace-only changes.

Diff for: .test/data/placeholder.fa

Whitespace-only changes.

Diff for: README.md

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# Snakemake workflow: `<name>`
1+
# Snakemake workflow: SNPs from RNA
22

33
[![Snakemake](https://img.shields.io/badge/snakemake-≥6.3.0-brightgreen.svg)](https://snakemake.github.io)
44
[![GitHub actions status](https://github.com/<owner>/<repo>/workflows/Tests/badge.svg?branch=main)](https://github.com/<owner>/<repo>/actions?query=branch%3Amain+workflow%3ATests)
55

66

7-
A Snakemake workflow for `<description>`
7+
A Snakemake workflow for the call of Single Nucleotide Polymorphisms (SNPs) from RNA-seq data.
8+
The workflow starts from aligned .bam files and outputs variants called by FreeBayes (or GATK's HaplotypeCaller) and annotated by VEP.
89

910

1011
## Usage
@@ -13,9 +14,3 @@ The usage of this workflow is described in the [Snakemake Workflow Catalog](http
1314

1415
If you use this workflow in a paper, don't forget to give credits to the authors by citing the URL of this (original) <repo>sitory and its DOI (see above).
1516

16-
# TODO
17-
18-
* Replace `<owner>` and `<repo>` everywhere in the template (also under .github/workflows) with the correct `<repo>` name and owning user or organization.
19-
* Replace `<name>` with the workflow name (can be the same as `<repo>`).
20-
* Replace `<description>` with a description of what the workflow does.
21-
* The workflow will occur in the snakemake-workflow-catalog once it has been made public. Then the link under "Usage" will point to the usage instructions if `<owner>` and `<repo>` were correctly set.

0 commit comments

Comments
 (0)