-
Notifications
You must be signed in to change notification settings - Fork 7
41 lines (33 loc) · 1.08 KB
/
run_workflow.yml
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: Test Grandeur workflow
on: [pull_request, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
lfs: true
- name: Checkout LFS objects
run: git lfs checkout
- name: Install Nextflow
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Run Grandeur
run: |
docker --version
mkdir reads
# lecleria genome - not an actual use-case
wget -q ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR283/002/SRR2838702/SRR2838702_1.fastq.gz
wget -q ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR283/002/SRR2838702/SRR2838702_2.fastq.gz
mv *fastq.gz reads/.
nextflow run . -profile docker --maxcpus 2 --medcpus 2
cat grandeur/grandeur_summary.tsv
- name: Check summary files
run: |
for file in grandeur/mlst/mlst_summary.tsv
do
head $file
wc -l $file
done