Question: Conditional Statement
0
gravatar for Matthias Dodt
9.2 years ago by
Matthias Dodt110
Matthias Dodt110 wrote:
i would like to nest different conditional statements in a tools xml file: <inputs> <conditional name="tophat_input"> <param name="type1" type="select" label="input file format" optional="false"> <option value="fasta" selected="true">FASTA</option> <option value="fastqsolexa">FASTQ-Solexa</option> <option value="fastqsanger">FASTQ-Sanger</option> </param> <when value="fasta"> <conditional name="paired_end_fasta"> <param name="type2" type="select" label="Paired end reads"> <option value="yes">Yes</option> <option value="no" selected="true">No</option> </param> <when value="yes"> .... how do i access type2? #if $tophat_input.paired_end_fasta.type2=="yes": #--value=test #end if doesnt work! thanks mat
rna-seq tophat • 815 views
ADD COMMENTlink modified 9.2 years ago by James Taylor320 • written 9.2 years ago by Matthias Dodt110
0
gravatar for James Taylor
9.2 years ago by
James Taylor320
United States
James Taylor320 wrote:
I believe this should work. Can you post your complete tool config (especially the complete template for generating the command line)?
ADD COMMENTlink written 9.2 years ago by James Taylor320
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 168 users visited in the last hour