comparison ideas.xml @ 80:94182e72e08d draft

Uploaded
author greg
date Thu, 24 Aug 2017 09:18:08 -0400
parents 20d4dc694105
children dda8772b5864
comparison
equal deleted inserted replaced
79:20d4dc694105 80:94182e72e08d
109 && mv ./*.profile $output_profile 109 && mv ./*.profile $output_profile
110 && mv ./*.state $output_state 110 && mv ./*.state $output_state
111 ]]></command> 111 ]]></command>
112 <configfiles> 112 <configfiles>
113 <configfile name="gen_prep_input_config"><![CDATA[#if str($input_type_cond.input_type) == "datasets": 113 <configfile name="gen_prep_input_config"><![CDATA[#if str($input_type_cond.input_type) == "datasets":
114 #if str($input_type_cond.cell_type_epigenetic_factor_cond.cell_type_epigenetic_factor) == "manual": 114 #if str($input_type_cond.cell_type_epigenetic_factor_cond.cell_type_epigenetic_factor) == "extract":
115 #for $input_items in $input_type_cond.cell_type_epigenetic_factor_cond.input_repeat:
116 ${input_items.cell_type_name} ${input_items.epigenetic_factor_name} ${input_items.input}
117 #end for
118 #else if str($input_type_cond.cell_type_epigenetic_factor_cond.cell_type_epigenetic_factor) == "extract":
119 #set $cell_type_epigenetic_factor_cond = $input_type_cond.cell_type_epigenetic_factor_cond 115 #set $cell_type_epigenetic_factor_cond = $input_type_cond.cell_type_epigenetic_factor_cond
120 #set $input_name_positions = $cell_type_epigenetic_factor_cond.input_name_positions 116 #set $input_name_positions = $cell_type_epigenetic_factor_cond.input_name_positions
121 #for $i in $cell_type_epigenetic_factor_cond.input: 117 #for $i in $cell_type_epigenetic_factor_cond.input:
122 #set $file_name_with_ext = $os.path.basename($i) 118 #set $file_name_with_ext = $os.path.basename($i)
123 #set $file_name = $file_name_with_ext.split(".")[0] 119 #set $file_name = $file_name_with_ext.split(".")[0]
127 #else: 123 #else:
128 #set $cell_type_name = $file_name.split("-")[1] 124 #set $cell_type_name = $file_name.split("-")[1]
129 #set $epigenetic_factor_name = $file_name.split("-")[0] 125 #set $epigenetic_factor_name = $file_name.split("-")[0]
130 #end if 126 #end if
131 ${cell_type_name} ${epigenetic_factor_name} ${i} 127 ${cell_type_name} ${epigenetic_factor_name} ${i}
128 #end for
129 #else:
130 #for $input_items in $input_type_cond.cell_type_epigenetic_factor_cond.input_repeat:
131 ${input_items.cell_type_name} ${input_items.epigenetic_factor_name} ${input_items.input}
132 #end for 132 #end for
133 #end if 133 #end if
134 #end if]]></configfile> 134 #end if]]></configfile>
135 </configfiles> 135 </configfiles>
136 <inputs> 136 <inputs>