# HG changeset patch # User greg # Date 1503511630 14400 # Node ID c9c90bfbeb200944cf86fea29beebb36a39301a3 # Parent 3a4697f71a05262dc12df527f23396a85001c825 Uploaded diff -r 3a4697f71a05 -r c9c90bfbeb20 ideas.xml --- a/ideas.xml Wed Aug 23 09:20:45 2017 -0400 +++ b/ideas.xml Wed Aug 23 14:07:10 2017 -0400 @@ -19,10 +19,15 @@ ## Create the config file and prepare the data ############################################## #set input_type = $input_type_cond.input_type -cp '$prep_input_config' 'prep_input_config.txt' && prepMat #if str($input_type) == 'datasets': - '$prep_input_config' + #set cell_type_epigenetic_factor_cond = $input_type_cond.cell_type_epigenetic_factor_cond + #set cell_type_epigenetic_factor = $cell_type_epigenetic_factor_cond.cell_type_epigenetic_factor + #if str($cell_type_epigenetic_factor) == 'extract': + '$extract_prep_input_config' + #else: + '$manual_prep_input_config' + #end if #set specify_genomic_window_cond = $input_type_cond.specify_genomic_window_cond #set specify_genomic_window = $specify_genomic_window_cond.specify_genomic_window #if str($specify_genomic_window) == 'yes': @@ -51,7 +56,7 @@ ## Coerce the prepMat config output to the ## format expected by the R matrix builder. ############################################## -&& cut -d' ' $prep_input_config -f1,2 > file1.txt +&& cut -d' ' $manual_prep_input_config -f1,2 > file1.txt && ls tmp/*.bed.gz > file2.txt && paste <(cat file1.txt) <(cat file2.txt) > $prep_output_config ############################################## @@ -111,9 +116,27 @@ && mv ./*.state $output_state ]]> - +#end for]]> + @@ -122,18 +145,36 @@ - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + +