generated from OpenOmics/baseline
-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (39 loc) · 1.4 KB
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: tests
on:
workflow_dispatch:
push:
branches:
- master
- main
pull_request:
branches_ignore: []
jobs:
Dry_Run_and_Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker://snakemake/snakemake:v5.24.2
- name: Dry Run with FastQ files
run: |
docker run -v $PWD:/opt2 snakemake/snakemake:v5.24.2 \
/opt2/assembly-seek run --input \
/opt2/.tests/WT_S1.fastq.gz \
/opt2/.tests/WT_S2.fastq.gz \
/opt2/.tests/WT_S3_1.fastq.gz \
/opt2/.tests/WT_S4_001.fastq.gz \
/opt2/.tests/WT_S5.fq.gz \
--lineage-name acidobacteria_odb10 --coverage 80 --genome-size 23.5m \
--output /opt2/output --mode local --dry-run
- name: Dry Run with BAM files
run: |
docker run -v $PWD:/opt2 snakemake/snakemake:v5.24.2 \
/opt2/assembly-seek run --input \
/opt2/.tests/WT_S6.bam \
/opt2/.tests/WT_S7.sorted.bam \
--lineage-name acidobacteria_odb10 --coverage 80 --genome-size 23.5m \
--output /opt2/output --mode local --dry-run
- name: Lint Workflow
continue-on-error: true
run: |
docker run -v $PWD:/opt2 snakemake/snakemake:v5.24.2 snakemake --lint -s /opt2/output/workflow/Snakefile -d /opt2/output || \
echo 'There may have been a few warnings or errors. Please read through the log to determine if its harmless.'