File tree Expand file tree Collapse file tree 5 files changed +61
-29
lines changed
Expand file tree Collapse file tree 5 files changed +61
-29
lines changed Original file line number Diff line number Diff line change 1- name : phantompeakqualtools
1+ name : preseq_lcextrap
22on :
33 push :
44 paths :
5- - software/phantompeakqualtools /**
6- - .github/workflows/phantompeakqualtools .yml
7- - tests/software/phantompeakqualtools /**
5+ - software/preseq/lcextrap /**
6+ - .github/workflows/preseq_lcextrap .yml
7+ - tests/software/preseq /**
88 pull_request :
99 paths :
10- - software/phantompeakqualtools /**
11- - .github/workflows/phantompeakqualtools .yml
12- - tests/software/phantompeakqualtools /**
10+ - software/preseq/lcextrap /**
11+ - .github/workflows/preseq_lcextrap .yml
12+ - tests/software/preseq /**
1313
1414jobs :
1515 ci_test :
3737 run : python -m pip install --upgrade pip pytest-workflow
3838
3939 # Test the module
40- - run : pytest --tag phantompeakqualtools --symlink --wt 2
40+ - run : pytest --tag preseq_lcextrap --symlink --wt 2
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env nextflow
2+
3+ nextflow. enable. dsl = 2
4+
5+ include { PRESEQ_LCEXTRAP as PRESEQ_LCEXTRAP_SE } from ' ../../../software/preseq/lcextrap/main.nf' addParams( options : [ publish_dir :' test_preseq_single_end' ] )
6+ include { PRESEQ_LCEXTRAP as PRESEQ_LCEXTRAP_PE } from ' ../../../software/preseq/lcextrap/main.nf' addParams( options : [ publish_dir :' test_preseq_paired_end' ] )
7+
8+ /*
9+ * Test with single-end data
10+ */
11+
12+ workflow test_preseq_single_end {
13+
14+ def input = []
15+ input = [ [ id :' test' , single_end :true ], // meta map
16+ [ file(' https://github.com/smithlabcode/preseq/raw/master/data/SRR1003759_5M_subset.mr' , checkIfExists : true ), ] ]
17+ PRESEQ_LCEXTRAP_SE ( input )
18+ }
19+
20+ /*
21+ * Test with paired-end data
22+ */
23+
24+ workflow test_preseq_paired_end {
25+
26+ def input = []
27+ input = [ [ id :' test' , single_end :false ], // meta map
28+ [ file(' https://github.com/smithlabcode/preseq/raw/master/data/SRR1003759_5M_subset.mr' , checkIfExists : true ), ] ]
29+
30+ PRESEQ_LCEXTRAP_PE ( input )
31+ }
32+
Original file line number Diff line number Diff line change 1+ - name : Run preseq single-end lcextrap
2+ command : nextflow run ./tests/software/preseq -profile docker -entry test_preseq_single_end -c tests/config/nextflow.config
3+ tags :
4+ - preseq
5+ - preseq_lcextrap
6+
7+ files :
8+ - path : output/test_preseq_single_end/test.ccurve.txt
9+ md5sum : 76ae04c8eaf19c94e3210bb69da38498
10+ - path : output/test_preseq_single_end/test.command.log
11+
12+ - name : Run preseq paired-end lcextrap
13+ command : nextflow run ./tests/software/preseq -profile docker -entry test_preseq_paired_end -c tests/config/nextflow.config
14+ tags :
15+ - preseq
16+ - preseq_lcextrap
17+
18+ files :
19+ - path : output/test_preseq_paired_end/test.ccurve.txt
20+ md5sum : 2836d2fabd2213f097fd7063db550276
21+ - path : output/test_preseq_paired_end/test.command.log
You can’t perform that action at this time.
0 commit comments