comparison reference.xml @ 2:0c3db8ec44b0 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
author iuc
date Fri, 29 Sep 2023 15:41:46 +0000
parents 83470ecad188
children b45fa373a972
comparison
equal deleted inserted replaced
1:83470ecad188 2:0c3db8ec44b0
2 <description>Compile a copy-number reference from the given files or directory containing normal samples</description> 2 <description>Compile a copy-number reference from the given files or directory containing normal samples</description>
3 <macros> 3 <macros>
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="xrefs"/> 6 <expand macro="xrefs"/>
7 <expand macro="creators"/>
7 <expand macro="requirements"/> 8 <expand macro="requirements"/>
8 <command detect_errors="exit_code"><![CDATA[ 9 <command detect_errors="exit_code"><![CDATA[
9 #import re 10 #import re
10 #if str($CNV_reference.CNV_reference_availabel) == "yes" 11 #if str($CNV_reference.CNV_reference_availabel) == "yes"
11 #set $names = [] 12 #set $names = []
12 #set $x=1 13 #set $x=1
13 #for $x, $input in enumerate($CNV_reference.input_cnn_file): 14 #for $x, $input in enumerate($CNV_reference.input_cnn_file):
14 #set $name_base = re.sub('[^\w\-_\.]', '_', $input.element_identifier) 15 #set $name_base = re.sub('[^\w\-_\.]', '_', $input.element_identifier)
15 #set $name = $name_base + '_' + str(x) 16 #set $name = $name_base
16 #silent $names.append( $name ) 17 #silent $names.append( $name )
17 ln -s '$input' ${name}.cnn && 18 ln -s '$input' ${name}.cnn &&
18 #end for 19 #end for
19 #end if 20 #end if
20 #if str($CNV_reference.CNV_reference_availabel) == "no" 21 #if str($CNV_reference.CNV_reference_availabel) == "no"
78 <section name="disable_some_of_the_bias_corrections" title="Bias corrections settings" expanded="false"> 79 <section name="disable_some_of_the_bias_corrections" title="Bias corrections settings" expanded="false">
79 <expand macro="disable_specific_automatic_bias_corrections" /> 80 <expand macro="disable_specific_automatic_bias_corrections" />
80 </section> 81 </section>
81 </when> 82 </when>
82 <when value="yes"> 83 <when value="yes">
83 <param name="input_cnn_file" type="data" format="tabular" multiple="true" label="cnn file" help="Normal-sample target or antitarget cnn files, or the directory that contains them" /> 84 <param name="input_cnn_file" type="data" format="tabular" multiple="true" label="Sample Target/antitarget Coverage cnn file" help="" />
84 <section name="advanced_settings" title="Advanced settings" expanded="false"> 85 <section name="advanced_settings" title="Advanced settings" expanded="false">
85 <expand macro="reference_interface" /> 86 <expand macro="reference_interface" />
86 <expand macro="reference_optional" /> 87 <expand macro="reference_optional" />
87 <expand macro="sample_sex_condition" /> 88 <expand macro="sample_sex_condition" />
88 </section> 89 </section>
120 <conditional name="reference_source"> 121 <conditional name="reference_source">
121 <param name="ref_selector" value="cached"/> 122 <param name="ref_selector" value="cached"/>
122 <param name="fasta" value="test_buildid"/> 123 <param name="fasta" value="test_buildid"/>
123 </conditional> 124 </conditional>
124 <param name="CNV_reference_availabel" value="yes" /> 125 <param name="CNV_reference_availabel" value="yes" />
125 <param name="input_cnn_file" ftype="tabular" value="tumor.targetcoverage.cnn,sample.targetcoverage.cnn" /> 126 <param name="input_cnn_file" ftype="tabular" value="tumor.targetcoverage.cnn,test.targetcoverage.cnn" />
126 <param name="no_gc" value="1" /> 127 <param name="no_gc" value="1" />
127 <output name="out_referene_tas"> 128 <output name="out_referene_tas">
128 <assert_contents><has_text text="chromosome"/></assert_contents> 129 <assert_contents><has_text text="chromosome"/></assert_contents>
129 </output> 130 </output>
130 </test> 131 </test>
144 <conditional name="reference_source"> 145 <conditional name="reference_source">
145 <param name="ref_selector" value="cached"/> 146 <param name="ref_selector" value="cached"/>
146 <param name="fasta" value="test_buildid"/> 147 <param name="fasta" value="test_buildid"/>
147 </conditional> 148 </conditional>
148 <conditional name="Sample_sex"> 149 <conditional name="Sample_sex">
149 <param name="sex" value="yes" /> 150 <param name="sex" value="no" />
150 </conditional> 151 </conditional>
151 <param name="CNV_reference_availabel" value="no" /> 152 <param name="CNV_reference_availabel" value="no" />
152 <param name="targets" ftype="bed" value="capture.target.bed" /> 153 <param name="targets" ftype="bed" value="capture.target.bed" />
153 <param name="no_gc" value="1" /> 154 <param name="no_gc" value="1" />
154 <output name="out_referene_tas"> 155 <output name="out_referene_tas">