Merge pull request #36 from ewels/change-filestructure

Restructure file hierarchy
This commit is contained in:
Phil Ewels 2020-07-11 14:53:33 +02:00 committed by GitHub
commit 7ae79df07c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
103 changed files with 26 additions and 31 deletions

View file

@ -2,7 +2,7 @@ name: cutadapt
on:
push: {}
pull_request:
paths: tools/cutadapt/*
paths: software/cutadapt/*
jobs:
run_ci_test:
@ -25,10 +25,10 @@ jobs:
- name: Test module with paired-end data
run: |
cd tools/cutadapt/test_paired/
cd software/cutadapt/test_paired/
nextflow run . -ansi-log false
- name: Test module with single-end data
run: |
cd tools/cutadapt/test_single/
cd software/cutadapt/test_single/
nextflow run . -ansi-log false

View file

@ -5,8 +5,8 @@ on:
branches: master
# Only if a conda environment file or a docker build file has been updated
paths:
- tools/*/environment.yml
- tools/*/Dockerfile
- software/*/environment.yml
- software/*/Dockerfile
jobs:
build_docker:
@ -36,7 +36,7 @@ jobs:
echo $TOOL
done;
echo '-----'
for d in tools/*; do
for d in software/*; do
for TOOL in $TOOLS; do
echo "$d -- $TOOL"
if echo $d/ | grep -q "$TOOL"; then

View file

@ -2,7 +2,7 @@ name: FastQC
on:
push: {}
pull_request:
paths: tools/fastqc/*
paths: software/fastqc/*
jobs:
run_ci_test:
@ -20,4 +20,4 @@ jobs:
sudo mv nextflow /usr/local/bin/
# Test the module
- run: nextflow run ./tools/fastqc/test/ -ansi-log false
- run: nextflow run ./software/fastqc/test/ -ansi-log false

View file

@ -2,7 +2,7 @@ name: samtools index
on:
push: {}
pull_request:
paths: tools/samtools/index*
paths: software/samtools/index*
jobs:
run_ci_test:
@ -20,4 +20,4 @@ jobs:
sudo mv nextflow /usr/local/bin/
# Test the module
- run: nextflow run ./tools/samtools/index/test/ -ansi-log false
- run: nextflow run ./software/samtools/index/test/ -ansi-log false

View file

@ -2,7 +2,7 @@ name: samtools sort
on:
push: {}
pull_request:
paths: tools/samtools/sort*
paths: software/samtools/sort*
jobs:
run_ci_test:
@ -20,4 +20,4 @@ jobs:
sudo mv nextflow /usr/local/bin/
# Test the module
- run: nextflow run ./tools/samtools/sort/test/ -ansi-log false
- run: nextflow run ./software/samtools/sort/test/ -ansi-log false

View file

@ -2,7 +2,7 @@ name: tcoffee
on:
push: {}
pull_request:
paths: tools/tcoffee/*
paths: software/tcoffee/*
jobs:
run_ci_test:
@ -26,5 +26,5 @@ jobs:
# Test the module
- run: |
cd tools/tcoffee/test/
cd software/tcoffee/test/
nextflow run . -ansi-log false

View file

@ -2,7 +2,7 @@ name: Trim Galore!
on:
push: {}
pull_request:
paths: tools/trim_galore/*
paths: software/trim_galore/*
jobs:
run_ci_test:
@ -20,4 +20,4 @@ jobs:
sudo mv nextflow /usr/local/bin/
# Test the module
- run: nextflow run ./tools/trim_galore/test/ -ansi-log false
- run: nextflow run ./software/trim_galore/test/ -ansi-log false

View file

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View file

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View file

@ -1,6 +1,6 @@
#!/usr/bin/env nextflow
nextflow.preview.dsl = 2
include '../../../nf-core/module_testing/check_process_outputs.nf' params(params)
include '../../../tests/functions/check_process_outputs.nf' params(params)
include '../main.nf' params(params)
// Define input channels

View file

@ -1,6 +1,6 @@
#!/usr/bin/env nextflow
nextflow.preview.dsl = 2
include '../../../../nf-core/module_testing/check_process_outputs.nf' params(params)
include '../../../../tests/functions/check_process_outputs.nf' params(params)
include '../main.nf' params(params)
reads = '../../../../test-datasets/tools/bwa/mem/reads/*_R{1,2}_001.fastq.gz'

View file

@ -12,7 +12,7 @@ if (params.verbose){
println ("[WORKFLOW] FASTQ SCREEN ARGS ARE: " + params.fastq_screen_args)
}
// TODO: include '../../../nf-core/module_testing/check_process_outputs.nf'
// TODO: include '../../../tests/functions/check_process_outputs.nf'
include '../main.nf'
// Define input channels

View file

@ -6,7 +6,7 @@ params.fastqc_args = ''
params.verbose = false
// TODO: check the output files in some way
// include '../../../nf-core/module_testing/check_process_outputs.nf'
// include '../../../tests/functions/check_process_outputs.nf'
include '../main.nf'
// Define input channels

View file

@ -1,6 +1,6 @@
#!/usr/bin/env nextflow
nextflow.preview.dsl = 2
include '../../../nf-core/module_testing/check_process_outputs.nf' params(params)
include '../../../tests/functions/check_process_outputs.nf' params(params)
include '../main.nf' params(params)
// Define input channels

View file

@ -1,6 +1,6 @@
#!/usr/bin/env nextflow
nextflow.preview.dsl = 2
include '../../../nf-core/module_testing/check_process_outputs.nf' params(params)
include '../../../tests/functions/check_process_outputs.nf' params(params)
include '../main.nf' params(params)
// Define input channels

View file

@ -5,7 +5,7 @@ params.outdir = "."
params.verbose = false
params.multiqc_args = ''
// include '../../../nf-core/module_testing/check_process_outputs.nf'
// include '../../../tests/functions/check_process_outputs.nf'
include '../main.nf'
if (params.verbose){

View file

@ -1,6 +1,6 @@
#!/usr/bin/env nextflow
nextflow.preview.dsl = 2
include '../../../nf-core/module_testing/check_process_outputs.nf' params(params)
include '../../../tests/functions/check_process_outputs.nf' params(params)
include '../main.nf' params(params)
// Define input channels

View file

@ -2,7 +2,7 @@
nextflow.preview.dsl = 2
include check_output from '../../../nf-core/module_testing/check_process_outputs.nf'
include check_output from '../../../tests/functions/check_process_outputs.nf'
include tcoffee from '../main.nf'
// Define input channels
@ -13,8 +13,3 @@ workflow {
tcoffee(fasta)
// .check_output()
}

View file

@ -12,7 +12,7 @@ if (params.verbose){
}
// TODO: check the output files in some way
// include '../../../nf-core/module_testing/check_process_outputs.nf'
// include '../../../tests/functions/check_process_outputs.nf'
include '../main.nf' // params (clip_r1: 6, clip_r2: 10) // how to pass additional parameters
ch_read_files = Channel

Some files were not shown because too many files have changed in this diff Show more