How to define test with multiple inputs from one parameter
Hi all Unfortunately I was unable to find this in the documentation or find a working example. In my tool definition I have inputs and outputs like this: <param name="input_vcfs" type="data" multiple="true" format="vcf" label="Input VCF file(s)" /> <outputs> <data format="fasta" name="output" label="${tool.name} on ${on_string}: FASTA file" /> </outputs> I would like to define a test which takes two vcfs from the "input_vcfs" parameter. Is this correct? <tests> <test> <param name="input_vcfs" value="1_short.vcf" ftype="vcf" /> <param name="input_vcfs" value="2_short.vcf" ftype="vcf" /> <output name="output" file="testresult.fa" ftype="fasta" /> </test> </tests> or option 2? <tests> <test> <param name="input_vcfs" value="1_short.vcf,2_short.vcf" ftype="vcf" /> <output name="output" file="testresult.fa" ftype="fasta" /> </test> </tests> or something else entirely? Thanks for your help Ulf -- Ulf Schaefer, PhD Bioinformatics Scientist Bioinformatics Unit - Infectious Disease Informatics National Infection Service Public Health England ulf.schaefer@phe.gov.uk http://www.gov.uk/phe Protecting and improving the nation’s health ************************************************************************** The information contained in the EMail and any attachments is confidential and intended solely and for the attention and use of the named addressee(s). It may not be disclosed to any other person without the express authority of Public Health England, or the intended recipient, or both. If you are not the intended recipient, you must not disclose, copy, distribute or retain this message or any part of it. This footnote also confirms that this EMail has been swept for computer viruses by Symantec.Cloud, but please re-sweep any attachments before opening or saving. http://www.gov.uk/PHE **************************************************************************
participants (1)
-
Ulf Schaefer