-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from TRON-Bioinformatics/integrate-fastp
Integrate FASTP into the pipeline
- Loading branch information
Showing
19 changed files
with
380 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Automated tests | ||
|
||
on: [push] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'zulu' # See 'Supported distributions' for available options | ||
java-version: '11' | ||
- uses: conda-incubator/setup-miniconda@v2 | ||
- name: Install dependencies | ||
run: | | ||
apt-get update && apt-get --assume-yes install wget make procps software-properties-common | ||
wget -qO- https://get.nextflow.io | bash && cp nextflow /usr/local/bin/nextflow | ||
- name: Run tests | ||
run: | | ||
make |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,18 @@ | ||
|
||
all : clean test check | ||
all : clean test | ||
|
||
clean: | ||
rm -rf output | ||
rm -f .nextflow.log* | ||
rm -rf .nextflow* | ||
|
||
test: | ||
nextflow main.nf --help | ||
nextflow main.nf -profile test,conda --output output/test1 | ||
nextflow main.nf -profile test,conda --inception --output output/test2 | ||
nextflow main.nf -profile test,conda --library single --output output/test3 | ||
nextflow main.nf -profile test,conda --algorithm mem --output output/test4 | ||
nextflow main.nf -profile test,conda --algorithm mem --library single --output output/test5 | ||
nextflow main.nf -profile test,conda --output output/test6 --input_files false \ | ||
--input_fastq1 test_data/TESTX_S1_L001_R1_001.fastq.gz \ | ||
--input_fastq2 test_data/TESTX_S1_L001_R2_001.fastq.gz --input_name test | ||
nextflow main.nf -profile test,conda --output output/test7 --input_files false \ | ||
--input_fastq1 test_data/TESTX_S1_L001_R1_001.fastq.gz \ | ||
--library single --input_name test | ||
|
||
check: | ||
test -s output/test1/TESTX_S1_L001.bam || { echo "Missing test 1 output file!"; exit 1; } | ||
test -s output/test1/TESTX_S1_L002.bam || { echo "Missing test 1 output file!"; exit 1; } | ||
test -s output/test2/TESTX_S1_L001.bam || { echo "Missing test 2 output file!"; exit 1; } | ||
test -s output/test2/TESTX_S1_L002.bam || { echo "Missing test 2 output file!"; exit 1; } | ||
test -s output/test3/TESTX_S1_L001.bam || { echo "Missing test 3 output file!"; exit 1; } | ||
test -s output/test3/TESTX_S1_L002.bam || { echo "Missing test 3 output file!"; exit 1; } | ||
test -s output/test4/TESTX_S1_L001.bam || { echo "Missing test 4 output file!"; exit 1; } | ||
test -s output/test4/TESTX_S1_L002.bam || { echo "Missing test 4 output file!"; exit 1; } | ||
test -s output/test5/TESTX_S1_L001.bam || { echo "Missing test 5 output file!"; exit 1; } | ||
test -s output/test5/TESTX_S1_L002.bam || { echo "Missing test 5 output file!"; exit 1; } | ||
test -s output/test6/test.bam || { echo "Missing test 6 output file!"; exit 1; } | ||
test -s output/test7/test.bam || { echo "Missing test 7 output file!"; exit 1; } | ||
bash tests/run_test_0.sh | ||
bash tests/run_test_1.sh | ||
bash tests/run_test_2.sh | ||
bash tests/run_test_3.sh | ||
bash tests/run_test_4.sh | ||
bash tests/run_test_5.sh | ||
bash tests/run_test_6.sh | ||
bash tests/run_test_7.sh | ||
bash tests/run_test_8.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.