# HG changeset patch # User greg # Date 1513692695 18000 # Node ID 8baf6aa848d17172b064079ddc87d2dd8e8652ad # Parent 1736d09a6927b5846220460ee88a5eb9ea26bbb7 Uploaded diff -r 1736d09a6927 -r 8baf6aa848d1 ideas_genome_tracks.xml --- a/ideas_genome_tracks.xml Mon Dec 18 09:09:00 2017 -0500 +++ b/ideas_genome_tracks.xml Tue Dec 19 09:11:35 2017 -0500 @@ -20,6 +20,18 @@ #set email = $__user__.email #end if #set input_dir_state = "input_dir_state" +#set select_state_color = $select_state_color_cond.select_state_color +#if str($select_state_color) == 'yes': + #set state_color_repeat = $select_state_color_cond.state_color_repeat + #set state_indexes = list() + #set state_colors = list() + #for items in $state_color_repeat: + $state_indexes.append($items.state_index) + $state_colors.append(str($items.state_color)) + #end for + #set state_indexes = ",".join($state_indexes) + #set state_colors = ",".join($state_colors) +#end if mkdir $input_dir_state && mkdir '$output_trackhub.files_path' && #for $i in $input: @@ -44,6 +56,10 @@ --output_trackhub_files_path '$output_trackhub.files_path' --output_trackhub_id '$__app__.security.encode_id($output_trackhub.id)' --short_label '$sanitized_short_label' +#if str($select_state_color) == 'yes': + --state_indexes '$state_indexes' + --state_colors '$state_colors' +#end if &>ideas_genome_tracks.log; if [[ $? -ne 0 ]]; then cp ideas_log.txt '$output_trackhub' @@ -53,6 +69,21 @@ + + + + + + + + + + + + + + +