Added gffread and gff3 file for testing

This commit is contained in:
sruthipsuresh 2021-01-12 09:05:14 -06:00 committed by Edmund Miller
parent d7a78fa127
commit 7729fee5a9
4 changed files with 5059 additions and 0 deletions

40
.github/workflows/gffread.yml vendored Normal file
View file

@ -0,0 +1,40 @@
name: gffread
on:
push:
paths:
- software/gffread/**
- .github/workflows/gffread.yml
- tests/software/gffread/**
pull_request:
paths:
- software/gffread/**
- .github/workflows/gffread.yml
- tests/software/gffread/**
jobs:
ci_test:
runs-on: ubuntu-latest
strategy:
matrix:
nxf_version: [20.07.1, ""]
env:
NXF_ANSI_LOG: false
steps:
- uses: actions/checkout@v2
- name: Install Nextflow
env:
NXF_VER: ${{ matrix.nxf_version }}
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install dependencies
run: python -m pip install --upgrade pip pytest-workflow
# Test the module
- run: pytest --tag gffread --symlink --wt 2

5000
tests/data/gff/a.gff3 Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,12 @@
#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { GFFREAD } from '../../../software/gffread/main.nf' addParams( options: [:] )
workflow test_gffread {
def input = []
input = //[ [ id:'test', single_end:false ], // meta map
[ file("${launchDir}/tests/data/gff/a.gff3", checkIfExists: true) ]
GFFREAD ( input )
}

View file

@ -0,0 +1,7 @@
- name: Run gffread test workflow
command: nextflow run ./tests/software/gffread/ -profile docker -entry test_gffread -c tests/config/nextflow.config
tags:
- gffread
files:
- path: output/gffread/a.gtf
md5sum: b6617219068835992ea43e4d3389f448