("", " -sequence=" + str(value))[value is not None]
("", " -emin=" + str(value))[value is not None and value!=vdef]
value >= 1
value <= 20
("", " -emax=" + str(value))[value is not None and value!=vdef]
value <= 20
("" , " -outfile=" + str(value))[value is not None]
e_outfile
" -auto -stdout"
" < $value"
" < " + str(value)
($value)? " -a" : ""
( "" , " -a" )[ value ]
($value)? " -c" : ""
( "" , " -c" )[ value ]
($value)? " -p" : ""
( "" , " -p" )[ value ]
($value)? " -p0" : ""
( "" , " -p0" )[ value ]
(defined $value and $value != $vdef)? " -T $value" : ""
( "" , " -T " + str(value) )[ value is not None and value != vdef]
($value)? " -4" : ""
( "" , " -4" )[ value ]
(defined $value and $value ne $vdef)? " $value" : ""
( "" , " " + str(value) )[ value is not None and value != vdef]
(defined $value)? " -S $value" : ""
( "" , " -S " + str(value) )[ value is not None ]
($value)? " -C" : ""
( "" , " -C" )[ value ]
($value)? " -noLP" : ""
( "" , " -noLP" )[ value ]
($value)? " -noGU" : ""
( "" , " -noGU" )[ value ]
($value)? " -noCloseGU" : ""
( "" , " -noCloseGU" )[ value ]
(defined $value)? " -nsp $value" : ""
( "" , " -nsp " + str(value) )[ value is not None ]
(defined $value)? " -P $value" : ""
( "" , " -P " + str(value) )[ value is not None ]
Read energy parameters from paramfile, instead of using the default parameter set. ( documentation for details on the file format.)
($value)? " -noPS ": ""
( "" , " -noPS ")[ value ]
"*.ps"
"*.ps"
" $value"
" " + str(value)
" split $value -heading 3 --name_by_header -tab -out $filename"
" split " + str(value) + " -heading 3 --name_by_header -tab --out "+ str(infile)
defined $infile
infile is not None
"$infile.*"
infile + ".*"
(defined $value and $value ne $vdef) ? " && detect_cnv.pl $value " : ""
( "" , " && detect_cnv.pl " + str(value) )[ value is not None and value !=vdef]
(defined $value and not defined $rawcnv) or (not defined $value and defined $rawcnv)
(value is not None and rawcnv is None) or (value is None and rawcnv is not None)
(defined $value and $value ne $vdef) ? " && detect_cnv.pl $value " : ""
( "" , " && detect_cnv.pl " + str(value) )[ value is not None and value !=vdef]
(defined $value and defined $cnvfile and not defined $type) or (not defined $value and defined $type)
(value is not None and cnvfile is not None and type is None) or (value is None and type is not None)
$type eq '--test' or $type eq '--joint' or $type eq '--validate' or $type eq '--summary' or $rawcnv eq '--trio' or $rawcnv eq '--quartet' or $rawcnv eq '--cctest' or $rawcnv eq '--exclude_heterosomic'
type =='--test' or type =='--joint' or type =='--validate' or type =='--summary' or rawcnv =='--trio' or rawcnv =='--quartet' or rawcnv =='--cctest' or rawcnv =='--exclude_heterosomic'
" $infile.*"
" " + infile + ".*"
defined $rawcnv
rawcnv is not None
(defined $value) ? "--cnv $value " : ""
( "" , " --cnv " + str(value) )[ value is not None]
$type eq '--test' and $infile
type == '--test' and infile
" --out $infile_rawcnv"
" --out " + infile + "_rawcnv "
$type eq '--test' and $infile
type == '--test' and infile
"$infile_rawcnv"
infile + "_rawcnv"
($type is not None or $rawcnv is not None) and ($type and $rawcnv and $rawcnv ne '--cctest' and $rawcnv ne '--exclude_heterosomic'
(type is not None or rawcnv is not None) and (type != '--summary' and (rawcnv !='--cctest' and rawcnv !='--exclude_heterosomic'))
(defined $value) ? "--hmm $value " : ""
( "" , " --hmm " + str(value) )[ value is not None]
($type is not None or $rawcnv is not None) and ($rawcnv ne '--exclude_heterosomic')
(type is not None or rawcnv is not None) and (rawcnv !='--exclude_heterosomic')
(defined $value) ? "--pfb $value " : ""
( "" , " --pfb " + str(value) )[ value is not None]
$type eq '--test' or $rawcnv eq '--trio' or $rawcnv eq '--quartet' or $type eq '--joint' or $type eq '--validate'
(type == '--test' or type =='--joint' or type =='--validate') or (rawcnv =='--trio' or rawcnv =='--quartet')
(defined $value) ? "--gcmodel $value " : ""
( "" , " --gcmodel " + str(value) )[ value is not None]
($type is not None or $rawcnv is not None)
(type is not None or rawcnv is not None)
(defined $value and $value ne $vdef) ? " && visualize_cnv.pl --format $value " : ""
( "" , " && visualize_cnv.pl --format %s " % str(value) )[ value is not None and value !=vdef]
$type eq '--test' and $infile and $outputformat ne 'output'
type == '--test' and infile and outputformat != 'output'
"$infile.$outputformatcnv"
infile + "_" + outputformat + "cnv"
($type is not None or $rawcnv is not None) and $type ne '--test' and $outputformat ne 'output'
(type is not None or rawcnv is not None) and type != '--test' and outputformat != 'output'
"$infile.$outputformat"
infile + "_" + outputformat
$type eq '--test' and $infile and $outputformat ne 'output'
type == '--test' and infile and outputformat != 'output'
" --out $infile.$outputformatcnv $infile.rawcnv "
" --out " + infile + "_" + outputformat + "cnv " + infile + "_rawcnv "
($type is not None or $rawcnv is not None) and $type eq '--test' and $outputformat ne 'output'
(type is not None or rawcnv is not None) and type != '--test' and outputformat != 'output'
" --out $infile.$outputformat detect_cnv.out "
" --out " + infile + "_" + outputformat + " detect_cnv.out "
$type eq '--test' or $rawcnv eq '--trio' or $rawcnv eq '--quartet' or $type eq '--joint' or $type eq '--validate'
type =='--test' or rawcnv =='--trio' or rawcnv =='--quartet' or type =='--joint' or type =='--validate'
(defined $value and $value != $vdef) ? "--minsnp $value " : ""
( "" , " --minsnp " + str(value) )[ value is not None and value != vdef]
$type eq '--test' or $rawcnv eq '--trio' or $rawcnv eq '--quartet' or $type eq '--joint' or $type eq '--validate'
type =='--test' or rawcnv =='--trio' or rawcnv =='--quartet' or type =='--joint' or type =='--validate'
(defined $value) ? "--minlength $value " : ""
( "" , " --minlength " + str(value) )[ value is not None ]
$minlength =~ m/^\d+(k|m)?$/i
minlength > 0
$type eq '--test' or $type eq '--validate'
type =='--test' or type =='--validate'
(defined $value) ? "--minconf $value " : ""
( "" , " --minconf " + str(value) )[ value is not None ]
$type eq '--test' or $type eq '--validate'
type =='--test' or type =='--validate'
($value) ? "--confidence" : ""
( "" , " --confidence " )[ value ]
$type eq '--test' or $rawcnv eq '--trio' or $rawcnv eq '--quartet' or $type eq '--joint' or $type eq '--validate'
type =='--test' or rawcnv =='--trio' or rawcnv =='--quartet' or type =='--joint' or type =='--validate'
($value) ? "--chrx" : ""
( "" , " --chrx " )[ value ]
$chrx and not $bafxhet
chrx and not bafxhet
(defined $value) ? "--sex $value " : ""
( "" , " --sex " + str(value) )[ value is not None]
$chrx and not $sexfile
chrx and not sexfile
(defined $value and $value != $vdef) ? "--bafxhet $value" : ""
( "" , " --bafxhet " + str(value) )[ value is not None and value != vdef]
$bafxhet_threshold > 0 and $bafxhet_threshold < 1
bafxhet > 0 and bafxhet_threshold < 1
$type eq '--validate'
type == '--validate'
not candlist
not candlist
(defined $value) ? "--startsnp $value" : ""
( "" , " --startsnp " + str(value) )[ value is not None ]
not candlist
not candlist
(defined $value) ? "--endsnp $value" : ""
( "" , " --endsnp " + str(value) )[ value is not None ]
not candlist
not candlist
(defined $value) ? "--delfreq $value" : ""
( "" , " --delfreq " + str(value) )[ value is not None ]
$delfreq < 1 and $delfreq >=0 and (delfrep+dupfreq) <1
delfreq < 1 and delfreq >=0
not candlist
not candlist
(defined $value) ? "--dupfreq $value" : ""
( "" , " --dupfreq " + str(value) )[ value is not None ]
$dupfreq < 1 and $dupfreq >=0
dupfreq < 1 and dupfreq >=0
not $delfreq and not $dupfreq
not delfreq and not dupfreq
(defined $value) ? "--backfreq $value" : ""
( "" , " --backfreq " + str(value) )[ value is not None ]
$backfreq > 0 and $backfreq < 0.5
backfreq > 0 and backfreq < 0.5
not $startsnp and not $endsnp and not $delfreq and not $dupfreq
not startsnp and not endsnp and not delfreq and not dupfreq
(defined $value) ? "--candlist $value " : ""
( "" , " --candlist " + str(value) )[ value is not None]
$rawcnv eq '--cctest'
rawcnv == '--cctest'
$rawcnv eq '--cctest'
rawcnv == '--cctest'
(defined $value) ? "--phenofile $value " : ""
( "" , " --phenofile " + str(value) )[ value is not None]
(defined $value) ? "--control_label $value " : ""
( "" , " --control_label " + str(value) )[ value is not None ]
($value) ? "--onesided" : ""
( "" , " --onesided " )[ value ]
(defined $value and $value ne $vdef) ? "--type_filter $value " : ""
( "" , " --type_filter " + str(value) )[ value is not None and value !=vdef ]
$rawcnv eq '--trio' or $rawcnv eq '--quartet'
rawcnv =='--trio' or rawcnv =='--quartet'
(defined $value) ? "--fmprior $value " : ""
( "" , " --fmprior " + str(value) )[ value is not None ]
$value ~= /\d+(,\d+){5}/
len(value.split(',')) == 6
$rawcnv eq '--trio' or $rawcnv eq '--quartet'
rawcnv =='--trio' or rawcnv =='--quartet'
(defined $value and $value != $vdef) ? "--denovo_rate $value" : ""
( "" , " --denovo_rate " + str(value) )[ value is not None and value != vdef]
$type eq '--test' or $rawcnv eq '--trio' or $rawcnv eq '--quartet' or $type eq '--joint' or $type eq '--validate'
type =='--test' or rawcnv =='--trio' or rawcnv =='--quartet' or type =='--joint' or type =='--validate'
(not $value) ? "--nomedianadjust" : ""
( "" , " --nomedianadjust " )[ not value ]
$type eq '--test' or $rawcnv eq '--trio' or $rawcnv eq '--quartet' or $type eq '--joint' or $type eq '--validate'
type =='--test' or rawcnv =='--trio' or rawcnv =='--quartet' or type =='--joint' or type =='--validate'
(not $value) ? "--nobafadjust" : ""
( "" , " --nobafadjust " )[ not value ]
$type eq '--test' or $rawcnv eq '--trio' or $rawcnv eq '--quartet' or $type eq '--joint' or $type eq '--validate'
type =='--test' or rawcnv =='--trio' or rawcnv =='--quartet' or type =='--joint' or type =='--validate'
(not $value) ? "--nosdadjust" : ""
( "" , " --nosdadjust " )[ not value ]
(not $value) ? "--noflush" : ""
( "" , " --noflush " )[ not value ]
($type is not None or $rawcnv is not None) and $type ne '--test'
(type is not None or rawcnv is not None) and type != '--test'
" --out detect_cnv.out "
" --out detect_cnv.out "
$type ne '--test'
type != '--test'
"detect_cnv.out"
"detect_cnv.out"
not $alignment_input or ($sequences_input and $alignment_input)
not alignment_input or (sequences_input and alignment_input)
" --infile=$value"
" --infile=" + str( value )
not $alignment_input
not alignment_input
not $sequences_input or ($sequences_input and $alignment_input)
not sequences_input or (sequences_input and alignment_input)
" --infile=$value"
" --infile=" + str( value )
not $sequences_input
not sequences_input
(defined $value and $value neq $vdef)? " --seqtype=$value" : ""
("", " --seqtype="+str(value))[value is not None and value != vdef]
$alignment_input
bool( alignment_input )
(defined $value and $value) " --dealign " : ""
( "" , " --dealign ")[ value is not None and value !=vdef ]
(defined $value)?" --hmm-in=$value" : ""
( "" , " --hmm-in=" + str( value ))[value is not None ]
(defined $value and $value)? " --distmat-out=$value ":""
( "" , " --distmat-out="+str(value))[ value is not None ]
$full
full
(defined $value )? " --guidetree-in= $value" : ""
( "" , " --guidetree-in="+str(value))[ value is not None ]
(defined $value and $value)? " --guidetree-out=$value ":""
( "" , " --guidetree-out="+str(value))[ value is not None ]
(defined $full and $ full)? " --full ": ""
( "" , " --full ")[ value is not None and value ]
(defined $full and $ full)? " --full-iter ": ""
( "" , " --full-iter ")[ value is not None and value ]
(defined $value and $value ne $vdef)? " --outfmt=$value" : ""
( "" , " --outfmt=" + value )[ value is not None and value != vdef ]
(defined $value)? " --iter=$value ": ""
( "" , " --iter="+str(value) )[ value is not None ]
(defined $value)? " --max-guidetree-iterations=$value ": ""
( "" , " --max-guidetree-iterations="+str(value) )[ value is not None ]
(defined $value)? " --max-hmm-iterations=$value ": ""
( "" , " --max-hmm-iterations="+str(value) )[ value is not None ]
(defined $value and $value)? " --auto ": ""
( "" , " --auto ")[value is not None and value]
" -v --force --log=clustalO_log"
" -v --force --log=clustalO_log"
"clustalO-multialign.out"
"clustalO-multialign.out"
defined $guidetree_out
guidetree_out is not None
$guidetree_out
guidetree_out
defined $distmat_out
distmat_out is not None
$distmat_out
distmat_out
"clustalO_log"
"clustalO_log"