diff --git a/.github/workflows/bwa_index.yml b/.github/workflows/bwa_index.yml new file mode 100644 index 00000000..c15c35c9 --- /dev/null +++ b/.github/workflows/bwa_index.yml @@ -0,0 +1,30 @@ +name: bwa_index +on: + push: + paths: + - software/bwa/index/** + - .github/workflows/bwa_index.yml + - tests + pull_request: + paths: + - software/bwa/index/** + - .github/workflows/bwa_index.yml + - tests + +jobs: + ci_test: + runs-on: ubuntu-latest + env: + NXF_ANSI_LOG: false + steps: + + - uses: actions/checkout@v2 + + - name: Install Nextflow + run: | + export NXF_VER="20.07.1" + wget -qO- get.nextflow.io | bash + sudo mv nextflow /usr/local/bin/ + + # Test the module + - run: nextflow run ./software/bwa/index/test/ -profile docker diff --git a/software/bwa/index/test/input/NC_010473.fa b/software/bwa/index/test/input/NC_010473.fa new file mode 120000 index 00000000..d2298ff8 --- /dev/null +++ b/software/bwa/index/test/input/NC_010473.fa @@ -0,0 +1 @@ +../../../../../tests/data/fasta/E_coli/NC_010473.fa \ No newline at end of file diff --git a/software/bwa/index/test/output/bwa/NC_010473.fa.amb b/software/bwa/index/test/output/bwa/NC_010473.fa.amb new file mode 100644 index 00000000..7355c4ea --- /dev/null +++ b/software/bwa/index/test/output/bwa/NC_010473.fa.amb @@ -0,0 +1,3 @@ +4686137 1 2 +20895 1 Y +142347 1 R diff --git a/software/bwa/index/test/output/bwa/NC_010473.fa.ann b/software/bwa/index/test/output/bwa/NC_010473.fa.ann new file mode 100644 index 00000000..ddfe94ec --- /dev/null +++ b/software/bwa/index/test/output/bwa/NC_010473.fa.ann @@ -0,0 +1,3 @@ +4686137 1 11 +0 gi|170079663|ref|NC_010473.1| Escherichia coli str. K-12 substr. DH10B, complete genome +0 4686137 2 diff --git a/software/bwa/index/test/output/bwa/NC_010473.fa.bwt b/software/bwa/index/test/output/bwa/NC_010473.fa.bwt new file mode 100644 index 00000000..855b64ae Binary files /dev/null and b/software/bwa/index/test/output/bwa/NC_010473.fa.bwt differ diff --git a/software/bwa/index/test/output/bwa/NC_010473.fa.pac b/software/bwa/index/test/output/bwa/NC_010473.fa.pac new file mode 100644 index 00000000..3aebd5a6 Binary files /dev/null and b/software/bwa/index/test/output/bwa/NC_010473.fa.pac differ diff --git a/software/bwa/index/test/output/bwa/NC_010473.fa.sa b/software/bwa/index/test/output/bwa/NC_010473.fa.sa new file mode 100644 index 00000000..3ad7129d Binary files /dev/null and b/software/bwa/index/test/output/bwa/NC_010473.fa.sa differ