

rsync -ruptl /var/www/html/rsat/perl-scripts/lib/js /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc


rsync -ruptl /var/www/html/rsat/public_html/images/program_icons/matrix-clustering_icons /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc


/var/www/html/rsat/perl-scripts/convert-matrix -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_query_matrices.tab -from tab -to tf -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_data/1.2096_input_motifs_processed_1.tf


/var/www/html/rsat/perl-scripts/convert-matrix -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_data/1.2096_input_motifs_processed_1.tf -from tf -to transfac -prefix_id 1.2096 -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_data/1.2096_input_motifs_processed.tf


cat /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_data/1.2096_input_motifs_processed.tf  > /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_data/input_motifs_processed.tf


/var/www/html/rsat/perl-scripts/convert-matrix -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_data/input_motifs_processed.tf -split -from tf -to tf -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_data/motif


 cat /var/www/html/rsat/R-scripts/matrix-clustering.R | /usr/bin/R --slave --no-save --no-restore --no-environ --args " infile = '/var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_tables/pairwise_compa.tab'; hclust.method = 'average'; description.file = '/var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_tables/pairwise_compa_matrix_descriptions.tab'; distance.table = '/var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_tables/distance_table.tab'; alignment.file = '/var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_tables/alignment_table.tab'; verbosity = 0; metric = 'Ncor'; heatmap.color.palette = 'YlOrRd'; heatmap.color.classes = '9'; export.newick = 0; radial.only = 0; draw.heatmap = 1; draw.consensus = 0; pos.hclust.in.heatmap = 'column'; lthsp = 'cor_0.6_Ncor_0.4_'; out.prefix = '/var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering'; "


/var/www/html/rsat/perl-scripts/convert-matrix -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_data/input_motifs_processed.tf -from tf -to tf -matrix_id_file /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_tables/cluster_1_motif_IDs.tab -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_data/cluster_1_transfac_motifs.tf


/var/www/html/rsat/perl-scripts/convert-matrix -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_data/input_motifs_processed.tf -from tf -to tf -matrix_id_file /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_tables/cluster_2_motif_IDs.tab -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_data/cluster_2_transfac_motifs.tf


/var/www/html/rsat/perl-scripts/convert-matrix -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_data/input_motifs_processed.tf -from tf -to tf -matrix_id_file /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_tables/cluster_3_motif_IDs.tab -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_data/cluster_3_transfac_motifs.tf


/var/www/html/rsat/perl-scripts/convert-matrix -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_data/input_motifs_processed.tf -from tf -to tf -matrix_id_file /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_tables/cluster_4_motif_IDs.tab -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_data/cluster_4_transfac_motifs.tf


cp /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_aligned_logos/1.2096_m7_matrix-clustering_query_matrices.tab_7_aligned.tf /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_3/cluster_3_matrices_temp.tf


cat /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_aligned_logos/1.2096_m2_matrix-clustering_query_matrices.tab_2_aligned.tf /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_aligned_logos/1.2096_m4_matrix-clustering_query_matrices.tab_4_aligned.tf >/var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_1/merged_consensuses/node_1/cluster_1_node_1_cat.tf


cat /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_aligned_logos/1.2096_m3_matrix-clustering_query_matrices.tab_3_aligned.tf /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_aligned_logos/1.2096_m5_matrix-clustering_query_matrices.tab_5_aligned.tf >/var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_2/merged_consensuses/node_1/cluster_2_node_1_cat.tf


/var/www/html/rsat/perl-scripts/convert-matrix -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_3/cluster_3_matrices_temp.tf -from tf -to tf  -attr name cluster_3 -attr accession cluster_3 -set_attr merged_AC '1.2096:::matrix-clustering_query_matrices.tab_7' -set_attr merged_ID 'matrix-clustering_query_matrices.tab_7' -set_attr type merge -set_attr merge_type sum -set_attr merge_nb 1 -v 1 -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_3/cluster_3_matrices.tf


/var/www/html/rsat/perl-scripts/merge-matrices -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_2/merged_consensuses/node_1/cluster_2_node_1_cat.tf -v 0 -in_format tf -out_format tf -id cluster_2 -name cluster_2 -calc sum -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_2/merged_consensuses/node_1/cluster_2_node_1_matrices.tf


/var/www/html/rsat/perl-scripts/merge-matrices -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_1/merged_consensuses/node_1/cluster_1_node_1_cat.tf -v 0 -in_format tf -out_format tf -id cluster_1 -name cluster_1 -calc sum -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_1/merged_consensuses/node_1/cluster_1_node_1_matrices.tf


/var/www/html/rsat/perl-scripts/convert-matrix -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_1/merged_consensuses/node_1/cluster_1_nb_motifs_2.tf -from tf -return info,header,margins -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/IC_test_2025-01-06.095811_LmTxBM


cat /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_3/cluster_3_matrices.tf >> /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_aligned_logos/All_concatenated_motifs.tf


/var/www/html/rsat/perl-scripts/convert-matrix -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_2/merged_consensuses/node_1/cluster_2_nb_motifs_2.tf -from tf -return info,header,margins -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/IC_test_2025-01-06.095811_G6MDe1


cat /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_1/merged_consensuses/node_1/cluster_1_node_1_trimmed_matrices.tf >> /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_aligned_logos/All_concatenated_motifs.tf


cat /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_2/merged_consensuses/node_1/cluster_2_node_1_trimmed_matrices.tf >> /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_aligned_logos/All_concatenated_motifs.tf


cp /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_aligned_logos/1.2096_m8_matrix-clustering_query_matrices.tab_8_aligned.tf /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_4/cluster_4_matrices_temp.tf


cat /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_aligned_logos/1.2096_m6_matrix-clustering_query_matrices.tab_6_aligned.tf /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_aligned_logos/1.2096_m2_matrix-clustering_query_matrices.tab_2_aligned.tf /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_aligned_logos/1.2096_m4_matrix-clustering_query_matrices.tab_4_aligned.tf >/var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_1/merged_consensuses/node_2/cluster_1_node_2_cat.tf


cat /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_aligned_logos/1.2096_m1_matrix-clustering_query_matrices.tab_1_aligned.tf /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_aligned_logos/1.2096_m3_matrix-clustering_query_matrices.tab_3_aligned.tf /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_aligned_logos/1.2096_m5_matrix-clustering_query_matrices.tab_5_aligned.tf >/var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_2/merged_consensuses/node_2/cluster_2_node_2_cat.tf


/var/www/html/rsat/perl-scripts/convert-matrix -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_4/cluster_4_matrices_temp.tf -from tf -to tf  -attr name cluster_4 -attr accession cluster_4 -set_attr merged_AC '1.2096:::matrix-clustering_query_matrices.tab_8' -set_attr merged_ID 'matrix-clustering_query_matrices.tab_8' -set_attr type merge -set_attr merge_type sum -set_attr merge_nb 1 -v 1 -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_4/cluster_4_matrices.tf


/var/www/html/rsat/perl-scripts/merge-matrices -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_1/merged_consensuses/node_2/cluster_1_node_2_cat.tf -v 0 -in_format tf -out_format tf -id cluster_1 -name cluster_1 -calc sum -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_1/merged_consensuses/node_2/cluster_1_node_2_matrices.tf


/var/www/html/rsat/perl-scripts/merge-matrices -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_2/merged_consensuses/node_2/cluster_2_node_2_cat.tf -v 0 -in_format tf -out_format tf -id cluster_2 -name cluster_2 -calc sum -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_2/merged_consensuses/node_2/cluster_2_node_2_matrices.tf


cat /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_4/cluster_4_matrices.tf >> /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_aligned_logos/All_concatenated_motifs.tf


/var/www/html/rsat/perl-scripts/convert-matrix -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_2/merged_consensuses/node_2/cluster_2_nb_motifs_3.tf -from tf -return info,header,margins -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/IC_test_2025-01-06.095812_bI0xZW


/var/www/html/rsat/perl-scripts/convert-matrix -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_1/merged_consensuses/node_2/cluster_1_nb_motifs_3.tf -from tf -return info,header,margins -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/IC_test_2025-01-06.095812_Ra3TPa


cat /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_2/merged_consensuses/node_2/cluster_2_node_2_trimmed_matrices.tf >> /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_aligned_logos/All_concatenated_motifs.tf


cat /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_clusters_information/cluster_1/merged_consensuses/node_2/cluster_1_node_2_trimmed_matrices.tf >> /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_aligned_logos/All_concatenated_motifs.tf


rm -r /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_pairwise_compa_logos


cp /var/www/html/rsat/public_html/templates_html/display_d3_tree.html /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_logo_tree.html


cp /var/www/html/rsat/public_html/templates_html/display_small_d3_tree.html /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_portable_logo_tree.html


mv /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_temporary.html /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_logo_tree.html


mv /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_temporary_2.html /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_portable_logo_tree.html


/var/www/html/rsat/perl-scripts/text-to-html -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_tables/pairwise_compa_matrix_descriptions.tab -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_html/pairwise_compa_matrix_descriptions.html


/var/www/html/rsat/perl-scripts/text-to-html -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_tables/distance_table.tab -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_tables/distance_table.html


/var/www/html/rsat/perl-scripts/text-to-html -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_tables/alignment_table.tab -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_tables/alignment_table.html


/var/www/html/rsat/perl-scripts/text-to-html -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_tables/clusters.tab -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_tables/clusters.html


/var/www/html/rsat/perl-scripts/text-to-html -i /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_tables/clusters_motif_names.tab -o /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_tables/clusters_motif_names.html


mv -f /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_temporary_2.html /var/www/html/rsat/public_html/tmp/www-data/2025/01/06/matrix-clustering_2025-01-06.095805_14AXdc/matrix-clustering_portable_logo_tree.html
