Mercurial > repos > greg > ideas
comparison ideas.xml @ 82:f6156d2888a3 draft
Uploaded
author | greg |
---|---|
date | Thu, 24 Aug 2017 09:31:10 -0400 |
parents | dda8772b5864 |
children | 09f07994247f |
comparison
equal
deleted
inserted
replaced
81:dda8772b5864 | 82:f6156d2888a3 |
---|---|
108 && mv ./*.para $output_para | 108 && mv ./*.para $output_para |
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[#import os |
114 #if str($input_type_cond.input_type) == "datasets": | |
114 #if str($input_type_cond.cell_type_epigenetic_factor_cond.cell_type_epigenetic_factor) == "extract": | 115 #if str($input_type_cond.cell_type_epigenetic_factor_cond.cell_type_epigenetic_factor) == "extract": |
115 #set $cell_type_epigenetic_factor_cond = $input_type_cond.cell_type_epigenetic_factor_cond | 116 #set $cell_type_epigenetic_factor_cond = $input_type_cond.cell_type_epigenetic_factor_cond |
116 #set $input_name_positions = $cell_type_epigenetic_factor_cond.input_name_positions | 117 #set $input_name_positions = $cell_type_epigenetic_factor_cond.input_name_positions |
117 #for $i in $cell_type_epigenetic_factor_cond.input: | 118 #for $i in $cell_type_epigenetic_factor_cond.input: |
118 #set $file_name_with_ext = $os.path.basename($i) | 119 #set file_name_with_ext = $os.path.basename($i) |
119 #set $file_name = $file_name_with_ext.split(".")[0] | 120 #set file_name = $file_name_with_ext.split(".")[0] |
120 #if str($input_name_positions) == "cell_first": | 121 #if str($input_name_positions) == "cell_first": |
121 #set $cell_type_name = $file_name.split("-")[0] | 122 #set cell_type_name = $file_name.split("-")[0] |
122 #set $epigenetic_factor_name = $file_name.split("-")[1] | 123 #set epigenetic_factor_name = $file_name.split("-")[1] |
123 #else: | 124 #else: |
124 #set $cell_type_name = $file_name.split("-")[1] | 125 #set cell_type_name = $file_name.split("-")[1] |
125 #set $epigenetic_factor_name = $file_name.split("-")[0] | 126 #set epigenetic_factor_name = $file_name.split("-")[0] |
126 #end if | 127 #end if |
127 ${cell_type_name} ${epigenetic_factor_name} ${i} | 128 ${cell_type_name} ${epigenetic_factor_name} ${i} |
128 #end for | 129 #end for |
129 #else: | 130 #else: |
130 #for $input_items in $input_type_cond.cell_type_epigenetic_factor_cond.input_repeat: | 131 #for $input_items in $input_type_cond.cell_type_epigenetic_factor_cond.input_repeat: |