You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
usage: nf-test [-h] [-V] [CONFIG] {init} ...
positional arguments:
CONFIG Path the the nextflow test config YAML file. If not given, it looks for nf-test.yaml or nf-test.yml
{init}
init Initialize nftest.
optional arguments:
-h, --help show this help message and exit
-V, --version Version
2. Set up the initial test case
To set up a simple test case, first, spin a F32 or a F72 node, and change the directory to a pipeline directory.
Then run the following command to initiate the test folder.
nftest init
It will create one nftest.yml file under the current directory and a test folder with a global.config inside.
Open the nftest.yml , there will be two sections, global and cases. No change is needed for the global section. For the case section, write the specific pipeline input, here is an example:
cases:
- name: test-multi-sample
message: running nftest on development branch of call-sSNV
skip: false
nf_script: pipeline/call-sSNV.nf
nf_config: test/test_mutect2/test_multi_tumor/test-tumor.config
params_file: test/test_mutect2/test_multi_tumor/test-multi-tumor.yaml
verbose: true
Then run the following command nftest. The test should start in the terminal.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
1. Installation
First install the
nftest
in the cluster:If any branch is needed, using:
To check if the nftest is installed, run
The output should be:
2. Set up the initial test case
To set up a simple test case, first, spin a F32 or a F72 node, and change the directory to a pipeline directory.
Then run the following command to initiate the test folder.
It will create one
nftest.yml
file under the current directory and atest
folder with aglobal.config
inside.Open the
nftest.yml
, there will be two sections,global
andcases
. No change is needed for theglobal
section. For thecase
section, write the specific pipeline input, here is an example:Then run the following command
nftest
. The test should start in the terminal.Beta Was this translation helpful? Give feedback.
All reactions