# HG changeset patch # User bgruening # Date 1391539517 18000 # Node ID d2898b81b912c873774fcc3145bb1054369a8b7f # Parent d7c9fd76e41e2fca853af2f84bc9505dbd1285e9 Uploaded diff -r d7c9fd76e41e -r d2898b81b912 Galaxy-Workflow-1_BAM_file_--_(clustered)_Heatmap_of_read_coverages.ga --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Galaxy-Workflow-1_BAM_file_--_(clustered)_Heatmap_of_read_coverages.ga Tue Feb 04 13:45:17 2014 -0500 @@ -0,0 +1,262 @@ +{ + "a_galaxy_workflow": "true", + "annotation": "1 BAM file from D.melanogaster will be normalized to 1x sequencing depth and a heatmap can be generated for a user-specified BED file (with genes being scaled to a length of 1.5kb)", + "format-version": "0.1", + "name": "1 BAM file -->(clustered) Heatmap of read coverages", + "steps": { + "0": { + "annotation": "sorted BAM file, e.g. Input from Data Library", + "id": 0, + "input_connections": {}, + "inputs": [ + { + "description": "sorted BAM file, e.g. Input from Data Library", + "name": "file of mapped reads" + } + ], + "name": "Input dataset", + "outputs": [], + "position": { + "left": 257.5, + "top": 480 + }, + "tool_errors": null, + "tool_id": null, + "tool_state": "{\"name\": \"file of mapped reads\"}", + "tool_version": null, + "type": "data_input", + "user_outputs": [] + }, + "1": { + "annotation": "BED or INTERVAL file of genome regions to plot the read coverage for", + "id": 1, + "input_connections": {}, + "inputs": [ + { + "description": "BED or INTERVAL file of genome regions to plot the read coverage for", + "name": "regions" + } + ], + "name": "Input dataset", + "outputs": [], + "position": { + "left": 583.5, + "top": 234 + }, + "tool_errors": null, + "tool_id": null, + "tool_state": "{\"name\": \"regions\"}", + "tool_version": null, + "type": "data_input", + "user_outputs": [] + }, + "2": { + "annotation": "this will generate a coverage file normalized to 1x sequencing depth (for D.melanogaster!)", + "id": 2, + "input_connections": { + "bamInput": { + "id": 0, + "output_name": "output" + } + }, + "inputs": [ + { + "description": "runtime parameter for tool bamCoverage", + "name": "region" + }, + { + "description": "runtime parameter for tool bamCoverage", + "name": "fragmentLength" + } + ], + "name": "bamCoverage", + "outputs": [ + { + "name": "outFileName", + "type": "bigwig" + } + ], + "position": { + "left": 491.6166687011719, + "top": 474.11669921875 + }, + "post_job_actions": { + "HideDatasetActionoutFileName": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileName" + }, + "RenameDatasetActionoutFileName": { + "action_arguments": { + "newname": "Drosophila coverage file" + }, + "action_type": "RenameDatasetAction", + "output_name": "outFileName" + } + }, + "tool_errors": null, + "tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/deeptools/deeptools_bamCoverage/1.0.4", + "tool_state": "{\"__page__\": 0, \"outFileFormat\": \"\\\"bigwig\\\"\", \"region\": \"{\\\"__class__\\\": \\\"RuntimeValue\\\"}\", \"bamInput\": \"null\", \"binSize\": \"\\\"50\\\"\", \"scaling\": \"{\\\"effectiveGenomeSize\\\": {\\\"effectiveGenomeSize_opt\\\": \\\"121400000\\\", \\\"__current_case__\\\": 3}, \\\"type\\\": \\\"1x\\\", \\\"__current_case__\\\": 2}\", \"__rerun_remap_job_id__\": null, \"advancedOpt\": \"{\\\"ignoreDuplicates\\\": \\\"True\\\", \\\"doNotExtendPairedEnds\\\": \\\"False\\\", \\\"smoothLength\\\": \\\"150\\\", \\\"showAdvancedOpt\\\": \\\"yes\\\", \\\"__current_case__\\\": 1, \\\"minMappingQuality\\\": \\\"10\\\"}\", \"fragmentLength\": \"{\\\"__class__\\\": \\\"RuntimeValue\\\"}\"}", + "tool_version": "1.0.4", + "type": "tool", + "user_outputs": [] + }, + "3": { + "annotation": "", + "id": 3, + "input_connections": { + "regionsFiles_0|regionsFile": { + "id": 1, + "output_name": "output" + }, + "scoreFile": { + "id": 2, + "output_name": "outFileName" + } + }, + "inputs": [], + "name": "computeMatrix", + "outputs": [ + { + "name": "outFileName", + "type": "bgzip" + }, + { + "name": "outFileNameData", + "type": "tabular" + }, + { + "name": "outFileSortedRegions", + "type": "bed" + }, + { + "name": "outFileNameMatrix", + "type": "tabular" + } + ], + "position": { + "left": 828.6166687011719, + "top": 358.1166687011719 + }, + "post_job_actions": { + "HideDatasetActionoutFileNameData": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileNameData" + }, + "HideDatasetActionoutFileNameMatrix": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileNameMatrix" + }, + "HideDatasetActionoutFileSortedRegions": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileSortedRegions" + }, + "RenameDatasetActionoutFileName": { + "action_arguments": { + "newname": "computeMatrix: matrix of coverage values for BED file" + }, + "action_type": "RenameDatasetAction", + "output_name": "outFileName" + } + }, + "tool_errors": null, + "tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/deeptools/deeptools_computeMatrix/1.0.4", + "tool_state": "{\"__page__\": 0, \"scoreFile\": \"null\", \"__rerun_remap_job_id__\": null, \"mode\": \"{\\\"startLabel\\\": \\\"TSS\\\", \\\"regionStartLength\\\": {\\\"afterRegionStartLength\\\": \\\"1000\\\", \\\"regionStartLength_select\\\": \\\"yes\\\", \\\"beforeRegionStartLength\\\": \\\"1000\\\", \\\"__current_case__\\\": 1}, \\\"__current_case__\\\": 0, \\\"endLabel\\\": \\\"TES\\\", \\\"regionBodyLength\\\": \\\"2000\\\", \\\"mode_select\\\": \\\"scale-regions\\\"}\", \"output\": \"{\\\"showOutputSettings\\\": \\\"no\\\", \\\"__current_case__\\\": 0}\", \"advancedOpt\": \"{\\\"averageTypeBins\\\": \\\"mean\\\", \\\"maxThreshold\\\": \\\"\\\", \\\"sortUsing\\\": \\\"mean\\\", \\\"skipZeros\\\": \\\"True\\\", \\\"binSize\\\": \\\"50\\\", \\\"showAdvancedOpt\\\": \\\"yes\\\", \\\"scale\\\": \\\"\\\", \\\"__current_case__\\\": 1, \\\"minThreshold\\\": \\\"\\\", \\\"sortRegions\\\": \\\"no\\\", \\\"missingDataAsZero\\\": \\\"True\\\"}\", \"regionsFiles\": \"[{\\\"__index__\\\": 0, \\\"regionsFile\\\": null, \\\"label\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}}]\"}", + "tool_version": "1.0.4", + "type": "tool", + "user_outputs": [] + }, + "4": { + "annotation": "create a heatmap, if wanted, kmeans clustering can be performed", + "id": 4, + "input_connections": { + "matrixFile": { + "id": 3, + "output_name": "outFileName" + } + }, + "inputs": [ + { + "description": "runtime parameter for tool heatmapper", + "name": "output" + }, + { + "description": "runtime parameter for tool heatmapper", + "name": "advancedOpt" + }, + { + "description": "runtime parameter for tool heatmapper", + "name": "advancedOpt" + }, + { + "description": "runtime parameter for tool heatmapper", + "name": "advancedOpt" + }, + { + "description": "runtime parameter for tool heatmapper", + "name": "advancedOpt" + }, + { + "description": "runtime parameter for tool heatmapper", + "name": "advancedOpt" + } + ], + "name": "heatmapper", + "outputs": [ + { + "name": "outFileName", + "type": "png" + }, + { + "name": "outFileNameData", + "type": "tabular" + }, + { + "name": "outFileSortedRegions", + "type": "bed" + }, + { + "name": "outFileNameMatrix", + "type": "tabular" + } + ], + "position": { + "left": 1139.5, + "top": 392 + }, + "post_job_actions": { + "HideDatasetActionoutFileNameData": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileNameData" + }, + "HideDatasetActionoutFileNameMatrix": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileNameMatrix" + }, + "HideDatasetActionoutFileSortedRegions": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileSortedRegions" + }, + "RenameDatasetActionoutFileName": { + "action_arguments": { + "newname": "Heatmap of treatment_control_log2ratios" + }, + "action_type": "RenameDatasetAction", + "output_name": "outFileName" + } + }, + "tool_errors": null, + "tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/deeptools/deeptools_heatmapper/1.0.4", + "tool_state": "{\"__page__\": 0, \"output\": \"{\\\"outFileFormat\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"saveMatrix\\\": \\\"False\\\", \\\"showOutputSettings\\\": \\\"yes\\\", \\\"saveSortedRegions\\\": \\\"False\\\", \\\"__current_case__\\\": 1, \\\"saveData\\\": \\\"False\\\"}\", \"advancedOpt\": \"{\\\"used_multiple_regions\\\": {\\\"clustering\\\": {\\\"k_kmeans\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"__current_case__\\\": 0, \\\"clustering_options\\\": \\\"kmeans\\\"}, \\\"used_multiple_regions_options\\\": \\\"no\\\", \\\"__current_case__\\\": 0}, \\\"yAxisLabel\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"xAxisLabel\\\": \\\"\\\", \\\"zMax\\\": \\\"\\\", \\\"heatmapWidth\\\": \\\"7.5\\\", \\\"sortUsing\\\": \\\"mean\\\", \\\"zMin\\\": \\\"\\\", \\\"plotTitle\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"averageTypeSummaryPlot\\\": \\\"mean\\\", \\\"whatToShow\\\": \\\"plot, heatmap and colorbar\\\", \\\"missingDataColor\\\": \\\"black\\\", \\\"referencePointLabel\\\": \\\"TSS\\\", \\\"yMin\\\": \\\"\\\", \\\"onePlotPerGroup\\\": \\\"False\\\", \\\"regionsLabel\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"yMax\\\": \\\"\\\", \\\"endLabel\\\": \\\"TES\\\", \\\"sortRegions\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"startLabel\\\": \\\"TSS\\\", \\\"colorMap\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"showAdvancedOpt\\\": \\\"yes\\\", \\\"__current_case__\\\": 1, \\\"heatmapHeight\\\": \\\"15.0\\\"}\", \"__rerun_remap_job_id__\": null, \"matrixFile\": \"null\"}", + "tool_version": "1.0.4", + "type": "tool", + "user_outputs": [] + } + } +} diff -r d7c9fd76e41e -r d2898b81b912 Galaxy-Workflow-2_BAM_files_--_(clustered)_Heatmap_of_read_coverages.ga --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Galaxy-Workflow-2_BAM_files_--_(clustered)_Heatmap_of_read_coverages.ga Tue Feb 04 13:45:17 2014 -0500 @@ -0,0 +1,293 @@ +{ + "a_galaxy_workflow": "true", + "annotation": "Normalizes 2 BAM files to each other (log2ratio of BAM-file 1 / BAM file 2). Then generates a heatmap for regions supplied in 1 BED file (clustering possible). Output: bigWig file, computeMatrix table, heatmapper image", + "format-version": "0.1", + "name": "2 BAM files -->(clustered) Heatmap of read coverages", + "steps": { + "0": { + "annotation": "sorted BAM file", + "id": 0, + "input_connections": {}, + "inputs": [ + { + "description": "sorted BAM file", + "name": "file 1 of mapped reads, e.g. treated sample" + } + ], + "name": "Input dataset", + "outputs": [], + "position": { + "left": 257.5, + "top": 480 + }, + "tool_errors": null, + "tool_id": null, + "tool_state": "{\"name\": \"file 1 of mapped reads, e.g. treated sample\"}", + "tool_version": null, + "type": "data_input", + "user_outputs": [] + }, + "1": { + "annotation": "BED or INTERVAL file of genome regions to plot the read coverage for", + "id": 1, + "input_connections": {}, + "inputs": [ + { + "description": "BED or INTERVAL file of genome regions to plot the read coverage for", + "name": "regions" + } + ], + "name": "Input dataset", + "outputs": [], + "position": { + "left": 590.5, + "top": 239 + }, + "tool_errors": null, + "tool_id": null, + "tool_state": "{\"name\": \"regions\"}", + "tool_version": null, + "type": "data_input", + "user_outputs": [] + }, + "2": { + "annotation": "sorted BAM file", + "id": 2, + "input_connections": {}, + "inputs": [ + { + "description": "sorted BAM file", + "name": "file 2 of mapped reads, e.g. control sample" + } + ], + "name": "Input dataset", + "outputs": [], + "position": { + "left": 276.5, + "top": 594.5 + }, + "tool_errors": null, + "tool_id": null, + "tool_state": "{\"name\": \"file 2 of mapped reads, e.g. control sample\"}", + "tool_version": null, + "type": "data_input", + "user_outputs": [] + }, + "3": { + "annotation": "generates a normalized coverage file (bigWig format)", + "id": 3, + "input_connections": { + "bamFile1": { + "id": 0, + "output_name": "output" + }, + "bamFile2": { + "id": 2, + "output_name": "output" + } + }, + "inputs": [ + { + "description": "runtime parameter for tool bamCompare", + "name": "region" + }, + { + "description": "runtime parameter for tool bamCompare", + "name": "advancedOpt" + }, + { + "description": "runtime parameter for tool bamCompare", + "name": "fragmentLength" + } + ], + "name": "bamCompare", + "outputs": [ + { + "name": "outFileName", + "type": "bigwig" + } + ], + "position": { + "left": 476.5, + "top": 486.5 + }, + "post_job_actions": { + "HideDatasetActionoutFileName": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileName" + }, + "RenameDatasetActionoutFileName": { + "action_arguments": { + "newname": "BAM1_vs_BAM2_log2ratio.bigwig" + }, + "action_type": "RenameDatasetAction", + "output_name": "outFileName" + } + }, + "tool_errors": null, + "tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/deeptools/deeptools_bamCompare/1.0.4", + "tool_state": "{\"comparison\": \"{\\\"type\\\": \\\"log2\\\", \\\"__current_case__\\\": 0}\", \"bamFile2\": \"null\", \"outFileFormat\": \"\\\"bigwig\\\"\", \"bamFile1\": \"null\", \"__page__\": 0, \"region\": \"{\\\"__class__\\\": \\\"RuntimeValue\\\"}\", \"binSize\": \"\\\"50\\\"\", \"scaling\": \"{\\\"method\\\": \\\"readCount\\\", \\\"__current_case__\\\": 1}\", \"__rerun_remap_job_id__\": null, \"advancedOpt\": \"{\\\"ignoreDuplicates\\\": \\\"True\\\", \\\"ignoreForNormalization\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"doNotExtendPairedEnds\\\": \\\"False\\\", \\\"missingDataAsZero\\\": \\\"True\\\", \\\"smoothLength\\\": \\\"150\\\", \\\"showAdvancedOpt\\\": \\\"yes\\\", \\\"__current_case__\\\": 1, \\\"minMappingQuality\\\": \\\"10\\\"}\", \"fragmentLength\": \"{\\\"__class__\\\": \\\"RuntimeValue\\\"}\"}", + "tool_version": "1.0.4", + "type": "tool", + "user_outputs": [] + }, + "4": { + "annotation": "", + "id": 4, + "input_connections": { + "regionsFiles_0|regionsFile": { + "id": 1, + "output_name": "output" + }, + "scoreFile": { + "id": 3, + "output_name": "outFileName" + } + }, + "inputs": [], + "name": "computeMatrix", + "outputs": [ + { + "name": "outFileName", + "type": "bgzip" + }, + { + "name": "outFileNameData", + "type": "tabular" + }, + { + "name": "outFileSortedRegions", + "type": "bed" + }, + { + "name": "outFileNameMatrix", + "type": "tabular" + } + ], + "position": { + "left": 835.61669921875, + "top": 364.1166687011719 + }, + "post_job_actions": { + "HideDatasetActionoutFileNameData": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileNameData" + }, + "HideDatasetActionoutFileNameMatrix": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileNameMatrix" + }, + "HideDatasetActionoutFileSortedRegions": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileSortedRegions" + }, + "RenameDatasetActionoutFileName": { + "action_arguments": { + "newname": "computeMatrix: matrix of coverage values for BED file" + }, + "action_type": "RenameDatasetAction", + "output_name": "outFileName" + } + }, + "tool_errors": null, + "tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/deeptools/deeptools_computeMatrix/1.0.4", + "tool_state": "{\"__page__\": 0, \"scoreFile\": \"null\", \"__rerun_remap_job_id__\": null, \"mode\": \"{\\\"startLabel\\\": \\\"TSS\\\", \\\"regionStartLength\\\": {\\\"afterRegionStartLength\\\": \\\"1000\\\", \\\"regionStartLength_select\\\": \\\"yes\\\", \\\"beforeRegionStartLength\\\": \\\"1000\\\", \\\"__current_case__\\\": 1}, \\\"__current_case__\\\": 0, \\\"endLabel\\\": \\\"TES\\\", \\\"regionBodyLength\\\": \\\"2000\\\", \\\"mode_select\\\": \\\"scale-regions\\\"}\", \"output\": \"{\\\"showOutputSettings\\\": \\\"no\\\", \\\"__current_case__\\\": 0}\", \"advancedOpt\": \"{\\\"averageTypeBins\\\": \\\"mean\\\", \\\"maxThreshold\\\": \\\"\\\", \\\"sortUsing\\\": \\\"mean\\\", \\\"skipZeros\\\": \\\"True\\\", \\\"binSize\\\": \\\"50\\\", \\\"showAdvancedOpt\\\": \\\"yes\\\", \\\"scale\\\": \\\"\\\", \\\"__current_case__\\\": 1, \\\"minThreshold\\\": \\\"\\\", \\\"sortRegions\\\": \\\"no\\\", \\\"missingDataAsZero\\\": \\\"True\\\"}\", \"regionsFiles\": \"[{\\\"__index__\\\": 0, \\\"regionsFile\\\": null, \\\"label\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}}]\"}", + "tool_version": "1.0.4", + "type": "tool", + "user_outputs": [] + }, + "5": { + "annotation": "create a heatmap, if wanted, kmeans clustering can be performed", + "id": 5, + "input_connections": { + "matrixFile": { + "id": 4, + "output_name": "outFileName" + } + }, + "inputs": [ + { + "description": "runtime parameter for tool heatmapper", + "name": "output" + }, + { + "description": "runtime parameter for tool heatmapper", + "name": "advancedOpt" + }, + { + "description": "runtime parameter for tool heatmapper", + "name": "advancedOpt" + }, + { + "description": "runtime parameter for tool heatmapper", + "name": "advancedOpt" + }, + { + "description": "runtime parameter for tool heatmapper", + "name": "advancedOpt" + }, + { + "description": "runtime parameter for tool heatmapper", + "name": "advancedOpt" + } + ], + "name": "heatmapper", + "outputs": [ + { + "name": "outFileName", + "type": "png" + }, + { + "name": "outFileNameData", + "type": "tabular" + }, + { + "name": "outFileSortedRegions", + "type": "bed" + }, + { + "name": "outFileNameMatrix", + "type": "tabular" + } + ], + "position": { + "left": 1144.5, + "top": 397 + }, + "post_job_actions": { + "HideDatasetActionoutFileNameData": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileNameData" + }, + "HideDatasetActionoutFileNameMatrix": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileNameMatrix" + }, + "HideDatasetActionoutFileSortedRegions": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileSortedRegions" + }, + "RenameDatasetActionoutFileName": { + "action_arguments": { + "newname": "Heatmap of treatment_control_log2ratios" + }, + "action_type": "RenameDatasetAction", + "output_name": "outFileName" + } + }, + "tool_errors": null, + "tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/deeptools/deeptools_heatmapper/1.0.4", + "tool_state": "{\"__page__\": 0, \"output\": \"{\\\"outFileFormat\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"saveMatrix\\\": \\\"False\\\", \\\"showOutputSettings\\\": \\\"yes\\\", \\\"saveSortedRegions\\\": \\\"False\\\", \\\"__current_case__\\\": 1, \\\"saveData\\\": \\\"False\\\"}\", \"advancedOpt\": \"{\\\"used_multiple_regions\\\": {\\\"clustering\\\": {\\\"k_kmeans\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"__current_case__\\\": 0, \\\"clustering_options\\\": \\\"kmeans\\\"}, \\\"used_multiple_regions_options\\\": \\\"no\\\", \\\"__current_case__\\\": 0}, \\\"yAxisLabel\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"xAxisLabel\\\": \\\"\\\", \\\"zMax\\\": \\\"\\\", \\\"heatmapWidth\\\": \\\"7.5\\\", \\\"sortUsing\\\": \\\"mean\\\", \\\"zMin\\\": \\\"\\\", \\\"plotTitle\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"averageTypeSummaryPlot\\\": \\\"mean\\\", \\\"whatToShow\\\": \\\"plot, heatmap and colorbar\\\", \\\"missingDataColor\\\": \\\"black\\\", \\\"referencePointLabel\\\": \\\"TSS\\\", \\\"yMin\\\": \\\"\\\", \\\"onePlotPerGroup\\\": \\\"False\\\", \\\"regionsLabel\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"yMax\\\": \\\"\\\", \\\"endLabel\\\": \\\"TES\\\", \\\"sortRegions\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"startLabel\\\": \\\"TSS\\\", \\\"colorMap\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"showAdvancedOpt\\\": \\\"yes\\\", \\\"__current_case__\\\": 1, \\\"heatmapHeight\\\": \\\"15.0\\\"}\", \"__rerun_remap_job_id__\": null, \"matrixFile\": \"null\"}", + "tool_version": "1.0.4", + "type": "tool", + "user_outputs": [] + } + } +} \ No newline at end of file diff -r d7c9fd76e41e -r d2898b81b912 Galaxy-Workflow-Add__chr__to_first_column_of_a_BED_file_(must_have_6_columns).ga --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Galaxy-Workflow-Add__chr__to_first_column_of_a_BED_file_(must_have_6_columns).ga Tue Feb 04 13:45:17 2014 -0500 @@ -0,0 +1,145 @@ +{ + "a_galaxy_workflow": "true", + "annotation": "", + "format-version": "0.1", + "name": "Add 'chr' to first column of a BED file (must have 6 columns)", + "steps": { + "0": { + "annotation": "The BED file MUST have 6 columns. Otherwise this workflow will fail.", + "id": 0, + "input_connections": {}, + "inputs": [ + { + "description": "The BED file MUST have 6 columns. Otherwise this workflow will fail.", + "name": "BED file" + } + ], + "name": "Input dataset", + "outputs": [], + "position": { + "left": 200, + "top": 193 + }, + "tool_errors": null, + "tool_id": null, + "tool_state": "{\"name\": \"BED file\"}", + "tool_version": null, + "type": "data_input", + "user_outputs": [] + }, + "1": { + "annotation": "", + "id": 1, + "input_connections": { + "input": { + "id": 0, + "output_name": "output" + } + }, + "inputs": [], + "name": "Add column", + "outputs": [ + { + "name": "out_file1", + "type": "input" + } + ], + "position": { + "left": 423, + "top": 200 + }, + "post_job_actions": { + "HideDatasetActionout_file1": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "out_file1" + } + }, + "tool_errors": null, + "tool_id": "addValue", + "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"exp\": \"\\\"chr\\\"\", \"iterate\": \"\\\"no\\\"\", \"input\": \"null\", \"chromInfo\": \"\\\"/data2/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/mm9.len\\\"\"}", + "tool_version": "1.0.0", + "type": "tool", + "user_outputs": [] + }, + "2": { + "annotation": "", + "id": 2, + "input_connections": { + "input1": { + "id": 1, + "output_name": "out_file1" + } + }, + "inputs": [], + "name": "Merge Columns", + "outputs": [ + { + "name": "out_file1", + "type": "tabular" + } + ], + "position": { + "left": 657, + "top": 211 + }, + "post_job_actions": { + "HideDatasetActionout_file1": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "out_file1" + } + }, + "tool_errors": null, + "tool_id": "mergeCols1", + "tool_state": "{\"__page__\": 0, \"input1\": \"null\", \"__rerun_remap_job_id__\": null, \"col2\": \"{\\\"__class__\\\": \\\"UnvalidatedValue\\\", \\\"value\\\": \\\"1\\\"}\", \"col1\": \"{\\\"__class__\\\": \\\"UnvalidatedValue\\\", \\\"value\\\": \\\"7\\\"}\", \"chromInfo\": \"\\\"/data2/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/mm9.len\\\"\", \"columns\": \"[]\"}", + "tool_version": "1.0.1", + "type": "tool", + "user_outputs": [] + }, + "3": { + "annotation": "", + "id": 3, + "input_connections": { + "input": { + "id": 2, + "output_name": "out_file1" + } + }, + "inputs": [], + "name": "Cut", + "outputs": [ + { + "name": "out_file1", + "type": "tabular" + } + ], + "position": { + "left": 872, + "top": 205 + }, + "post_job_actions": { + "ChangeDatatypeActionout_file1": { + "action_arguments": { + "newtype": "interval" + }, + "action_type": "ChangeDatatypeAction", + "output_name": "out_file1" + }, + "RenameDatasetActionout_file1": { + "action_arguments": { + "newname": "added \"chr\" to chromosome name" + }, + "action_type": "RenameDatasetAction", + "output_name": "out_file1" + } + }, + "tool_errors": null, + "tool_id": "Cut1", + "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"delimiter\": \"\\\"T\\\"\", \"columnList\": \"\\\"c8,c2,c3,c4,c5,c6\\\"\", \"input\": \"null\", \"chromInfo\": \"\\\"/data2/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/mm9.len\\\"\"}", + "tool_version": "1.0.2", + "type": "tool", + "user_outputs": [] + } + } +} \ No newline at end of file diff -r d7c9fd76e41e -r d2898b81b912 Galaxy-Workflow-Clustered_heatmap_of_signals_around_the_TSSs.ga --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Galaxy-Workflow-Clustered_heatmap_of_signals_around_the_TSSs.ga Tue Feb 04 13:45:17 2014 -0500 @@ -0,0 +1,205 @@ +{ + "a_galaxy_workflow": "true", + "annotation": "1 bigWig, 1 \nBED --> clustered heatmap", + "format-version": "0.1", + "name": "Clustered heatmap of signals around the TSSs", + "steps": { + "0": { + "annotation": "Gene list must:\na) match the genome of the score file\nb) be in INTERVAL or BED format with the STRAND being specified", + "id": 0, + "input_connections": {}, + "inputs": [ + { + "description": "Gene list must:\na) match the genome of the score file\nb) be in INTERVAL or BED format with the STRAND being specified", + "name": "Genes" + } + ], + "name": "Input dataset", + "outputs": [], + "position": { + "left": 175, + "top": 186.5 + }, + "tool_errors": null, + "tool_id": null, + "tool_state": "{\"name\": \"Genes\"}", + "tool_version": null, + "type": "data_input", + "user_outputs": [] + }, + "1": { + "annotation": "must be in bigWig format, score can be anything: read coverages, GC content...", + "id": 1, + "input_connections": {}, + "inputs": [ + { + "description": "must be in bigWig format, score can be anything: read coverages, GC content...", + "name": "score file" + } + ], + "name": "Input dataset", + "outputs": [], + "position": { + "left": 168, + "top": 304.5 + }, + "tool_errors": null, + "tool_id": null, + "tool_state": "{\"name\": \"score file\"}", + "tool_version": null, + "type": "data_input", + "user_outputs": [] + }, + "2": { + "annotation": "computes the matrix for the heatmap", + "id": 2, + "input_connections": { + "regionsFiles_0|regionsFile": { + "id": 0, + "output_name": "output" + }, + "scoreFile": { + "id": 1, + "output_name": "output" + } + }, + "inputs": [ + { + "description": "runtime parameter for tool computeMatrix", + "name": "mode" + }, + { + "description": "runtime parameter for tool computeMatrix", + "name": "mode" + } + ], + "name": "computeMatrix", + "outputs": [ + { + "name": "outFileName", + "type": "bgzip" + }, + { + "name": "outFileNameData", + "type": "tabular" + }, + { + "name": "outFileSortedRegions", + "type": "bed" + }, + { + "name": "outFileNameMatrix", + "type": "tabular" + } + ], + "position": { + "left": 490.6166687011719, + "top": 485.11669921875 + }, + "post_job_actions": { + "HideDatasetActionoutFileNameData": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileNameData" + }, + "HideDatasetActionoutFileNameMatrix": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileNameMatrix" + }, + "HideDatasetActionoutFileSortedRegions": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileSortedRegions" + } + }, + "tool_errors": null, + "tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/deeptools/deeptools_computeMatrix/1.0.3", + "tool_state": "{\"__page__\": 0, \"scoreFile\": \"null\", \"__rerun_remap_job_id__\": null, \"mode\": \"{\\\"afterRegionStartLength\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"beforeRegionStartLength\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"nanAfterEnd\\\": \\\"False\\\", \\\"__current_case__\\\": 1, \\\"referencePoint\\\": \\\"TSS\\\", \\\"mode_select\\\": \\\"reference-point\\\"}\", \"output\": \"{\\\"saveMatrix\\\": \\\"False\\\", \\\"saveSortedRegions\\\": \\\"True\\\", \\\"showOutputSettings\\\": \\\"yes\\\", \\\"__current_case__\\\": 1, \\\"saveData\\\": \\\"False\\\"}\", \"advancedOpt\": \"{\\\"averageTypeBins\\\": \\\"mean\\\", \\\"maxThreshold\\\": \\\"\\\", \\\"sortUsing\\\": \\\"mean\\\", \\\"skipZeros\\\": \\\"True\\\", \\\"binSize\\\": \\\"50\\\", \\\"showAdvancedOpt\\\": \\\"yes\\\", \\\"scale\\\": \\\"\\\", \\\"__current_case__\\\": 1, \\\"minThreshold\\\": \\\"\\\", \\\"sortRegions\\\": \\\"no\\\", \\\"missingDataAsZero\\\": \\\"True\\\"}\", \"regionsFiles\": \"[{\\\"__index__\\\": 0, \\\"regionsFile\\\": null, \\\"label\\\": \\\"Genes\\\"}]\"}", + "tool_version": "1.0.3", + "type": "tool", + "user_outputs": [] + }, + "3": { + "annotation": "", + "id": 3, + "input_connections": { + "matrixFile": { + "id": 2, + "output_name": "outFileName" + } + }, + "inputs": [ + { + "description": "runtime parameter for tool heatmapper", + "name": "output" + }, + { + "description": "runtime parameter for tool heatmapper", + "name": "advancedOpt" + }, + { + "description": "runtime parameter for tool heatmapper", + "name": "advancedOpt" + }, + { + "description": "runtime parameter for tool heatmapper", + "name": "advancedOpt" + } + ], + "name": "heatmapper", + "outputs": [ + { + "name": "outFileName", + "type": "png" + }, + { + "name": "outFileNameData", + "type": "tabular" + }, + { + "name": "outFileSortedRegions", + "type": "bed" + }, + { + "name": "outFileNameMatrix", + "type": "tabular" + } + ], + "position": { + "left": 834, + "top": 487.5 + }, + "post_job_actions": { + "HideDatasetActionoutFileNameData": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileNameData" + }, + "HideDatasetActionoutFileNameMatrix": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileNameMatrix" + }, + "HideDatasetActionoutFileSortedRegions": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileSortedRegions" + }, + "RenameDatasetActionoutFileName": { + "action_arguments": { + "newname": "Heatmap of scores around the TSS" + }, + "action_type": "RenameDatasetAction", + "output_name": "outFileName" + } + }, + "tool_errors": null, + "tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/deeptools/deeptools_heatmapper/1.0.3", + "tool_state": "{\"__page__\": 0, \"output\": \"{\\\"outFileFormat\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"saveMatrix\\\": \\\"False\\\", \\\"showOutputSettings\\\": \\\"yes\\\", \\\"saveSortedRegions\\\": \\\"False\\\", \\\"__current_case__\\\": 1, \\\"saveData\\\": \\\"False\\\"}\", \"advancedOpt\": \"{\\\"used_multiple_regions\\\": {\\\"clustering\\\": {\\\"k_kmeans\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"__current_case__\\\": 0, \\\"clustering_options\\\": \\\"kmeans\\\"}, \\\"used_multiple_regions_options\\\": \\\"no\\\", \\\"__current_case__\\\": 0}, \\\"yAxisLabel\\\": \\\"genes\\\", \\\"xAxisLabel\\\": \\\"distance from TSS (bp)\\\", \\\"zMax\\\": \\\"\\\", \\\"heatmapWidth\\\": \\\"7.5\\\", \\\"sortUsing\\\": \\\"mean\\\", \\\"zMin\\\": \\\"\\\", \\\"plotTitle\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"averageTypeSummaryPlot\\\": \\\"mean\\\", \\\"whatToShow\\\": \\\"plot, heatmap and colorbar\\\", \\\"missingDataColor\\\": \\\"black\\\", \\\"referencePointLabel\\\": \\\"TSS\\\", \\\"yMin\\\": \\\"\\\", \\\"onePlotPerGroup\\\": \\\"False\\\", \\\"regionsLabel\\\": \\\"genes\\\", \\\"yMax\\\": \\\"\\\", \\\"endLabel\\\": \\\"TES\\\", \\\"sortRegions\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"startLabel\\\": \\\"TSS\\\", \\\"colorMap\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"showAdvancedOpt\\\": \\\"yes\\\", \\\"__current_case__\\\": 1, \\\"heatmapHeight\\\": \\\"15.0\\\"}\", \"__rerun_remap_job_id__\": null, \"matrixFile\": \"null\"}", + "tool_version": "1.0.3", + "type": "tool", + "user_outputs": [] + } + } +} \ No newline at end of file diff -r d7c9fd76e41e -r d2898b81b912 Galaxy-Workflow-Compute_and_correct_GC_bias.ga --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Galaxy-Workflow-Compute_and_correct_GC_bias.ga Tue Feb 04 13:45:17 2014 -0500 @@ -0,0 +1,145 @@ +{ + "a_galaxy_workflow": "true", + "annotation": "", + "format-version": "0.1", + "name": "Compute and correct GC bias", + "steps": { + "0": { + "annotation": "must be a sorted BAM file", + "id": 0, + "input_connections": {}, + "inputs": [ + { + "description": "must be a sorted BAM file", + "name": "BAM file to be checked for GC bias" + } + ], + "name": "Input dataset", + "outputs": [], + "position": { + "left": 111, + "top": 420 + }, + "tool_errors": null, + "tool_id": null, + "tool_state": "{\"name\": \"BAM file to be checked for GC bias\"}", + "tool_version": null, + "type": "data_input", + "user_outputs": [] + }, + "1": { + "annotation": "**Computationall;y intensive**", + "id": 1, + "input_connections": { + "bamInput": { + "id": 0, + "output_name": "output" + } + }, + "inputs": [ + { + "description": "runtime parameter for tool computeGCBias", + "name": "region" + }, + { + "description": "runtime parameter for tool computeGCBias", + "name": "source" + }, + { + "description": "runtime parameter for tool computeGCBias", + "name": "effectiveGenomeSize" + }, + { + "description": "runtime parameter for tool computeGCBias", + "name": "image_format" + }, + { + "description": "runtime parameter for tool computeGCBias", + "name": "fragmentLength" + } + ], + "name": "computeGCBias", + "outputs": [ + { + "name": "outFileName", + "type": "tabular" + }, + { + "name": "outImageName", + "type": "png" + } + ], + "position": { + "left": 383.6166687011719, + "top": 270.1166687011719 + }, + "post_job_actions": { + "HideDatasetActionoutFileName": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outFileName" + } + }, + "tool_errors": null, + "tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/deeptools/deeptools_computeGCBias/1.0.3", + "tool_state": "{\"__page__\": 0, \"region\": \"{\\\"__class__\\\": \\\"RuntimeValue\\\"}\", \"bamInput\": \"null\", \"source\": \"{\\\"input1_2bit\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"ref_source\\\": \\\"cached\\\", \\\"__current_case__\\\": 0}\", \"__rerun_remap_job_id__\": null, \"effectiveGenomeSize\": \"{\\\"effectiveGenomeSize_opt\\\": \\\"specific\\\", \\\"effectiveGenomeSize\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"__current_case__\\\": 0}\", \"advancedOpt\": \"{\\\"filterOut\\\": null, \\\"extraSampling\\\": null, \\\"showAdvancedOpt\\\": \\\"yes\\\", \\\"sampleSize\\\": \\\"50000000\\\", \\\"__current_case__\\\": 1, \\\"regionSize\\\": \\\"300\\\"}\", \"image_format\": \"{\\\"__class__\\\": \\\"RuntimeValue\\\"}\", \"fragmentLength\": \"{\\\"__class__\\\": \\\"RuntimeValue\\\"}\"}", + "tool_version": "1.0.3", + "type": "tool", + "user_outputs": [] + }, + "2": { + "annotation": "", + "id": 2, + "input_connections": { + "GCbiasFrequenciesFile": { + "id": 1, + "output_name": "outFileName" + }, + "bamInput": { + "id": 0, + "output_name": "output" + } + }, + "inputs": [ + { + "description": "runtime parameter for tool correctGCBias", + "name": "region" + }, + { + "description": "runtime parameter for tool correctGCBias", + "name": "source" + }, + { + "description": "runtime parameter for tool correctGCBias", + "name": "effectiveGenomeSize" + } + ], + "name": "correctGCBias", + "outputs": [ + { + "name": "outFileName", + "type": "bam" + } + ], + "position": { + "left": 779.61669921875, + "top": 334.1166687011719 + }, + "post_job_actions": { + "RenameDatasetActionoutFileName": { + "action_arguments": { + "newname": "GCcorrected BAM file" + }, + "action_type": "RenameDatasetAction", + "output_name": "outFileName" + } + }, + "tool_errors": null, + "tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/deeptools/deeptools_correctGCBias/1.0.3", + "tool_state": "{\"__page__\": 0, \"region\": \"{\\\"__class__\\\": \\\"RuntimeValue\\\"}\", \"bamInput\": \"null\", \"source\": \"{\\\"input1_2bit\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"ref_source\\\": \\\"cached\\\", \\\"__current_case__\\\": 0}\", \"effectiveGenomeSize\": \"{\\\"effectiveGenomeSize_opt\\\": \\\"specific\\\", \\\"effectiveGenomeSize\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"__current_case__\\\": 0}\", \"GCbiasFrequenciesFile\": \"null\", \"advancedOpt\": \"{\\\"showAdvancedOpt\\\": \\\"yes\\\", \\\"__current_case__\\\": 1, \\\"binSize\\\": \\\"50\\\"}\", \"__rerun_remap_job_id__\": null}", + "tool_version": "1.0.3", + "type": "tool", + "user_outputs": [] + } + } +} \ No newline at end of file diff -r d7c9fd76e41e -r d2898b81b912 bamCompare.xml --- a/bamCompare.xml Tue Feb 04 09:12:07 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,220 +0,0 @@ - - normalizes and compares two BAM files to obtain the ratio, log2ratio or difference. (bam2bigwig) - - - - bamCompare - deepTools_macros.xml - - - bamCompare - - @THREADS@ - - --bamfile1 '$bamFile1' - -bai1 '${bamFile1.metadata.bam_index}' - --bamfile2 '$bamFile2' - -bai2 '${bamFile2.metadata.bam_index}' - - --outFileName '$outFileName' - --outFileFormat '$outFileFormat' - - --fragmentLength $fragmentLength - --binSize $binSize - - #if $scaling.method == 'SES': - --scaleFactorsMethod SES - --sampleLength $scaling.sampleLength - #elif $scaling.method == 'readCount': - --scaleFactorsMethod readCount - #elif $scaling.method == 'own': - --scaleFactors '$scaling.scaleFactor1:$scaling.scaleFactor2' - #end if - - --ratio $comparison.type - - #if $comparison.type=='subtract': - #if $comparison.normalization.type=='rpkm': - --normalizeUsingRPKM - #elif $comparison.normalization.type=='1x': - - #if $comparison.normalization.effectiveGenomeSize.effectiveGenomeSize_opt == "specific": - --normalizeTo1x $comparison.normalization.effectiveGenomeSize.effectiveGenomeSize - #else: - --normalizeTo1x $comparison.normalization.effectiveGenomeSize.effectiveGenomeSize_opt - #end if - - #end if - #end if - - #if str($region).strip() != '': - --region '$region' - #end if - - #if $advancedOpt.showAdvancedOpt == "yes": - #if $advancedOpt.smoothLength: - --smoothLength '$advancedOpt.smoothLength' - #end if - - $advancedOpt.doNotExtendPairedEnds - $advancedOpt.ignoreDuplicates - - #if $advancedOpt.minMappingQuality: - --minMappingQuality '$advancedOpt.minMappingQuality' - #end if - - --missingDataAsZero $advancedOpt.missingDataAsZero - - #if str($advancedOpt.ignoreForNormalization).strip() != '': - --ignoreForNormalization $advancedOpt.ignoreForNormalization - #end if - - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -**What it does** - -This tool compares two BAM files based on the number of mapped reads. To -compare the BAM files, the genome is partitioned into bins of equal size, -the reads are counted for each bin and each BAM file and finally, a summarizing value is reported. -This value can be the ratio of the number of reads per bin, the log2 of the ratio or the difference. -This tool can normalize the number of reads on each BAM file using the SES method -proposed by Diaz et al. (2012). Stat Appl Genet Mol Biol 11(3). Normalization based on read counts is also available. The -output is either a bedGraph or a bigWig file containing the bin location and -the resulting comparison values. -If paired-end reads are present, the fragment -length reported in the BAM file is used by default. - - -.. image:: $PATH_TO_IMAGES/norm_IGVsnapshot_indFiles.png - - -You can find more details on the bamCompare wiki page: https://github.com/fidelram/deepTools/wiki/Normalizations#wiki-bamCompare - - -**Output files**: - -- same as for bamCoverage, except that you now obtain 1 coverage file that is based on 2 BAM files. - ------ - -@REFERENCES@ - - - diff -r d7c9fd76e41e -r d2898b81b912 bamCorrelate.xml --- a/bamCorrelate.xml Tue Feb 04 09:12:07 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,167 +0,0 @@ - - correlates pairs of BAM files - - - - bamCorrelate - deepTools_macros.xml - - - #set files=[] - #set labels=[] - - @multiple_input_bams@ - - bamCorrelate - - $mode.modeOpt - - @THREADS@ - - --bamfiles #echo " ".join($files) - --labels #echo " ".join($labels) - --fragmentLength $fragmentLength - --corMethod $corMethod - - --plotFile $outFileName - - #if $output.showOutputSettings == "yes" - --outRawCounts '$outFileRawCounts' - --outFileCorMatrix '$outFileCorMatrix' - --plotFileFormat $output.outFileFormat - #else: - --plotFileFormat 'png' - #end if - - #if $mode.modeOpt == "bins": - --binSize '$mode.binSize' - --numberOfSamples '$mode.numberOfSamples' - #else: - --BED $mode.region_file - #end if - - #### options available in both modes - #if str($mode.region.value) != '': - --region '$mode.region' - #end if - - #if $mode.advancedOpt.showAdvancedOpt == "yes": - - $mode.advancedOpt.doNotExtendPairedEnds - $mode.advancedOpt.ignoreDuplicates - $mode.advancedOpt.includeZeros - - #if $mode.advancedOpt.minMappingQuality: - --minMappingQuality '$mode.advancedOpt.minMappingQuality' - #end if - - #if $mode.advancedOpt.zMin: - --zMin $mode.advancedOpt.zMin - #end if - #if $mode.advancedOpt.zMax: - --zMax $mode.advancedOpt.zMax - #end if - --colorMap '$mode.advancedOpt.colorMap' - - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (( - output['showOutputSettings'] == 'yes' and - output['saveRawCounts'] is True - )) - - - - - (( - output['showOutputSettings'] == 'yes' and - output['saveCorMatrix'] is True - )) - - - - - -**What it does** - -This tool is useful to assess the overall similarity of different BAM files. A typical application -is to check the correlation between replicates or published data sets. - -The tool splits the genomes into bins of given length. For each bin, the number of reads -found in each BAM file is counted and a correlation (either Pearson or Spearman) is computed for all -pairs of BAM files. Finally, a heatmap is drawn based on the similarity of the samples. - - -.. image:: $PATH_TO_IMAGES/QC_bamCorrelate_humanSamples.png - :alt: Heatmap of RNA Polymerase II ChIP-seq - - -You can find more details on the bamCorrelate wiki page: https://github.com/fidelram/deepTools/wiki/QC#wiki-bamCorrelate - - -**Output files**: - -- **diagnostic plot**: clustered heatmap displaying the values for each pair-wise correlation, see below for an example -- data matrix (optional): if you want to plot the correlation values using a different program, e.g. R, this matrix can be used - - ------ - -@REFERENCES@ - - - diff -r d7c9fd76e41e -r d2898b81b912 bamCoverage.xml --- a/bamCoverage.xml Tue Feb 04 09:12:07 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,157 +0,0 @@ - - generates a coverage bigWig file from a given BAM file. Multiple options are available to count reads and normalize coverage. (bam2bigwig) - - - - bamCoverage - deepTools_macros.xml - - - bamCoverage - - @THREADS@ - - --bam '$bamInput' - --bamIndex ${bamInput.metadata.bam_index} - --outFileName '$outFileName' - --outFileFormat '$outFileFormat' - - --fragmentLength $fragmentLength - --binSize $binSize - - #if $scaling.type=='rpkm': - --normalizeUsingRPKM - #elif $scaling.type=='1x': - #if $scaling.effectiveGenomeSize.effectiveGenomeSize_opt == "specific": - --normalizeTo1x $scaling.effectiveGenomeSize.effectiveGenomeSize - #else: - --normalizeTo1x $scaling.effectiveGenomeSize.effectiveGenomeSize_opt - #end if - #elif $scaling.type=='own': - --scaleFactor $scaling.scaleFactor - #end if - - #if str($region).strip() != '': - --region '$region' - #end if - - #if $advancedOpt.showAdvancedOpt == "yes": - #if $advancedOpt.smoothLength: - --smoothLength '$advancedOpt.smoothLength' - #end if - - $advancedOpt.doNotExtendPairedEnds - $advancedOpt.ignoreDuplicates - - #if $advancedOpt.minMappingQuality: - --minMappingQuality '$advancedOpt.minMappingQuality' - #end if - - ##if str($advancedOpt.ignoreForNormalization).strip() != '': - ## --ignoreForNormalization $advancedOpt.ignoreForNormalization - ##end if - - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -**What it does** - -Given a BAM file, this tool generates a bigWig or bedGraph file with genome-wide coverage of fragment or read coverages. -The way the method works is by first calculating all the number of reads (either extended to match the fragment length or not) -that overlap each bin (a region of fixed length, i.e. 25 bp) in the genome. Bins with zero counts are skipped, i.e. not added to the output file. -The resulting read counts can be normalized using either a given scaling factor, the RPKM formula or to get a 1x depth of coverage (RPGC). - - -.. image:: $PATH_TO_IMAGES/norm_IGVsnapshot_indFiles.png - - -You can find more details on the bamCoverage wiki page: https://github.com/fidelram/deepTools/wiki/Normalizations#wiki-bamCoverage - - -**Output files**: - -- coverage file either in bigWig or bedGraph format - ------ - -@REFERENCES@ - - - diff -r d7c9fd76e41e -r d2898b81b912 bamFingerprint.xml --- a/bamFingerprint.xml Tue Feb 04 09:12:07 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,151 +0,0 @@ - - plots profiles of BAM files; useful for assesing ChIP signal strength - - - - bamFingerprint - deepTools_macros.xml - - - @multiple_input_bams@ - - bamFingerprint - - @THREADS@ - - --bamfiles #echo " ".join($files) - --labels #echo " ".join($labels) - - --fragmentLength $fragmentLength - - #set newoutFileName=str($outFileName)+".png" - --plotFile $newoutFileName - - #if $output.showOutputSettings == "yes" - --plotFileFormat $output.outFileFormat - #if $output.saveRawCounts: - --outRawCounts '$outFileRawCounts' - #end if - #else - --plotFileFormat 'png' - #end if - - #if str($region).strip() != '': - --region '$region' - #end if - - #if $advancedOpt.showAdvancedOpt == "yes": - --binSize '$advancedOpt.binSize' - --numberOfSamples '$advancedOpt.numberOfSamples' - - $advancedOpt.doNotExtendPairedEnds - $advancedOpt.ignoreDuplicates - $advancedOpt.skipZeros - - #if $advancedOpt.minMappingQuality: - --minMappingQuality '$advancedOpt.minMappingQuality' - #end if - #end if - ; mv $newoutFileName $outFileName - ; rm $temp_dir -rf - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (( - output['showOutputSettings'] == 'yes' and - output['saveRawCounts'] is True - )) - - - - - -**What it does** - -This tool is useful to assess the strength of a ChIP (i.e. how clearly the enrichment signal can be separated from the background signal) -and it is based on a method developed by Diaz et al. (2012) Stat Appl Genet Mol Biol 11(3). - -The tool first samples indexed BAM files and counts all reads overlapping a window (bin) of specified length. -These counts are then sorted according to their rank (the bin with the highest number of reads has the highest rank) -and the cumulative sum of read counts are plotted. An ideal input (control sample) with perfect uniform distribution of reads -along the genome (i.e. without enrichments in open chromatin etc.) should -generate a straight diagonal line. A very specific and strong ChIP enrichment will be indicated by a prominent and steep -rise of the cumulative sum towards the highest rank. This means that a big chunk of reads from the ChIP sample is located in -few bins which corresponds to high, narrow enrichments seen for transcription factors. - - -.. image:: $PATH_TO_IMAGES/QC_fingerprint.png - - -You can find more details on the bamFingerprint wiki page: https://github.com/fidelram/deepTools/wiki/QC#wiki-bamFingerprint - - -**Output files**: - -- Diagnostic plot -- Data matrix of raw counts - ------ - -@REFERENCES@ - - - diff -r d7c9fd76e41e -r d2898b81b912 computeGCBias.xml --- a/computeGCBias.xml Tue Feb 04 09:12:07 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,155 +0,0 @@ - - to see whether your samples should be normalized for GC bias - - - - computeGCBias - deepTools_macros.xml - - - ln -s $bamInput local_bamInput.bam; - ln -s $bamInput.metadata.bam_index local_bamInput.bam.bai; - - computeGCBias - @THREADS@ - - --bamfile 'local_bamInput.bam' - --GCbiasFrequenciesFile $outFileName - --fragmentLength $fragmentLength - - @reference_genome_source@ - - #if $effectiveGenomeSize.effectiveGenomeSize_opt == "specific": - --effectiveGenomeSize $effectiveGenomeSize.effectiveGenomeSize - #else: - --effectiveGenomeSize $effectiveGenomeSize.effectiveGenomeSize_opt - #end if - - #if str($region).strip() != '': - --region '$region' - #end if - - #if $advancedOpt.showAdvancedOpt == "yes": - - --sampleSize '$advancedOpt.sampleSize' - --regionSize '$advancedOpt.regionSize' - - #if $advancedOpt.filterOut: - --filterOut $advancedOpt.filterOut - #end if - - #if $advancedOpt.extraSampling: - --extraSampling $advancedOpt.extraSampling - #end if - #end if - - #if str($image_format) != 'none': - --biasPlot $outImageName - --plotFileFormat $image_format - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (( - image_format != 'none' - )) - - - - - - - - - - - -**What it does** - -This tool computes the GC bias using the method proposed by Benjamini and Speed (2012) Nucleic Acids Res. (see below for more explanations) -The output is used to plot the bias and can also be used later on to correct the bias with the tool correctGCbias. -There are two plots produced by the tool: a boxplot showing the absolute read numbers per genomic-GC bin and an x-y plot -depicting the ratio of observed/expected reads per genomic GC content bin. - ------ - -**Summary of the method used** - -In order to estimate how many reads with what kind of GC content one should have sequenced, we first need to determine how many regions the specific -reference genome contains for each amount of GC content, i.e. how many regions in the genome have 50% GC (or 10% GC or 90% GC or...). -We then sample a large number of equally sized genome bins and count how many times we see a bin with 50% GC (or 10% GC or 90% or...). These EXPECTED values are independent of any -sequencing as it only depends on the respective reference genome (i.e. it will most likely vary between mouse and fruit fly due to their genome's different GC contents). -The OBSERVED values are based on the reads from the sequenced sample. Instead of noting how many genomic regions there are per GC content, we now count the reads per GC content. -In an ideal sample without GC bias, the ratio of OBSERVED/EXPECTED values should be close to 1 regardless of the GC content. Due to PCR (over)amplifications, the majority of ChIP samples -usually shows a significant bias towards reads with high GC content (>50%) - -.. image:: $PATH_TO_IMAGES/QC_GCplots_input.png - - -You can find more details on the computeGCBias wiki page: computeGCBias wiki: https://github.com/fidelram/deepTools/wiki/QC#wiki-computeGCbias - - -**Output files**: - -- Diagnostic plot - - - box plot of absolute read numbers per genomic GC bin - - x-y plot of observed/expected read ratios per genomic GC content bin - -- Data matrix - - - to be used for GC correction with correctGCbias - - ------ - -@REFERENCES@ - - - diff -r d7c9fd76e41e -r d2898b81b912 computeMatrix.xml --- a/computeMatrix.xml Tue Feb 04 09:12:07 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,222 +0,0 @@ - - summarizes and prepares an intermediary file containing scores associated with genomic regions that can be used afterwards to plot a heatmap or a profile - - - - computeMatrix - deepTools_macros.xml - - - #import tempfile - - #set $temp_input_handle = tempfile.NamedTemporaryFile() - #set $temp_input_path = $temp_input_handle.name - #silent $temp_input_handle.close() - - #for $rf in $regionsFiles: - cat "$rf.regionsFile" >> $temp_input_path; - #if str($rf.label.value).strip(): - echo "\#$rf.label.value" >> $temp_input_path; - #else: - echo "\#$rf.regionsFile.name" >> $temp_input_path; - #end if - #end for - - - computeMatrix - - $mode.mode_select - --regionsFileName '$temp_input_path' - --scoreFileName '$scoreFile' - --outFileName '$outFileName' - - @THREADS@ - - #if $output.showOutputSettings == "yes" - #if $output.saveData: - --outFileNameData '$outFileNameData' - #end if - #if $output.saveMatrix: - --outFileNameMatrix '$outFileNameMatrix' - #end if - - #if $output.saveSortedRegions: - --outFileSortedRegions '$outFileSortedRegions' - #end if - #end if - - #if $mode.mode_select == "reference-point": - --referencePoint $mode.referencePoint - $mode.nanAfterEnd - --beforeRegionStartLength $mode.beforeRegionStartLength - --afterRegionStartLength $mode.afterRegionStartLength - #else - --regionBodyLength $mode.regionBodyLength - --startLabel "$mode.startLabel" - --endLabel "$mode.endLabel" - #if $mode.regionStartLength.regionStartLength_select == "yes": - --beforeRegionStartLength $mode.regionStartLength.beforeRegionStartLength - --afterRegionStartLength $mode.regionStartLength.afterRegionStartLength - #end if - #end if - - #if $advancedOpt.showAdvancedOpt == "yes": - --sortRegions '$advancedOpt.sortRegions' - --sortUsing '$advancedOpt.sortUsing' - --averageTypeBins '$advancedOpt.averageTypeBins' - $advancedOpt.missingDataAsZero - $advancedOpt.skipZeros - --binSize $advancedOpt.binSize - - #if $advancedOpt.minThreshold: - --minThreshold $advancedOpt.minThreshold - #end if - #if $advancedOpt.maxThreshold: - --maxThreshold $advancedOpt.maxThreshold - #end if - #if $advancedOpt.scale: - --scale $advancedOpt.scale - #end if - - #end if - ; rm $temp_input_path - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -**What it does** - -This tool prepares an intermediary file (a gzipped table of values) -that contains scores associated with genomic regions that can be used -afterwards to plot a heatmap or a profile. - -Genomic regions can really be anything - genes, parts of genes, ChIP-seq -peaks, favorite genome regions... as long as you provide a proper file -in BED or INTERVAL format. If you would like to compare different groups of regions -(i.e. genes from chromosome 2 and 3), you can supply more than 1 BED file, one for each group. - -computeMatrix can also be used to filter and sort -regions according to their score by making use of its advanced output options. - - -.. image:: $PATH_TO_IMAGES/flowChart_computeMatrixetc.png - :alt: Relationship between computeMatrix, heatmapper and profiler - - -You can find more details on the computeMatrix wiki page: https://github.com/fidelram/deepTools/wiki/Visualizations#wiki-computeMatrix - - ------ - -@REFERENCES@ - - - diff -r d7c9fd76e41e -r d2898b81b912 correctGCBias.xml --- a/correctGCBias.xml Tue Feb 04 09:12:07 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,107 +0,0 @@ - - uses the output from computeGCBias to generate corrected BAM files - - - - correctGCBias - deepTools_macros.xml - - - #import tempfile - #set $temp_dir = os.path.abspath(tempfile.mkdtemp()) - - #set $temp_bam_handle = tempfile.NamedTemporaryFile( dir=$temp_dir ) - #set $temp_bam_path = $temp_bam_handle.name + '.bam' - #silent $temp_bam_handle.close() - #silent os.system("ln -s %s %s" % (str($bamInput), $temp_bam_path)) - #silent os.system("ln -s %s %s.bai" % (str($bamInput.metadata.bam_index), $temp_bam_path)) - - - correctGCBias - - @THREADS@ - - --bamfile '$temp_bam_path' - --GCbiasFrequenciesFile $GCbiasFrequenciesFile - - @reference_genome_source@ - - - #if $effectiveGenomeSize.effectiveGenomeSize_opt == "specific": - --effectiveGenomeSize $effectiveGenomeSize.effectiveGenomeSize - #else: - --effectiveGenomeSize $effectiveGenomeSize.effectiveGenomeSize_opt - #end if - - #if str($region).strip() != '': - --region '$region' - #end if - - #if $advancedOpt.showAdvancedOpt == "yes": - --binSize '$advancedOpt.binSize' - #end if - - ###set newoutFileName="corrected."+str($outFileFormat) - ##--correctedFile $newoutFileName; - --correctedFile "corrected.bam"; - - mv "corrected.bam" $outFileName - - - - - - - - - - - - - - - - - - - - - - - - - - - - -**What it does** - -This tool requires the output from computeGCBias to correct a given BAM file according to the method proposed by -Benjamini and Speed (2012) Nucleic Acids Res. -The resulting BAM file can be used in any downstream analyses, but be aware that you should not filter out duplicates from here on. - -You can find more details on the correctGCBias wiki page: https://github.com/fidelram/deepTools/wiki/QC#wiki-correctGCbias - - -**Output files**: - -- GC-normalized BAM file - ------ - -@REFERENCES@ - - - diff -r d7c9fd76e41e -r d2898b81b912 deepTools_macros.xml --- a/deepTools_macros.xml Tue Feb 04 09:12:07 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,436 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --numberOfProcessors "\${GALAXY_SLOTS:-4}" - - - @BINARY@ - samtools - deepTools - ucsc_tools - deepTools - ucsc_tools - numpy - pysam - scipy - matplotlib - samtools - bx-python - - - @BINARY@ --version - - - - - - - - - - - - - - - - - - - - - - - - - - - #if $advancedOpt.used_multiple_regions.used_multiple_regions_options == 'no': - #if $advancedOpt.used_multiple_regions.clustering.clustering_options == 'kmeans': - #if int($advancedOpt.used_multiple_regions.clustering.k_kmeans) > 0: - --kmeans $advancedOpt.used_multiple_regions.clustering.k_kmeans - #end if - #end if - #end if - - - - - - - - - - - - - - -.. class:: infomark - -For more informations, please visit the `project site`_. - -If you would like to give us feedback or you run into any trouble, please send an email to deeptools@googlegroups.com - -This tool is developed by the `Bioinformatics and Deep-Sequencing Unit`_ at the `Max Planck Institute for Immunobiology and Epigenetics`_. - - -.. _Bioinformatics and Deep-Sequencing Unit: http://www3.ie-freiburg.mpg.de/facilities/research-facilities/bioinformatics-and-deep-sequencing-unit/ -.. _Max Planck Institute for Immunobiology and Epigenetics: http://www3.ie-freiburg.mpg.de -.. _project site: https://github.com/fidelram/deepTools/wiki/ - - - - - - - - - - - - #import tempfile - #set $temp_dir = os.path.abspath(tempfile.mkdtemp()) - #set files=[] - #set labels=[] - #for $i in $input_files: - #set $temp_input_handle = tempfile.NamedTemporaryFile( dir=$temp_dir ) - #set $temp_input_path = $temp_input_handle.name - #silent $temp_input_handle.close() - #silent os.system("ln -s %s %s.bam" % (str($i.bamfile), $temp_input_path)) - #silent os.system("ln -s %s %s.bam.bai" % (str($i.bamfile.metadata.bam_index), $temp_input_path)) - #silent $files.append('%s.bam' % $temp_input_path) - - ##set $files += [str($i.bamfile)] - #if str($i.label.value) != "": - #set $labels += ["\"%s\"" % ($i.label.value)] - #else - #set $labels += ["\"%s\"" % ($i.bamfile.name)] - #end if - #end for - - - - - - - - - - - - - - - - - - - - - - - - #if $source.ref_source=="history": - --genome $source.input1 - #else: - --genome "${source.input1_2bit.fields.path}" - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (( - output['showOutputSettings'] == 'yes' and - output['saveMatrix'] is True - )) - - - - - - - - (( - output['showOutputSettings'] == 'yes' and - output['saveData'] is True - )) - - - - - (( - output['showOutputSettings'] == 'yes' and - output['saveSortedRegions'] is True - )) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r d7c9fd76e41e -r d2898b81b912 heatmapper.xml --- a/heatmapper.xml Tue Feb 04 09:12:07 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,210 +0,0 @@ - - creates a heatmap for a score associated to genomic regions - - - - heatmapper - deepTools_macros.xml - - - heatmapper - - --matrixFile $matrixFile - --outFileName $outFileName - - #if $output.showOutputSettings == "yes" - --plotFileFormat $output.outFileFormat - #if $outFileNameData: - --outFileNameData '$outFileNameData' - #end if - - #if $outFileNameMatrix: - --outFileNameMatrix '$outFileNameMatrix' - #end if - - #if $outFileSortedRegions: - --outFileSortedRegions '$outFileSortedRegions' - #end if - #else - --plotFileFormat 'png' - #end if - - #if $advancedOpt.showAdvancedOpt == "yes" - #if $advancedOpt.sortRegions: - --sortRegions '$advancedOpt.sortRegions' - #end if - - #if $advancedOpt.sortUsing: - --sortUsing '$advancedOpt.sortUsing' - #end if - - #if $advancedOpt.averageTypeSummaryPlot: - --averageTypeSummaryPlot '$advancedOpt.averageTypeSummaryPlot' - #end if - - #if str($advancedOpt.missingDataColor.value) != "None": - --missingDataColor '$advancedOpt.missingDataColor' - #end if - - --colorMap '$advancedOpt.colorMap' - - #if $advancedOpt.zMin: - --zMin $advancedOpt.zMin - #end if - #if $advancedOpt.zMax: - --zMax $advancedOpt.zMax - #end if - - #if $advancedOpt.yMin: - --yMin $advancedOpt.yMin - #end if - #if $advancedOpt.yMax: - --yMax $advancedOpt.yMax - #end if - - --xAxisLabel '$advancedOpt.xAxisLabel' - --yAxisLabel '$advancedOpt.yAxisLabel' - - --heatmapWidth $advancedOpt.heatmapWidth - --heatmapHeight $advancedOpt.heatmapHeight - - --whatToShow '$advancedOpt.whatToShow' - - --startLabel '$advancedOpt.startLabel' - --endLabel '$advancedOpt.endLabel' - --refPointLabel '$advancedOpt.referencePointLabel' - --regionsLabel '$advancedOpt.regionsLabel' - - #if str($advancedOpt.plotTitle.value) != "None": - --plotTitle '$advancedOpt.plotTitle' - #end if - - $advancedOpt.onePlotPerGroup - - @kmeans_clusterin@ - - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -**What it does** - -The heatmapper visualizes scores associated with genomic regions, for example ChIP enrichment values around the TSS of genes. -Like profiler, it requires that computeMatrix was run first to calculate the values. - -We implemented vast optional parameters to optimize the visual output and we encourage you to play around with the min/max values displayed in the heatmap as well as -with the different coloring options. The most powerful option is the k-means clustering where you simply need to indicate the number of -groups with similar read distributions that you expect and the algorithm will do the sorting for you. - -Do check the examples on our help page with step-by-step protocols: https://github.com/fidelram/deepTools/wiki/Example-workflows - - -.. image:: $PATH_TO_IMAGES/visual_hm_DmelPolII.png - :alt: Heatmap of RNA Polymerase II ChIP-seq - - -You can find more details on the tool itself on the heatmapper wiki page: https://github.com/fidelram/deepTools/wiki/Visualizations#wiki-heatmapper - - ------ - -@REFERENCES@ - - - diff -r d7c9fd76e41e -r d2898b81b912 profiler.xml --- a/profiler.xml Tue Feb 04 09:12:07 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,163 +0,0 @@ - - - creates a profile plot for a score associated to genomic regions - - - - - profiler - deepTools_macros.xml - - - profiler - - --matrixFile $matrixFile - --outFileName $outFileName - - #if $output.showOutputSettings == "yes" - --plotFileFormat $output.outFileFormat - - #if $output.saveData: - --outFileNameData '$outFileNameData' - #end if - - #if $output.saveSortedRegions: - --outFileSortedRegions '$outFileSortedRegions' - #end if - #else - --plotFileFormat 'png' - #end if - - #if $scaleRegions.showScaleRegionsOpt == "yes": - --startLabel $scaleRegions.startLabel - --endLabel $scaleRegions.endLabel - #end if - - #if $advancedOpt.showAdvancedOpt == "yes": - #if $advancedOpt.averageType: - --averageType '$advancedOpt.averageType' - #end if - --plotHeight $advancedOpt.plotHeight - --plotWidth $advancedOpt.plotWidth - --plotType $advancedOpt.plotType - - --regionsLabel '$advancedOpt.regionsLabel' - - #if str($advancedOpt.plotTitle).strip() != "": - --plotTitle '$advancedOpt.plotTitle' - #end if - - #if str($advancedOpt.colors).strip() != "": - --colors #echo ' '.join( ["'%s'" % $color for $color in $advancedOpt.colors.split()] )# - #end if - - $advancedOpt.onePlotPerGroup - - #if $advancedOpt.yMin: - --yMin $advancedOpt.yMin - #end if - #if $advancedOpt.yMax: - --yMax $advancedOpt.yMax - #end if - - --xAxisLabel '$advancedOpt.xAxisLabel' - #if str($advancedOpt.yAxisLabel.value) != "None": - --yAxisLabel '$advancedOpt.yAxisLabel' - #end if - - @kmeans_clusterin@ - - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - all(c in ' #abcdefghijklmnopqrstuvwxyz0123456789' for c in value) - - - - - - - - - - - - - - - - - - - -**What it does** - -This tool plots the average enrichments over all genomic -regions supplied to computeMarix. It requires that computeMatrix was successfully run. -It is a very useful complement to the heatmapper, especially in cases when you want to -compare the scores for many different groups. Like heatmapper, profiler does not change the -values that were compute by computeMatrix, but you can choose between -many different ways to color and display the plots. - - -.. image:: $PATH_TO_IMAGES/visual_profiler_DmelPolII.png - :alt: Meta-gene profile of Rna Polymerase II - - -You can find more details on the profiler wiki page: https://github.com/fidelram/deepTools/wiki/Visualizations#wiki-profiler - - ------ - -@REFERENCES@ - - - diff -r d7c9fd76e41e -r d2898b81b912 readme.rst --- a/readme.rst Tue Feb 04 09:12:07 2014 -0500 +++ b/readme.rst Tue Feb 04 13:45:17 2014 -0500 @@ -1,61 +1,41 @@ -======================== -Galaxy deeptools wrapper -======================== +This package contains a collection of Galaxy workflows utilising deepTools. -deepTools are user-friendly tools for the normalization and visualization of -deep-sequencing data. -They address the challenge of visualizing the large amounts of data that are now -routinely generated from sequencing centers in a meaningful way. -To do so, deepTools contain useful routines to process the mapped reads data -through removal of duplicates and different filtering options to create coverage -files in standard bedGraph and bigWig file formats. deepTools allow the creation -of normalized coverage files or the comparison between two files -(for example, treatment and control). Finally, using such normalized and -standardized files, multiple visualizations can be created to identify -enrichments with functional annotations of the genome. -For a gallery of images that can be produced and a description -of the tools see our poster_. - -.. _poster: http://f1000.com/posters/browse/summary/1094053 - -deeptools is developed under here: - - https://github.com/fidelram/deepTools - -For support, questions, or feature requests contact: deeptools@googlegroups.com +See http://www.galaxyproject.org for information about the Galaxy Project. -======== +Sample Data +=========== + +Sample data can be obtained from http://deeptools.ie-freiburg.mpg.de/library or you +can use aligned reads in BAM or SAM format. + + + Citation ======== -deeptools are currently under review. In the meantime please refere to https://github.com/fidelram/deepTools. - +If you use this workflow directly, or a derivative of it, or the associated +deepTools wrappers for Galaxy, in work leading to a scientific publication, +please cite: -======= -History -======= - -- v1.0: Initial public release +{publication under review} -Licence (MIT) -============= +Availability +============ -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +This workflow is available on the main Galaxy Tool Shed: + +http://toolshed.g2.bx.psu.edu/view/bgruening/deeptools_workflows + +Development is being done on github: -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. +https://github.com/fidelram/deepTools + -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +Dependencies +============ + +These dependencies should be resolved automatically via the Galaxy Tool Shed: + +* http://toolshed.g2.bx.psu.edu/view/bgruening/deeptools diff -r d7c9fd76e41e -r d2898b81b912 repository_dependencies.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/repository_dependencies.xml Tue Feb 04 13:45:17 2014 -0500 @@ -0,0 +1,4 @@ + + + + diff -r d7c9fd76e41e -r d2898b81b912 static/images/QC_GCplots_input.png Binary file static/images/QC_GCplots_input.png has changed diff -r d7c9fd76e41e -r d2898b81b912 static/images/QC_bamCorrelate_humanSamples.png Binary file static/images/QC_bamCorrelate_humanSamples.png has changed diff -r d7c9fd76e41e -r d2898b81b912 static/images/QC_fingerprint.png Binary file static/images/QC_fingerprint.png has changed diff -r d7c9fd76e41e -r d2898b81b912 static/images/flowChart_computeMatrixetc.png Binary file static/images/flowChart_computeMatrixetc.png has changed diff -r d7c9fd76e41e -r d2898b81b912 static/images/norm_IGVsnapshot_indFiles.png Binary file static/images/norm_IGVsnapshot_indFiles.png has changed diff -r d7c9fd76e41e -r d2898b81b912 static/images/visual_hm_DmelPolII.png Binary file static/images/visual_hm_DmelPolII.png has changed diff -r d7c9fd76e41e -r d2898b81b912 static/images/visual_profiler_DmelPolII.png Binary file static/images/visual_profiler_DmelPolII.png has changed diff -r d7c9fd76e41e -r d2898b81b912 test-data/master.mat.gz Binary file test-data/master.mat.gz has changed diff -r d7c9fd76e41e -r d2898b81b912 test-data/master.png Binary file test-data/master.png has changed diff -r d7c9fd76e41e -r d2898b81b912 test-data/test.bw Binary file test-data/test.bw has changed diff -r d7c9fd76e41e -r d2898b81b912 test-data/test2.bed --- a/test-data/test2.bed Tue Feb 04 09:12:07 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -ch1 100 150 CG11023 0 + -ch2 150 175 cda5 0 - -ch3 100 125 cda8 0 + -#Group 1 -ch1 75 125 C11023 0 + -ch2 125 150 ca5 0 - -ch3 75 100 ca8 0 + -#Group 2 diff -r d7c9fd76e41e -r d2898b81b912 tool-data/deepTools_seqs.loc.sample --- a/tool-data/deepTools_seqs.loc.sample Tue Feb 04 09:12:07 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -#This is a sample file distributed with Galaxy that enables tools -#to use a directory of 2bit genome files for use with deepTools. You will -#need to supply these files and then create a deepTools_seqs.loc file -#similar to this one (store it in this directory) that points to -#the directories in which those files are stored. The deepTools_seqs.loc -#file has this format: -# -# -# -#So, for example, if your deepTools_seqs.loc began like this: -# -#hg18 Human (Homo sapiens): hg18 /depot/data2/galaxy/twobit/hg18.2bit -#hg19 Human (Homo sapiens): hg19 /depot/data2/galaxy/twobit/hg19.2bit -#mm9 Mouse (Mus musculus): mm9 /depot/data2/galaxy/twobit/mm9.2bit -# -#then your /depot/data2/galaxy/twobit/ directory -#would need to contain the following 2bit files: -# -#-rw-r--r-- 1 james universe 830134 2005-09-13 10:12 hg18.2bit -#-rw-r--r-- 1 james universe 527388 2005-09-13 10:12 hg19.2bit -#-rw-r--r-- 1 james universe 269808 2005-09-13 10:12 mm9.2bit -# -#Your deepTools_seqs.loc file should include an entry per line for -#each file you have stored that you want to be available. Note that -#your files should all have the extension '2bit'. -# -#Please note that the is also used as "Species name abbreviation". diff -r d7c9fd76e41e -r d2898b81b912 tool_data_table_conf.xml.sample --- a/tool_data_table_conf.xml.sample Tue Feb 04 09:12:07 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ - - - - value, name, path - -
-
diff -r d7c9fd76e41e -r d2898b81b912 tool_dependencies.xml --- a/tool_dependencies.xml Tue Feb 04 09:12:07 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/bedGraphToBigWig - http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.i386/bedGraphToBigWig - http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.i386/bedGraphToBigWig - http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.x86_64/bedGraphToBigWig - - - $INSTALL_DIR/bedGraphToBigWig - - - http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/bigWigInfo - http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.i386/bigWigInfo - http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.i386/bigWigInfo - http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.x86_64/bigWigInfo - - - $INSTALL_DIR/bigWigInfo - - - http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/bigWigToBedGraph - http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.i386/bigWigToBedGraph - http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.i386/bigWigToBedGraph - http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.x86_64/bigWigToBedGraph - - - $INSTALL_DIR/bigWigToBedGraph - - - $INSTALL_DIR - - - - The tools downloaded by this dependency definition are free for academic use. TODO: UCSC tools are only available with their latest version. That is not good for reproducibility. - - - - - - git clone --recursive https://github.com/fidelram/deepTools.git - - - - - - - - - - - - - - - - - - - git reset --hard 3268f7e1458f3a520ab6fea3039971ee9d7a6d5b - $INSTALL_DIR/lib/python - - export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python && - python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin - - - $INSTALL_DIR/bin - $INSTALL_DIR/lib/python - - TRUE - - - - - Installation of deepTools from Fidel Ramirez. - https://github.com/fidelram/deepTools - - -