nf-core_modules/tests/modules/entrezdirect/esearch/test.yml
Alexander Ramos Díaz 4ed5dc4593
new (fixed) module: entrezdirect/esearch (#1927)
* added module files

* latest version

* latest version

* latest version

* latest version

* updated test, failing

* added comment on why to use tail -n+3

* same as latest test

* moved args to the end of script

* updated test

* double quotes for esearch input

* removed tail -n+3, stderr is redirected by nextflow

* changed single to double quotes

* Update modules/entrezdirect/esearch/main.nf

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>

* Update modules/entrezdirect/esearch/meta.yml

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>

* Update meta.yml

removed default from database parameter

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-07-26 09:07:38 -06:00

47 lines
1.6 KiB
YAML

- name: entrezdirect esearch test_entrezdirect_esearch_pubmed
command: nextflow run ./tests/modules/entrezdirect/esearch -entry test_entrezdirect_esearch_pubmed -c ./tests/config/nextflow.config -c ./tests/modules/entrezdirect/esearch/nextflow.config
tags:
- entrezdirect/esearch
- entrezdirect
files:
- path: output/entrezdirect/test_pubmed.xml
contains:
- "<ENTREZ_DIRECT>"
- "<Db>pubmed</Db>"
- "<WebEnv>"
- "<QueryKey>"
- "<Step>"
- "<Count>"
- "</ENTREZ_DIRECT>"
- name: entrezdirect esearch test_entrezdirect_esearch_genome
command: nextflow run ./tests/modules/entrezdirect/esearch -entry test_entrezdirect_esearch_genome -c ./tests/config/nextflow.config -c ./tests/modules/entrezdirect/esearch/nextflow.config
tags:
- entrezdirect/esearch
- entrezdirect
files:
- path: output/entrezdirect/test_genome.xml
contains:
- "<ENTREZ_DIRECT>"
- "<Db>genome</Db>"
- "<WebEnv>"
- "<QueryKey>"
- "<Count>"
- "<Step>"
- "</ENTREZ_DIRECT>"
- name: entrezdirect esearch test_entrezdirect_esearch_assembly
command: nextflow run ./tests/modules/entrezdirect/esearch -entry test_entrezdirect_esearch_assembly -c ./tests/config/nextflow.config -c ./tests/modules/entrezdirect/esearch/nextflow.config
tags:
- entrezdirect/esearch
- entrezdirect
files:
- path: output/entrezdirect/test_assembly.xml
contains:
- "<ENTREZ_DIRECT>"
- "<Db>assembly</Db>"
- "<WebEnv>"
- "<QueryKey>"
- "<Count>"
- "<Step>"
- "</ENTREZ_DIRECT>"