# HG changeset patch # User greg # Date 1502713873 14400 # Node ID 53891e4e4c6343013fd1c97aee4cf826e2bdca23 # Parent 0169856fe7bb5bfc165e3d1b9ffffb99a74c7ef3 Uploaded diff -r 0169856fe7bb -r 53891e4e4c63 ideas.xml --- a/ideas.xml Fri Aug 11 13:24:23 2017 -0400 +++ b/ideas.xml Mon Aug 14 08:31:13 2017 -0400 @@ -57,20 +57,25 @@ -norm #end if ############################################## +## Conform the prepMat config output to the +## format expected by the R matrix builder. +############################################## +&& cut -d' ' $prep_input_config -f1,2 > file1.txt +&& ls -p tmp/ | grep ".bed.gz" > file2.txt +&& paste <(cat file1.txt) <(cat file2.txt) > $prep_output_config +############################################## ## Build the R matrix from the prepMat output ############################################## ##&& Rscript '$__tool_directory__/build_matrix.R' ##-i $tmp_dir/*.bed.gz ##-o $ideas_matrix_input_file ##-w $ideas_input_dir -&& cut -d' ' $prep_input_config -f1,2 > file1.txt -&& ls -p tmp/ | grep ".bed.gz" > file2.txt -&& paste <(cat file1.txt) <(cat file2.txt) > $prep_output_config ############################################## ## Run IDEAS on the R matrix ############################################## && ideas '$prep_output_config' +$tmp_dir/*.bed #set smoother_annotation = $smoother_annotation_cond.smoother_annotation #if str($smoother_annotation) == 'yes': -hp @@ -122,9 +127,10 @@ #end if -thread \${GALAXY_SLOTS:-4} -o $prep_output_dir -&& mv $prep_output_dir/*.state $output_state +&& mv $prep_output_dir/*cluster $output_cluster && mv $prep_output_dir/*.para $output_para -&& mv $prep_output_dir/*cluster $output_cluster +&& mv $prep_output_dir/*.profile $output_profile +&& mv $prep_output_dir/*.state $output_state ]]> + + + - -