diff --git a/workflows/VGP-assembly-v2/hi-c-contact-map-for-assembly-manual-curation/.dockstore.yml b/workflows/VGP-assembly-v2/hi-c-contact-map-for-assembly-manual-curation/.dockstore.yml new file mode 100644 index 0000000000..669ef8da48 --- /dev/null +++ b/workflows/VGP-assembly-v2/hi-c-contact-map-for-assembly-manual-curation/.dockstore.yml @@ -0,0 +1,13 @@ +version: 1.2 +workflows: +- name: main + subclass: Galaxy + publish: true + primaryDescriptorPath: /hi-c-map-for-assembly-manual-curation.ga + testParameterFiles: + - /hi-c-map-for-assembly-manual-curation-tests.yml + authors: + - name: Patrik Smeds + orcid: 0000-0001-6228-2785 + - name: Delphine Lariviere + orcid: 0000-0001-6421-3484 diff --git a/workflows/VGP-assembly-v2/hi-c-contact-map-for-assembly-manual-curation/CHANGELOG.md b/workflows/VGP-assembly-v2/hi-c-contact-map-for-assembly-manual-curation/CHANGELOG.md new file mode 100644 index 0000000000..c33c4b2aec --- /dev/null +++ b/workflows/VGP-assembly-v2/hi-c-contact-map-for-assembly-manual-curation/CHANGELOG.md @@ -0,0 +1,5 @@ +# Changelog + +## [1.0beta1] 2024-11-12 + +- Creation of a workflow for the generation of Hi-C Maps with coverage, gaps and Telomere Tracks diff --git a/workflows/VGP-assembly-v2/hi-c-contact-map-for-assembly-manual-curation/README.md b/workflows/VGP-assembly-v2/hi-c-contact-map-for-assembly-manual-curation/README.md new file mode 100644 index 0000000000..c577a13422 --- /dev/null +++ b/workflows/VGP-assembly-v2/hi-c-contact-map-for-assembly-manual-curation/README.md @@ -0,0 +1,30 @@ +# Hi-C Contact map generation for manual curation of genome assemblies + +This workflow generates Hi-C contact maps for diploid genome assemblies in the Pretext format. It includes tracks for PacBio read coverage, Gaps, and telomeres. The Pretext files can be open in PretextView for the manual curation of genome assemblies. + + +## Inputs + +1. **Haplotype 1** [fasta] +2. **Will you use a second haplotype?** +3. **Haplotype 2** [fasta] +4. **Do you want to add suffixes to the scaffold names?** Select yes if the scaffold names in your assembly do not contain haplotype information. +5. **Haplotype 1 suffix** This suffix will be added to haplotype 1 scaffold names if you selected to add suffixes to the scaffold names. +6. **Haplotype 2 suffix** This suffix will be added to haplotype 2 scaffold names if you selected to add suffixes to the scaffold names. +7. **Hi-C reads** [fastq] Paired Collection containing the Hi-D data +8. **Do you want to trim the Hi-C data?** If *yes*, remove 5bp at the end of Hi-C reads. Use with Arima Hi-C data if the Hi-C map looks "noisy". +9. **Telomere repeat to suit species** Expected value of the repeated sequences in the telomeres. Default value [CCCTAA] is suited to vertebrates. +10. **PacBio reads** [fastq] Collection of PacBio reads. + + +## Outputs + +1. Concatenated Assembly [fasta] If two haplotypes are used. +2. Trimmed Hi-C data (If trimming option is selected) [fastq] +3. Mapped Hi-C reads [bam] +4. Telomeres track [bedgraph] +5. Gap track [bedgraph] +6. Coverage track [bigwig] +7. Pretext Map without tracks [pretext] +8. Pretext Map with tracks [pretext] +9. Pretext Snapshot image of the Hi-C contact map [png] diff --git a/workflows/VGP-assembly-v2/hi-c-contact-map-for-assembly-manual-curation/hi-c-map-for-assembly-manual-curation-tests.yml b/workflows/VGP-assembly-v2/hi-c-contact-map-for-assembly-manual-curation/hi-c-map-for-assembly-manual-curation-tests.yml new file mode 100644 index 0000000000..224a2c84a6 --- /dev/null +++ b/workflows/VGP-assembly-v2/hi-c-contact-map-for-assembly-manual-curation/hi-c-map-for-assembly-manual-curation-tests.yml @@ -0,0 +1,139 @@ +- doc: Test outline for hi-c-map-for-assembly-manual-curation.ga 1 + job: + Haplotype 1: + class: File + location: https://zenodo.org/records/14230702/files/Haplotype%202.fasta + filetype: fasta + Haplotype 2: + class: File + location: https://zenodo.org/records/14230702/files/Haplotype%202.fasta + filetype: fasta + Hi-C reads: + class: Collection + collection_type: list:paired + elements: + - class: Collection + type: paired + identifier: Hi-C reads + elements: + - identifier: forward + class: File + path: https://zenodo.org/records/14230702/files/HiC%20forward.fastqsanger.gz + - identifier: reverse + class: File + path: https://zenodo.org/records/14230702/files/HiC%20reverse.fastqsanger.gz + PacBio reads: + class: Collection + collection_type: list + elements: + - class: File + identifier: PacBio reads.fastq.gz + location: https://zenodo.org/records/14230702/files/PacBio%20reads.fastq.gz + Do you want to add suffixes to the scaffold names?: true + Will you use a second haplotype?: false + First Haplotype suffix: H1 + Second Haplotype suffix: H2 + Do you want to trim the Hi-C data?: true + Telomere repeat to suit species: CCCTAA + outputs: + Assembly for curation: + asserts: + has_text: + text: ">scaffold_10.H1" + Gaps Bed: + asserts: + has_text: + text: "scaffold_10.H1 835498 835698" + Seqtk-telo Output: + asserts: + has_text: + text: "scaffold_10.H1 0 11012 139653677" + Gaps Bedgraph: + asserts: + has_text: + text: "scaffold_10.H1 835498 835698 200" + BigWig Coverage: + asserts: + has_size: + value : 100000 + delta: 40000 + Telomeres Bedgraph: + asserts: + has_text: + text: "scaffold_10.H1 0 11012 11012" + Merged Hi-C Alignments: + asserts: + has_size: + value : 400000000 + delta: 50000000 + Pretext All tracks: + asserts: + has_size: + value : 1700000 + delta: 500000 +- doc: Test outline for hi-c-map-for-assembly-manual-curation.ga 2 + job: + Haplotype 1: + class: File + location: https://zenodo.org/records/14230702/files/Haplotype%201.fasta + filetype: fasta + Haplotype 2: + class: File + location: https://zenodo.org/records/14230702/files/Haplotype%201.fasta + filetype: fasta + Hi-C reads: + class: Collection + collection_type: list:paired + elements: + - class: Collection + type: paired + identifier: Hi-C reads + elements: + - identifier: forward + class: File + path: https://zenodo.org/records/14230702/files/HiC%20forward.fastqsanger.gz + - identifier: reverse + class: File + path: https://zenodo.org/records/14230702/files/HiC%20reverse.fastqsanger.gz + PacBio reads: + class: Collection + collection_type: list + elements: + - class: File + identifier: PacBio reads.fastq.gz + location: https://zenodo.org/records/14230702/files/PacBio%20reads.fastq.gz + Do you want to add suffixes to the scaffold names?: true + Will you use a second haplotype?: false + First Haplotype suffix: H1 + Second Haplotype suffix: H2 + Do you want to trim the Hi-C data?: true + Telomere repeat to suit species: CCCTAA + outputs: + Assembly for curation: + asserts: + has_text: + text: ">scaffold_10.H1" + Gaps Bed: + asserts: + has_text: + text: "scaffold_10.H1 34145604 34145804" + Gaps Bedgraph: + asserts: + has_text: + text: "scaffold_10.H1 34145604 34145804 200" + BigWig Coverage: + asserts: + has_size: + value : 100000 + delta: 40000 + Merged Hi-C Alignments: + asserts: + has_size: + value : 400000000 + delta: 50000000 + Pretext All tracks: + asserts: + has_size: + value : 1600000 + delta: 500000 + diff --git a/workflows/VGP-assembly-v2/hi-c-contact-map-for-assembly-manual-curation/hi-c-map-for-assembly-manual-curation.ga b/workflows/VGP-assembly-v2/hi-c-contact-map-for-assembly-manual-curation/hi-c-map-for-assembly-manual-curation.ga new file mode 100644 index 0000000000..0b1cc6c159 --- /dev/null +++ b/workflows/VGP-assembly-v2/hi-c-contact-map-for-assembly-manual-curation/hi-c-map-for-assembly-manual-curation.ga @@ -0,0 +1,2738 @@ +{ + "a_galaxy_workflow": "true", + "annotation": "This workflow generates Hi-C contact maps for genome assemblies in the Pretext format. It is compatible with one or 2 haplotypes. It includes tracks for PacBio read coverage, Gaps, and telomeres. The Pretext files can be open in PretextView for the manual curation of genome assemblies.", + "comments": [ + { + "child_steps": [ + 16, + 20 + ], + "color": "turquoise", + "data": { + "title": "Gaps" + }, + "id": 3, + "position": [ + 2453.2, + 242.6 + ], + "size": [ + 541.9, + 212.5 + ], + "type": "frame" + }, + { + "child_steps": [ + 10, + 11, + 13, + 14 + ], + "color": "blue", + "data": { + "title": "Merge Haplotypes" + }, + "id": 0, + "position": [ + 474.0963016672637, + 52.0465102395286 + ], + "size": [ + 1283, + 769 + ], + "type": "frame" + }, + { + "child_steps": [ + 15 + ], + "color": "yellow", + "data": { + "title": "Optional: Trim Hi-C reads" + }, + "id": 1, + "position": [ + 1064.1, + 870.5 + ], + "size": [ + 1169, + 516 + ], + "type": "frame" + }, + { + "child_steps": [ + 19 + ], + "color": "red", + "data": { + "title": "Generate Hi-C map" + }, + "id": 2, + "position": [ + 2345.1, + 510.7 + ], + "size": [ + 779.6, + 512.7 + ], + "type": "frame" + }, + { + "child_steps": [ + 24, + 27, + 29, + 25, + 26, + 28 + ], + "color": "orange", + "data": { + "title": "Add tracks to the Hi-C map" + }, + "id": 6, + "position": [ + 3280.2418890772274, + 675.3465102395286 + ], + "size": [ + 1284, + 722 + ], + "type": "frame" + }, + { + "child_steps": [ + 22, + 12, + 18 + ], + "color": "green", + "data": { + "title": "Coverage" + }, + "id": 5, + "position": [ + 2327.5, + 1440.7 + ], + "size": [ + 833.6, + 266.8 + ], + "type": "frame" + }, + { + "child_steps": [ + 17, + 21, + 23 + ], + "color": "lime", + "data": { + "title": "Telomeres" + }, + "id": 4, + "position": [ + 2358.4, + 1090 + ], + "size": [ + 761, + 296 + ], + "type": "frame" + } + ], + "creator": [ + { + "class": "Person", + "identifier": "https://orcid.org/0000-0001-6228-2785", + "name": "Patrik Smeds" + }, + { + "class": "Person", + "identifier": "https://orcid.org/0000-0001-6421-3484", + "name": "Delphine Lariviere" + } + ], + "format-version": "0.1", + "license": "MIT", + "release": "1.0beta1", + "name": "PretextMap Generation from 1 or 2 haplotypes", + "report": { + "markdown": "\n# Workflow Execution Report\n\n## Workflow Inputs\n```galaxy\ninvocation_inputs()\n```\n\n## Workflow Outputs\n```galaxy\ninvocation_outputs()\n```\n\n## Workflow\n```galaxy\nworkflow_display()\n```\n" + }, + "steps": { + "0": { + "annotation": "Assembly for Haplotype 1.", + "content_id": null, + "errors": null, + "id": 0, + "input_connections": {}, + "inputs": [ + { + "description": "Assembly for Haplotype 1.", + "name": "Haplotype 1" + } + ], + "label": "Haplotype 1", + "name": "Input dataset", + "outputs": [], + "position": { + "left": 0, + "top": 0 + }, + "tool_id": null, + "tool_state": "{\"optional\": false, \"format\": [\"fasta\"], \"tag\": null}", + "tool_version": null, + "type": "data_input", + "uuid": "fa895dbf-8f06-4728-ac6c-d526fcff2578", + "when": null, + "workflow_outputs": [] + }, + "1": { + "annotation": "", + "content_id": null, + "errors": null, + "id": 1, + "input_connections": {}, + "inputs": [ + { + "description": "", + "name": "Will you use a second haplotype?" + } + ], + "label": "Will you use a second haplotype?", + "name": "Input parameter", + "outputs": [], + "position": { + "left": 38.015625, + "top": 96.875 + }, + "tool_id": null, + "tool_state": "{\"validators\": [], \"parameter_type\": \"boolean\", \"optional\": false}", + "tool_version": null, + "type": "parameter_input", + "uuid": "697b66dc-1c0f-40d7-9d03-51318db580f1", + "when": null, + "workflow_outputs": [ + { + "label": null, + "output_name": "output", + "uuid": "bdc7f6bf-6b7a-4e75-9b99-d25473ac7699" + } + ] + }, + "2": { + "annotation": "Assembly for Haplotype 2. If \"Will you use a second haplotype?\" is set to \"no\", use haplotype 1 here. ", + "content_id": null, + "errors": null, + "id": 2, + "input_connections": {}, + "inputs": [ + { + "description": "Assembly for Haplotype 2. If \"Will you use a second haplotype?\" is set to \"no\", use haplotype 1 here. ", + "name": "Haplotype 2" + } + ], + "label": "Haplotype 2", + "name": "Input dataset", + "outputs": [], + "position": { + "left": 85.328125, + "top": 209.84375 + }, + "tool_id": null, + "tool_state": "{\"optional\": false, \"format\": [\"fasta\"], \"tag\": null}", + "tool_version": null, + "type": "data_input", + "uuid": "b6516e91-ade5-457d-9b65-d54448413a13", + "when": null, + "workflow_outputs": [] + }, + "3": { + "annotation": "Add haplotype suffix to the scaffold names (e.g. Scaffold_1_hap1). Necessary if the assemblies don't already have a marker of haplotype in the scaffold names. ", + "content_id": null, + "errors": null, + "id": 3, + "input_connections": {}, + "inputs": [ + { + "description": "Add haplotype suffix to the scaffold names (e.g. Scaffold_1_hap1). Necessary if the assemblies don't already have a marker of haplotype in the scaffold names. ", + "name": "Do you want to add suffixes to the scaffold names?" + } + ], + "label": "Do you want to add suffixes to the scaffold names?", + "name": "Input parameter", + "outputs": [], + "position": { + "left": 116.71484375, + "top": 307.75 + }, + "tool_id": null, + "tool_state": "{\"validators\": [], \"parameter_type\": \"boolean\", \"optional\": false}", + "tool_version": null, + "type": "parameter_input", + "uuid": "742c987a-a4b8-4208-918a-cfb4bd55cd66", + "when": null, + "workflow_outputs": [ + { + "label": null, + "output_name": "output", + "uuid": "ba09e26c-7ca5-408d-abd3-8bd8965a7f66" + } + ] + }, + "4": { + "annotation": "Suffix added to scaffolds belonging to haplotype 1.", + "content_id": null, + "errors": null, + "id": 4, + "input_connections": {}, + "inputs": [ + { + "description": "Suffix added to scaffolds belonging to haplotype 1.", + "name": "First Haplotype suffix" + } + ], + "label": "First Haplotype suffix", + "name": "Input parameter", + "outputs": [], + "position": { + "left": 174.0230592554534, + "top": 443.5895298364112 + }, + "tool_id": null, + "tool_state": "{\"default\": \"H1\", \"validators\": [], \"parameter_type\": \"text\", \"optional\": true}", + "tool_version": null, + "type": "parameter_input", + "uuid": "f61b5666-fa76-4892-9b1d-d31979bc5a44", + "when": null, + "workflow_outputs": [ + { + "label": null, + "output_name": "output", + "uuid": "98fa2f74-2ed4-41ea-8f5c-671f1a1ff2d6" + } + ] + }, + "5": { + "annotation": "Suffix added to contigs belonging to haplotype 2.", + "content_id": null, + "errors": null, + "id": 5, + "input_connections": {}, + "inputs": [ + { + "description": "Suffix added to contigs belonging to haplotype 2.", + "name": "Second Haplotype suffix" + } + ], + "label": "Second Haplotype suffix", + "name": "Input parameter", + "outputs": [], + "position": { + "left": 198.0053528860768, + "top": 544.1169319728217 + }, + "tool_id": null, + "tool_state": "{\"default\": \"H2\", \"validators\": [], \"parameter_type\": \"text\", \"optional\": true}", + "tool_version": null, + "type": "parameter_input", + "uuid": "294ab686-1b84-4a79-aa5c-10553af61911", + "when": null, + "workflow_outputs": [ + { + "label": null, + "output_name": "output", + "uuid": "12ff2776-ea43-43a1-93fd-bfdbbe9f6733" + } + ] + }, + "6": { + "annotation": "Paired Collection containing the Hi-C reads. ", + "content_id": null, + "errors": null, + "id": 6, + "input_connections": {}, + "inputs": [ + { + "description": "Paired Collection containing the Hi-C reads. ", + "name": "Hi-C reads" + } + ], + "label": "Hi-C reads", + "name": "Input dataset collection", + "outputs": [], + "position": { + "left": 687.5609479061047, + "top": 1098.5247481034376 + }, + "tool_id": null, + "tool_state": "{\"optional\": false, \"tag\": null, \"collection_type\": \"list:paired\"}", + "tool_version": null, + "type": "data_collection_input", + "uuid": "42ec35b8-88d2-4390-a134-8fbd25142973", + "when": null, + "workflow_outputs": [] + }, + "7": { + "annotation": "Trim 5 bases at the beginning of each read. Use with Arima Hi-C data if the Hi-C map looks \"noisy\".", + "content_id": null, + "errors": null, + "id": 7, + "input_connections": {}, + "inputs": [ + { + "description": "Trim 5 bases at the beginning of each read. Use with Arima Hi-C data if the Hi-C map looks \"noisy\".", + "name": "Do you want to trim the Hi-C data?" + } + ], + "label": "Do you want to trim the Hi-C data?", + "name": "Input parameter", + "outputs": [], + "position": { + "left": 779.5413920910493, + "top": 1254.7391397096321 + }, + "tool_id": null, + "tool_state": "{\"validators\": [], \"parameter_type\": \"boolean\", \"optional\": false}", + "tool_version": null, + "type": "parameter_input", + "uuid": "6d1391db-7fef-4b5c-a236-26016d6d0aab", + "when": null, + "workflow_outputs": [ + { + "label": null, + "output_name": "output", + "uuid": "9c5b1e59-6e93-41bc-82c5-253f4dfdf6b3" + } + ] + }, + "8": { + "annotation": "The default value is set for vertebrate genomes (CCCTAA).", + "content_id": null, + "errors": null, + "id": 8, + "input_connections": {}, + "inputs": [ + { + "description": "The default value is set for vertebrate genomes (CCCTAA).", + "name": "Telomere repeat to suit species" + } + ], + "label": "Telomere repeat to suit species", + "name": "Input parameter", + "outputs": [], + "position": { + "left": 1127.579183251202, + "top": 1612.5640291499033 + }, + "tool_id": null, + "tool_state": "{\"default\": \"CCCTAA\", \"validators\": [], \"parameter_type\": \"text\", \"optional\": true}", + "tool_version": null, + "type": "parameter_input", + "uuid": "84c91e14-1709-4602-8771-eea1dadf471b", + "when": null, + "workflow_outputs": [ + { + "label": null, + "output_name": "output", + "uuid": "91339166-4c7b-4392-883e-3e54a8281176" + } + ] + }, + "9": { + "annotation": "", + "content_id": null, + "errors": null, + "id": 9, + "input_connections": {}, + "inputs": [ + { + "description": "", + "name": "PacBio reads" + } + ], + "label": "PacBio reads", + "name": "Input dataset collection", + "outputs": [], + "position": { + "left": 1178.4254094663186, + "top": 1721.1680883755375 + }, + "tool_id": null, + "tool_state": "{\"optional\": false, \"format\": [\"fastq.gz\"], \"tag\": null, \"collection_type\": \"list\"}", + "tool_version": null, + "type": "data_collection_input", + "uuid": "8bc4fc4e-1a1a-43e8-b4bc-5115fefb541d", + "when": null, + "workflow_outputs": [] + }, + "10": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/iuc/map_param_value/map_param_value/0.2.0", + "errors": null, + "id": 10, + "input_connections": { + "input_param_type|input_param": { + "id": 1, + "output_name": "output" + } + }, + "inputs": [], + "label": "Hap2 not provided", + "name": "Map parameter value", + "outputs": [ + { + "name": "output_param_boolean", + "type": "expression.json" + } + ], + "position": { + "left": 645.0946591345934, + "top": 641.569655470159 + }, + "post_job_actions": { + "HideDatasetActionoutput_param_boolean": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output_param_boolean" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/map_param_value/map_param_value/0.2.0", + "tool_shed_repository": { + "changeset_revision": "5ac8a4bf7a8d", + "name": "map_param_value", + "owner": "iuc", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"input_param_type\": {\"type\": \"boolean\", \"__current_case__\": 3, \"input_param\": {\"__class__\": \"ConnectedValue\"}, \"mappings\": [{\"__index__\": 0, \"from\": false, \"to\": \"true\"}, {\"__index__\": 1, \"from\": true, \"to\": \"false\"}]}, \"output_param_type\": \"boolean\", \"unmapped\": {\"on_unmapped\": \"default\", \"__current_case__\": 2, \"default_value\": \"false\"}, \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "0.2.0", + "type": "tool", + "uuid": "08114aa3-2cc8-40ec-ae19-d9a596a4c0ed", + "when": null, + "workflow_outputs": [] + }, + "11": { + "annotation": "", + "id": 11, + "input_connections": { + "Do you want to add suffixes to the scaffold names?": { + "id": 3, + "input_subworkflow_step_id": 2, + "output_name": "output" + }, + "Hap1": { + "id": 0, + "input_subworkflow_step_id": 0, + "output_name": "output" + }, + "Hap1 suffix": { + "id": 4, + "input_subworkflow_step_id": 3, + "output_name": "output" + }, + "Hap2": { + "id": 2, + "input_subworkflow_step_id": 1, + "output_name": "output" + }, + "Hap2 suffix": { + "id": 5, + "input_subworkflow_step_id": 4, + "output_name": "output" + }, + "when": { + "id": 1, + "output_name": "output" + } + }, + "inputs": [], + "label": null, + "name": "Add suffix to 2 haplotypes", + "outputs": [], + "position": { + "left": 936.515625, + "top": 95.3125 + }, + "subworkflow": { + "a_galaxy_workflow": "true", + "annotation": "", + "comments": [], + "format-version": "0.1", + "name": "Add suffix to 2 haplotypes", + "report": { + "markdown": "\n# Workflow Execution Report\n\n## Workflow Inputs\n```galaxy\ninvocation_inputs()\n```\n\n## Workflow Outputs\n```galaxy\ninvocation_outputs()\n```\n\n## Workflow\n```galaxy\nworkflow_display()\n```\n" + }, + "steps": { + "0": { + "annotation": "", + "content_id": null, + "errors": null, + "id": 0, + "input_connections": {}, + "inputs": [ + { + "description": "", + "name": "Hap1" + } + ], + "label": "Hap1", + "name": "Input dataset", + "outputs": [], + "position": { + "left": 0, + "top": 0 + }, + "tool_id": null, + "tool_state": "{\"optional\": false, \"tag\": null}", + "tool_version": null, + "type": "data_input", + "uuid": "9a207b86-2fda-4783-93ca-a6ec3664017a", + "when": null, + "workflow_outputs": [] + }, + "1": { + "annotation": "", + "content_id": null, + "errors": null, + "id": 1, + "input_connections": {}, + "inputs": [ + { + "description": "", + "name": "Hap2" + } + ], + "label": "Hap2", + "name": "Input dataset", + "outputs": [], + "position": { + "left": 33.55078125, + "top": 122.01953125 + }, + "tool_id": null, + "tool_state": "{\"optional\": false, \"tag\": null}", + "tool_version": null, + "type": "data_input", + "uuid": "62da2b90-e4d7-440f-a285-b3c32f655a00", + "when": null, + "workflow_outputs": [] + }, + "2": { + "annotation": "", + "content_id": null, + "errors": null, + "id": 2, + "input_connections": {}, + "inputs": [ + { + "description": "", + "name": "Do you want to add suffixes to the scaffold names?" + } + ], + "label": "Do you want to add suffixes to the scaffold names?", + "name": "Input parameter", + "outputs": [], + "position": { + "left": 106.40234375, + "top": 238.078125 + }, + "tool_id": null, + "tool_state": "{\"validators\": [], \"parameter_type\": \"boolean\", \"optional\": false}", + "tool_version": null, + "type": "parameter_input", + "uuid": "8b13ed89-3e9c-4542-b381-5297e0db982b", + "when": null, + "workflow_outputs": [ + { + "label": null, + "output_name": "output", + "uuid": "3504ccf2-85f9-45e2-9993-d50ad56d7e4f" + } + ] + }, + "3": { + "annotation": "", + "content_id": null, + "errors": null, + "id": 3, + "input_connections": {}, + "inputs": [ + { + "description": "", + "name": "Hap1 suffix" + } + ], + "label": "Hap1 suffix", + "name": "Input parameter", + "outputs": [], + "position": { + "left": 215.90450646112865, + "top": 413.8826660328491 + }, + "tool_id": null, + "tool_state": "{\"validators\": [], \"parameter_type\": \"text\", \"optional\": true}", + "tool_version": null, + "type": "parameter_input", + "uuid": "22ea2bf8-e1a7-44ee-b9de-db7674742bdd", + "when": null, + "workflow_outputs": [ + { + "label": null, + "output_name": "output", + "uuid": "5ced6783-1101-490c-bb7e-f27e02054d2a" + } + ] + }, + "4": { + "annotation": "", + "content_id": null, + "errors": null, + "id": 4, + "input_connections": {}, + "inputs": [ + { + "description": "", + "name": "Hap2 suffix" + } + ], + "label": "Hap2 suffix", + "name": "Input parameter", + "outputs": [], + "position": { + "left": 274.272015645431, + "top": 551.9168666758391 + }, + "tool_id": null, + "tool_state": "{\"validators\": [], \"parameter_type\": \"text\", \"optional\": true}", + "tool_version": null, + "type": "parameter_input", + "uuid": "07975a8d-532f-4dbc-9b9c-eaa0a819def0", + "when": null, + "workflow_outputs": [ + { + "label": null, + "output_name": "output", + "uuid": "0c597614-1748-4ffa-ba6f-604a54e837c5" + } + ] + }, + "5": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/iuc/compose_text_param/compose_text_param/0.1.1", + "errors": null, + "id": 5, + "input_connections": { + "components_1|param_type|component_value": { + "id": 3, + "output_name": "output" + }, + "when": { + "id": 2, + "output_name": "output" + } + }, + "inputs": [], + "label": "Expression for hap1 suffixing", + "name": "Compose text parameter value", + "outputs": [ + { + "name": "out1", + "type": "expression.json" + } + ], + "position": { + "left": 715.759396154146, + "top": 105.88705185789851 + }, + "post_job_actions": { + "HideDatasetActionout1": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "out1" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/compose_text_param/compose_text_param/0.1.1", + "tool_shed_repository": { + "changeset_revision": "e188c9826e0f", + "name": "compose_text_param", + "owner": "iuc", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"components\": [{\"__index__\": 0, \"param_type\": {\"select_param_type\": \"text\", \"__current_case__\": 0, \"component_value\": \"&.\"}}, {\"__index__\": 1, \"param_type\": {\"select_param_type\": \"text\", \"__current_case__\": 0, \"component_value\": {\"__class__\": \"ConnectedValue\"}}}], \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "0.1.1", + "type": "tool", + "uuid": "aa72ce5a-74c8-4298-a4c1-71c5f8c50124", + "when": "$(inputs.when)", + "workflow_outputs": [] + }, + "6": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/iuc/compose_text_param/compose_text_param/0.1.1", + "errors": null, + "id": 6, + "input_connections": { + "components_1|param_type|component_value": { + "id": 4, + "output_name": "output" + }, + "when": { + "id": 2, + "output_name": "output" + } + }, + "inputs": [], + "label": "Expression for hap2 suffixing", + "name": "Compose text parameter value", + "outputs": [ + { + "name": "out1", + "type": "expression.json" + } + ], + "position": { + "left": 719.1663154242431, + "top": 464.07762394765837 + }, + "post_job_actions": { + "HideDatasetActionout1": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "out1" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/compose_text_param/compose_text_param/0.1.1", + "tool_shed_repository": { + "changeset_revision": "e188c9826e0f", + "name": "compose_text_param", + "owner": "iuc", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"components\": [{\"__index__\": 0, \"param_type\": {\"select_param_type\": \"text\", \"__current_case__\": 0, \"component_value\": \"&.\"}}, {\"__index__\": 1, \"param_type\": {\"select_param_type\": \"text\", \"__current_case__\": 0, \"component_value\": {\"__class__\": \"ConnectedValue\"}}}], \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "0.1.1", + "type": "tool", + "uuid": "df8ef7a4-280f-4551-ae6b-45dcc1b51d0d", + "when": "$(inputs.when)", + "workflow_outputs": [] + }, + "7": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_replace_in_line/9.3+galaxy1", + "errors": null, + "id": 7, + "input_connections": { + "infile": { + "id": 0, + "output_name": "output" + }, + "replacements_0|replace_pattern": { + "id": 5, + "output_name": "out1" + }, + "when": { + "id": 2, + "output_name": "output" + } + }, + "inputs": [], + "label": "add hap1 suffix", + "name": "Replace Text", + "outputs": [ + { + "name": "outfile", + "type": "input" + } + ], + "position": { + "left": 1153.1568123752954, + "top": 65.28236324842067 + }, + "post_job_actions": {}, + "tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_replace_in_line/9.3+galaxy1", + "tool_shed_repository": { + "changeset_revision": "86755160afbf", + "name": "text_processing", + "owner": "bgruening", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"infile\": {\"__class__\": \"ConnectedValue\"}, \"replacements\": [{\"__index__\": 0, \"find_pattern\": \">.+$\", \"replace_pattern\": {\"__class__\": \"ConnectedValue\"}}], \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "9.3+galaxy1", + "type": "tool", + "uuid": "0d494264-b35e-4084-b8b8-f4bacd1bc3d0", + "when": "$(inputs.when)", + "workflow_outputs": [] + }, + "8": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_replace_in_line/9.3+galaxy1", + "errors": null, + "id": 8, + "input_connections": { + "infile": { + "id": 1, + "output_name": "output" + }, + "replacements_0|replace_pattern": { + "id": 6, + "output_name": "out1" + }, + "when": { + "id": 2, + "output_name": "output" + } + }, + "inputs": [], + "label": "add hap2 suffix", + "name": "Replace Text", + "outputs": [ + { + "name": "outfile", + "type": "input" + } + ], + "position": { + "left": 1157.53513037215, + "top": 294.29634625957476 + }, + "post_job_actions": {}, + "tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_replace_in_line/9.3+galaxy1", + "tool_shed_repository": { + "changeset_revision": "86755160afbf", + "name": "text_processing", + "owner": "bgruening", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"infile\": {\"__class__\": \"ConnectedValue\"}, \"replacements\": [{\"__index__\": 0, \"find_pattern\": \">.+$\", \"replace_pattern\": {\"__class__\": \"ConnectedValue\"}}], \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "9.3+galaxy1", + "type": "tool", + "uuid": "5d369c5c-05fc-4477-897a-42b948900499", + "when": "$(inputs.when)", + "workflow_outputs": [] + }, + "9": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/iuc/pick_value/pick_value/0.2.0", + "errors": null, + "id": 9, + "input_connections": { + "style_cond|type_cond|pick_from_0|value": { + "id": 7, + "output_name": "outfile" + }, + "style_cond|type_cond|pick_from_1|value": { + "id": 0, + "output_name": "output" + } + }, + "inputs": [], + "label": null, + "name": "Pick parameter value", + "outputs": [ + { + "name": "data_param", + "type": "input" + } + ], + "position": { + "left": 1563.750750466131, + "top": 23.243878725375495 + }, + "post_job_actions": {}, + "tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/pick_value/pick_value/0.2.0", + "tool_shed_repository": { + "changeset_revision": "b19e21af9c52", + "name": "pick_value", + "owner": "iuc", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"style_cond\": {\"pick_style\": \"first\", \"__current_case__\": 0, \"type_cond\": {\"param_type\": \"data\", \"__current_case__\": 4, \"pick_from\": [{\"__index__\": 0, \"value\": {\"__class__\": \"ConnectedValue\"}}, {\"__index__\": 1, \"value\": {\"__class__\": \"ConnectedValue\"}}]}}, \"__page__\": 0, \"__rerun_remap_job_id__\": null}", + "tool_version": "0.2.0", + "type": "tool", + "uuid": "2a99e9f1-c4c1-466e-b2f8-d520213c6b34", + "when": null, + "workflow_outputs": [ + { + "label": "Processed Hap1", + "output_name": "data_param", + "uuid": "8fff3233-16ad-4388-8544-bd3954fbfe71" + } + ] + }, + "10": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/iuc/pick_value/pick_value/0.2.0", + "errors": null, + "id": 10, + "input_connections": { + "style_cond|type_cond|pick_from_0|value": { + "id": 8, + "output_name": "outfile" + }, + "style_cond|type_cond|pick_from_1|value": { + "id": 1, + "output_name": "output" + } + }, + "inputs": [], + "label": null, + "name": "Pick parameter value", + "outputs": [ + { + "name": "data_param", + "type": "input" + } + ], + "position": { + "left": 1562.8912962386594, + "top": 473.2480811314234 + }, + "post_job_actions": {}, + "tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/pick_value/pick_value/0.2.0", + "tool_shed_repository": { + "changeset_revision": "b19e21af9c52", + "name": "pick_value", + "owner": "iuc", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"style_cond\": {\"pick_style\": \"first\", \"__current_case__\": 0, \"type_cond\": {\"param_type\": \"data\", \"__current_case__\": 4, \"pick_from\": [{\"__index__\": 0, \"value\": {\"__class__\": \"ConnectedValue\"}}, {\"__index__\": 1, \"value\": {\"__class__\": \"ConnectedValue\"}}]}}, \"__page__\": 0, \"__rerun_remap_job_id__\": null}", + "tool_version": "0.2.0", + "type": "tool", + "uuid": "3a64f0a3-bd8b-4ca5-a118-877ee37d239a", + "when": null, + "workflow_outputs": [ + { + "label": "Processed Hap2", + "output_name": "data_param", + "uuid": "99e3e643-db15-4942-b9f1-8925526ff367" + } + ] + }, + "11": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_cat/9.3+galaxy1", + "errors": null, + "id": 11, + "input_connections": { + "inputs": { + "id": 9, + "output_name": "data_param" + }, + "queries_0|inputs2": { + "id": 10, + "output_name": "data_param" + } + }, + "inputs": [], + "label": null, + "name": "Concatenate datasets", + "outputs": [ + { + "name": "out_file1", + "type": "input" + } + ], + "position": { + "left": 1914.872391014437, + "top": 246.32152277721676 + }, + "post_job_actions": {}, + "tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_cat/9.3+galaxy1", + "tool_shed_repository": { + "changeset_revision": "86755160afbf", + "name": "text_processing", + "owner": "bgruening", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"inputs\": {\"__class__\": \"ConnectedValue\"}, \"queries\": [{\"__index__\": 0, \"inputs2\": {\"__class__\": \"ConnectedValue\"}}], \"__page__\": 0, \"__rerun_remap_job_id__\": null}", + "tool_version": "9.3+galaxy1", + "type": "tool", + "uuid": "b2f8c163-76e4-4e8e-bcf6-56c69b322e6f", + "when": null, + "workflow_outputs": [ + { + "label": "Merged Haplotypes", + "output_name": "out_file1", + "uuid": "4f149f33-9aee-4c14-84ed-7b7cddea91ec" + } + ] + } + }, + "tags": [], + "uuid": "f260dd33-da91-4d11-90ca-a0413708feea" + }, + "tool_id": null, + "type": "subworkflow", + "uuid": "e3fb5fbc-543e-405a-aa5d-0c4f512abd61", + "when": "$(inputs.when)", + "workflow_outputs": [ + { + "label": null, + "output_name": "3:output", + "uuid": "085655b5-2c02-4bf1-8a66-18100f201596" + }, + { + "label": null, + "output_name": "2:output", + "uuid": "e412e09c-b61d-4214-9d02-bc36602f9e5c" + }, + { + "label": null, + "output_name": "4:output", + "uuid": "c38c0065-7cf1-4078-82ed-92bf34a7034d" + } + ] + }, + "12": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_cat/9.3+galaxy1", + "errors": null, + "id": 12, + "input_connections": { + "inputs": { + "id": 9, + "output_name": "output" + } + }, + "inputs": [], + "label": "concatenate HiFi", + "name": "Concatenate datasets", + "outputs": [ + { + "name": "out_file1", + "type": "input" + } + ], + "position": { + "left": 2356.894328752512, + "top": 1516.7790596653556 + }, + "post_job_actions": { + "HideDatasetActionout_file1": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "out_file1" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_cat/9.3+galaxy1", + "tool_shed_repository": { + "changeset_revision": "86755160afbf", + "name": "text_processing", + "owner": "bgruening", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"inputs\": {\"__class__\": \"ConnectedValue\"}, \"queries\": [], \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "9.3+galaxy1", + "type": "tool", + "uuid": "6bbe7bd6-0d08-431f-bcb4-ae5e264ce3c8", + "when": null, + "workflow_outputs": [] + }, + "13": { + "annotation": "", + "id": 13, + "input_connections": { + "Do you want to add suffixes to the scaffold names?": { + "id": 3, + "input_subworkflow_step_id": 1, + "output_name": "output" + }, + "Hap1": { + "id": 0, + "input_subworkflow_step_id": 0, + "output_name": "output" + }, + "Hap1 suffix": { + "id": 4, + "input_subworkflow_step_id": 2, + "output_name": "output" + }, + "when": { + "id": 10, + "output_name": "output_param_boolean" + } + }, + "inputs": [], + "label": null, + "name": "Add Suffix 1 haplotype", + "outputs": [], + "position": { + "left": 939.9147328570097, + "top": 499.1465562420046 + }, + "subworkflow": { + "a_galaxy_workflow": "true", + "annotation": "", + "comments": [], + "format-version": "0.1", + "name": "Add Suffix 1 haplotype", + "report": { + "markdown": "\n# Workflow Execution Report\n\n## Workflow Inputs\n```galaxy\ninvocation_inputs()\n```\n\n## Workflow Outputs\n```galaxy\ninvocation_outputs()\n```\n\n## Workflow\n```galaxy\nworkflow_display()\n```\n" + }, + "steps": { + "0": { + "annotation": "", + "content_id": null, + "errors": null, + "id": 0, + "input_connections": {}, + "inputs": [ + { + "description": "", + "name": "Hap1" + } + ], + "label": "Hap1", + "name": "Input dataset", + "outputs": [], + "position": { + "left": 0, + "top": 0 + }, + "tool_id": null, + "tool_state": "{\"optional\": false, \"tag\": null}", + "tool_version": null, + "type": "data_input", + "uuid": "33bd9c56-0929-4b8e-85ab-48ebf584e4ab", + "when": null, + "workflow_outputs": [] + }, + "1": { + "annotation": "", + "content_id": null, + "errors": null, + "id": 1, + "input_connections": {}, + "inputs": [ + { + "description": "", + "name": "Do you want to add suffixes to the scaffold names?" + } + ], + "label": "Do you want to add suffixes to the scaffold names?", + "name": "Input parameter", + "outputs": [], + "position": { + "left": 74.46610679000048, + "top": 103.59444232917119 + }, + "tool_id": null, + "tool_state": "{\"validators\": [], \"parameter_type\": \"boolean\", \"optional\": false}", + "tool_version": null, + "type": "parameter_input", + "uuid": "675084df-0ed2-4fa2-b507-6271ee93aad0", + "when": null, + "workflow_outputs": [ + { + "label": null, + "output_name": "output", + "uuid": "034edc09-e9fa-4878-8979-eb10d005ba14" + } + ] + }, + "2": { + "annotation": "", + "content_id": null, + "errors": null, + "id": 2, + "input_connections": {}, + "inputs": [ + { + "description": "", + "name": "Hap1 suffix" + } + ], + "label": "Hap1 suffix", + "name": "Input parameter", + "outputs": [], + "position": { + "left": 168.86746754459963, + "top": 269.5369890878619 + }, + "tool_id": null, + "tool_state": "{\"validators\": [], \"parameter_type\": \"text\", \"optional\": true}", + "tool_version": null, + "type": "parameter_input", + "uuid": "1c5ef3b8-0f1f-45ae-96d6-2d02e032c1ee", + "when": null, + "workflow_outputs": [ + { + "label": null, + "output_name": "output", + "uuid": "333732ed-6236-40a3-8791-72e3a7d2b737" + } + ] + }, + "3": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/iuc/compose_text_param/compose_text_param/0.1.1", + "errors": null, + "id": 3, + "input_connections": { + "components_1|param_type|component_value": { + "id": 2, + "output_name": "output" + }, + "when": { + "id": 1, + "output_name": "output" + } + }, + "inputs": [], + "label": "Expression for hap1 suffixing", + "name": "Compose text parameter value", + "outputs": [ + { + "name": "out1", + "type": "expression.json" + } + ], + "position": { + "left": 680.6779970312689, + "top": 154.92723110280613 + }, + "post_job_actions": {}, + "tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/compose_text_param/compose_text_param/0.1.1", + "tool_shed_repository": { + "changeset_revision": "e188c9826e0f", + "name": "compose_text_param", + "owner": "iuc", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"components\": [{\"__index__\": 0, \"param_type\": {\"select_param_type\": \"text\", \"__current_case__\": 0, \"component_value\": \"&.\"}}, {\"__index__\": 1, \"param_type\": {\"select_param_type\": \"text\", \"__current_case__\": 0, \"component_value\": {\"__class__\": \"ConnectedValue\"}}}], \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "0.1.1", + "type": "tool", + "uuid": "0dba8558-24cb-494f-bec3-a6be089df05e", + "when": "$(inputs.when)", + "workflow_outputs": [] + }, + "4": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_replace_in_line/9.3+galaxy1", + "errors": null, + "id": 4, + "input_connections": { + "infile": { + "id": 0, + "output_name": "output" + }, + "replacements_0|replace_pattern": { + "id": 3, + "output_name": "out1" + }, + "when": { + "id": 1, + "output_name": "output" + } + }, + "inputs": [], + "label": "add hap1 suffix", + "name": "Replace Text", + "outputs": [ + { + "name": "outfile", + "type": "input" + } + ], + "position": { + "left": 1042.6204171244863, + "top": 117.72698978106516 + }, + "post_job_actions": {}, + "tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_replace_in_line/9.3+galaxy1", + "tool_shed_repository": { + "changeset_revision": "86755160afbf", + "name": "text_processing", + "owner": "bgruening", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"infile\": {\"__class__\": \"ConnectedValue\"}, \"replacements\": [{\"__index__\": 0, \"find_pattern\": \">.+$\", \"replace_pattern\": {\"__class__\": \"ConnectedValue\"}}], \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "9.3+galaxy1", + "type": "tool", + "uuid": "035ade88-6466-4cfd-bff6-fe954f352772", + "when": "$(inputs.when)", + "workflow_outputs": [] + }, + "5": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/iuc/pick_value/pick_value/0.2.0", + "errors": null, + "id": 5, + "input_connections": { + "style_cond|type_cond|pick_from_0|value": { + "id": 4, + "output_name": "outfile" + }, + "style_cond|type_cond|pick_from_1|value": { + "id": 0, + "output_name": "output" + } + }, + "inputs": [], + "label": null, + "name": "Pick parameter value", + "outputs": [ + { + "name": "data_param", + "type": "input" + } + ], + "position": { + "left": 1459.6101679904903, + "top": 267.5340308459985 + }, + "post_job_actions": {}, + "tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/pick_value/pick_value/0.2.0", + "tool_shed_repository": { + "changeset_revision": "b19e21af9c52", + "name": "pick_value", + "owner": "iuc", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"style_cond\": {\"pick_style\": \"first\", \"__current_case__\": 0, \"type_cond\": {\"param_type\": \"data\", \"__current_case__\": 4, \"pick_from\": [{\"__index__\": 0, \"value\": {\"__class__\": \"RuntimeValue\"}}, {\"__index__\": 1, \"value\": {\"__class__\": \"RuntimeValue\"}}]}}, \"__page__\": 0, \"__rerun_remap_job_id__\": null}", + "tool_version": "0.2.0", + "type": "tool", + "uuid": "79b86d06-475a-43b1-9a32-d9788cf0e977", + "when": null, + "workflow_outputs": [ + { + "label": "Processed Hap1", + "output_name": "data_param", + "uuid": "67cbd3bf-e5bf-4149-a1ee-e1884a2177c9" + } + ] + } + }, + "tags": [], + "uuid": "af847a42-dc28-45ce-8820-c857a1c7e048" + }, + "tool_id": null, + "type": "subworkflow", + "uuid": "963aaf4e-14cf-449b-99b5-f3693b8b19b6", + "when": "$(inputs.when)", + "workflow_outputs": [ + { + "label": null, + "output_name": "2:output", + "uuid": "5d35ec92-982e-4a8c-89f6-43b5fbd7df37" + }, + { + "label": null, + "output_name": "1:output", + "uuid": "fc3f7ef8-0801-42f3-8fb7-6a543859e2cc" + } + ] + }, + "14": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/iuc/pick_value/pick_value/0.2.0", + "errors": null, + "id": 14, + "input_connections": { + "style_cond|type_cond|pick_from_0|value": { + "id": 11, + "output_name": "Merged Haplotypes" + }, + "style_cond|type_cond|pick_from_1|value": { + "id": 13, + "output_name": "Processed Hap1" + } + }, + "inputs": [], + "label": "Pick Assembly", + "name": "Pick parameter value", + "outputs": [ + { + "name": "data_param", + "type": "input" + } + ], + "position": { + "left": 1298.4073811566127, + "top": 372.38788984421603 + }, + "post_job_actions": { + "RenameDatasetActiondata_param": { + "action_arguments": { + "newname": "Assembly for curation" + }, + "action_type": "RenameDatasetAction", + "output_name": "data_param" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/pick_value/pick_value/0.2.0", + "tool_shed_repository": { + "changeset_revision": "b19e21af9c52", + "name": "pick_value", + "owner": "iuc", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"style_cond\": {\"pick_style\": \"first\", \"__current_case__\": 0, \"type_cond\": {\"param_type\": \"data\", \"__current_case__\": 4, \"pick_from\": [{\"__index__\": 0, \"value\": {\"__class__\": \"ConnectedValue\"}}, {\"__index__\": 1, \"value\": {\"__class__\": \"ConnectedValue\"}}]}}, \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "0.2.0", + "type": "tool", + "uuid": "c5cb7d6b-6d51-41cf-9914-c3df478246a9", + "when": null, + "workflow_outputs": [ + { + "label": "Assembly for curation", + "output_name": "data_param", + "uuid": "ef7e194c-19b7-4bc0-a6f7-f049d1a6b25d" + } + ] + }, + "15": { + "annotation": "", + "id": 15, + "input_connections": { + "Do you want to trim the Hi-C data?": { + "id": 7, + "input_subworkflow_step_id": 2, + "output_name": "output" + }, + "Hi-C reads": { + "id": 6, + "input_subworkflow_step_id": 1, + "output_name": "output" + }, + "Reference": { + "id": 14, + "input_subworkflow_step_id": 0, + "output_name": "data_param" + } + }, + "inputs": [], + "label": null, + "name": "Trim and Align Hi-C paired collection", + "outputs": [], + "position": { + "left": 1539.2424682239423, + "top": 971.0026001025526 + }, + "subworkflow": { + "a_galaxy_workflow": "true", + "annotation": "", + "comments": [], + "creator": [ + { + "class": "Person", + "identifier": "https://orcid.org/0000-0001-6228-2785", + "name": "Patrik Smeds" + }, + { + "class": "Person", + "identifier": "https://orcid.org/0000-0001-6421-3484", + "name": "Delphine Lariviere" + } + ], + "format-version": "0.1", + "license": "MIT", + "name": "Trim and Align Hi-C paired collection", + "report": { + "markdown": "\n# Workflow Execution Report\n\n## Workflow Inputs\n```galaxy\ninvocation_inputs()\n```\n\n## Workflow Outputs\n```galaxy\ninvocation_outputs()\n```\n\n## Workflow\n```galaxy\nworkflow_display()\n```\n" + }, + "steps": { + "0": { + "annotation": "Assembly for Haplotype 1.", + "content_id": null, + "errors": null, + "id": 0, + "input_connections": {}, + "inputs": [ + { + "description": "Assembly for Haplotype 1.", + "name": "Reference" + } + ], + "label": "Reference", + "name": "Input dataset", + "outputs": [], + "position": { + "left": 0, + "top": 0 + }, + "tool_id": null, + "tool_state": "{\"optional\": false, \"tag\": null}", + "tool_version": null, + "type": "data_input", + "uuid": "fa895dbf-8f06-4728-ac6c-d526fcff2578", + "when": null, + "workflow_outputs": [] + }, + "1": { + "annotation": "", + "content_id": null, + "errors": null, + "id": 1, + "input_connections": {}, + "inputs": [ + { + "description": "", + "name": "Hi-C reads" + } + ], + "label": "Hi-C reads", + "name": "Input dataset collection", + "outputs": [], + "position": { + "left": 124.6511831732837, + "top": 159.35032776516732 + }, + "tool_id": null, + "tool_state": "{\"optional\": false, \"tag\": null, \"collection_type\": \"list:paired\"}", + "tool_version": null, + "type": "data_collection_input", + "uuid": "a381377e-3cd7-4ed0-b7ed-8f5ddcedcb6e", + "when": null, + "workflow_outputs": [] + }, + "2": { + "annotation": "Trim 5 bases at the beginning of each read. Use with Arima Hi-C data if the Hi-C map looks \"noisy\".", + "content_id": null, + "errors": null, + "id": 2, + "input_connections": {}, + "inputs": [ + { + "description": "Trim 5 bases at the beginning of each read. Use with Arima Hi-C data if the Hi-C map looks \"noisy\".", + "name": "Do you want to trim the Hi-C data?" + } + ], + "label": "Do you want to trim the Hi-C data?", + "name": "Input parameter", + "outputs": [], + "position": { + "left": 234.54989137895723, + "top": 295.2235674741496 + }, + "tool_id": null, + "tool_state": "{\"validators\": [], \"parameter_type\": \"boolean\", \"optional\": false}", + "tool_version": null, + "type": "parameter_input", + "uuid": "6d1391db-7fef-4b5c-a236-26016d6d0aab", + "when": null, + "workflow_outputs": [] + }, + "3": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/lparsons/cutadapt/cutadapt/4.9+galaxy1", + "errors": null, + "id": 3, + "input_connections": { + "library|input_1": { + "id": 1, + "output_name": "output" + }, + "when": { + "id": 2, + "output_name": "output" + } + }, + "inputs": [], + "label": "Trim Hi-C reads 2", + "name": "Cutadapt", + "outputs": [ + { + "name": "out_pairs", + "type": "input" + }, + { + "name": "report", + "type": "txt" + } + ], + "position": { + "left": 782.0487417234315, + "top": 137.43852440438957 + }, + "post_job_actions": { + "RenameDatasetActionout1": { + "action_arguments": { + "newname": "Trimmed Hi-C Forward Reads" + }, + "action_type": "RenameDatasetAction", + "output_name": "out1" + }, + "RenameDatasetActionout2": { + "action_arguments": { + "newname": "Trimmed Hi-C Reverse Reads" + }, + "action_type": "RenameDatasetAction", + "output_name": "out2" + }, + "RenameDatasetActionout_pairs": { + "action_arguments": { + "newname": "Trimmed Hi-C data" + }, + "action_type": "RenameDatasetAction", + "output_name": "out_pairs" + }, + "RenameDatasetActionreport": { + "action_arguments": { + "newname": "Report Hi-C reads trimming" + }, + "action_type": "RenameDatasetAction", + "output_name": "report" + }, + "TagDatasetActionreport": { + "action_arguments": { + "tags": "trimmed_hic" + }, + "action_type": "TagDatasetAction", + "output_name": "report" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/lparsons/cutadapt/cutadapt/4.9+galaxy1", + "tool_shed_repository": { + "changeset_revision": "5eb7e84243f2", + "name": "cutadapt", + "owner": "lparsons", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"adapter_options\": {\"action\": \"trim\", \"error_rate\": \"0.1\", \"no_indels\": false, \"times\": \"1\", \"overlap\": \"3\", \"match_read_wildcards\": false, \"no_match_adapter_wildcards\": true, \"revcomp\": false}, \"filter_options\": {\"discard_trimmed\": false, \"discard_untrimmed\": false, \"minimum_length\": \"1\", \"minimum_length2\": null, \"maximum_length\": null, \"maximum_length2\": null, \"max_n\": null, \"max_expected_errors\": null, \"max_average_error_rate\": null, \"discard_casava\": false, \"pair_filter\": \"any\"}, \"library\": {\"type\": \"paired_collection\", \"__current_case__\": 2, \"input_1\": {\"__class__\": \"ConnectedValue\"}, \"r1\": {\"adapters\": [], \"front_adapters\": [], \"anywhere_adapters\": []}, \"r2\": {\"adapters2\": [], \"front_adapters2\": [], \"anywhere_adapters2\": []}, \"pair_adapters\": false}, \"other_trimming_options\": {\"cut\": \"5\", \"cut2\": \"5\", \"quality_cutoff\": \"0\", \"quality_cutoff2\": \"\", \"nextseq_trim\": \"0\", \"trim_n\": false, \"poly_a\": false, \"shorten_options\": {\"shorten_values\": \"False\", \"__current_case__\": 1}, \"shorten_options_r2\": {\"shorten_values_r2\": \"False\", \"__current_case__\": 1}}, \"output_selector\": [\"report\"], \"read_mod_options\": {\"strip_suffix\": null, \"length_tag\": null, \"rename\": null, \"zero_cap\": false}, \"__page__\": 0, \"__rerun_remap_job_id__\": null}", + "tool_version": "4.9+galaxy1", + "type": "tool", + "uuid": "15c5cc40-ce0a-4e29-a891-87f55bf2bd6b", + "when": "$(inputs.when)", + "workflow_outputs": [ + { + "label": "Trimmed Hi-C data", + "output_name": "out_pairs", + "uuid": "ac4d7856-e66b-4981-89ec-a07cb48278ea" + } + ] + }, + "4": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/iuc/pick_value/pick_value/0.2.0", + "errors": null, + "id": 4, + "input_connections": { + "style_cond|type_cond|pick_from_0|value": { + "id": 3, + "output_name": "out_pairs" + }, + "style_cond|type_cond|pick_from_1|value": { + "id": 1, + "output_name": "output" + } + }, + "inputs": [], + "label": null, + "name": "Pick parameter value", + "outputs": [ + { + "name": "data_param", + "type": "input" + } + ], + "position": { + "left": 1051.7388546443285, + "top": 439.3603224038359 + }, + "post_job_actions": { + "HideDatasetActiondata_param": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "data_param" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/pick_value/pick_value/0.2.0", + "tool_shed_repository": { + "changeset_revision": "b19e21af9c52", + "name": "pick_value", + "owner": "iuc", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"style_cond\": {\"pick_style\": \"first\", \"__current_case__\": 0, \"type_cond\": {\"param_type\": \"data\", \"__current_case__\": 4, \"pick_from\": [{\"__index__\": 0, \"value\": {\"__class__\": \"ConnectedValue\"}}, {\"__index__\": 1, \"value\": {\"__class__\": \"ConnectedValue\"}}]}}, \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "0.2.0", + "type": "tool", + "uuid": "325884ac-c2c1-4a5c-b74f-c1c422662b78", + "when": null, + "workflow_outputs": [] + }, + "5": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/iuc/bwa_mem2/bwa_mem2/2.2.1+galaxy1", + "errors": null, + "id": 5, + "input_connections": { + "fastq_input|fastq_input1": { + "id": 4, + "output_name": "data_param" + }, + "reference_source|ref_file": { + "id": 0, + "output_name": "output" + } + }, + "inputs": [], + "label": null, + "name": "BWA-MEM2", + "outputs": [ + { + "name": "bam_output", + "type": "bam" + } + ], + "position": { + "left": 1319.109375, + "top": 64.19921875 + }, + "post_job_actions": { + "HideDatasetActionbam_output": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "bam_output" + }, + "RenameDatasetActionbam_output": { + "action_arguments": { + "newname": "Merged Hi-C Alignments" + }, + "action_type": "RenameDatasetAction", + "output_name": "bam_output" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/bwa_mem2/bwa_mem2/2.2.1+galaxy1", + "tool_shed_repository": { + "changeset_revision": "bfaa0d22c2e4", + "name": "bwa_mem2", + "owner": "iuc", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"analysis_type\": {\"analysis_type_selector\": \"full\", \"__current_case__\": 4, \"algorithmic_options\": {\"algorithmic_options_selector\": \"set\", \"__current_case__\": 0, \"k\": \"19\", \"w\": \"100\", \"d\": \"100\", \"r\": \"1.5\", \"y\": \"20\", \"c\": \"500\", \"D\": \"0.5\", \"W\": \"0\", \"m\": \"50\", \"S\": true, \"P\": true, \"e\": false}, \"scoring_options\": {\"scoring_options_selector\": \"do_not_set\", \"__current_case__\": 1}, \"io_options\": {\"io_options_selector\": \"set\", \"__current_case__\": 0, \"five\": false, \"q\": false, \"T\": \"20\", \"h\": \"5\", \"a\": true, \"C\": false, \"V\": false, \"Y\": false, \"M\": false, \"K\": null}}, \"fastq_input\": {\"fastq_input_selector\": \"paired_collection\", \"__current_case__\": 2, \"fastq_input1\": {\"__class__\": \"RuntimeValue\"}, \"iset_stats\": null}, \"output_sort\": \"coordinate\", \"reference_source\": {\"reference_source_selector\": \"history\", \"__current_case__\": 1, \"ref_file\": {\"__class__\": \"RuntimeValue\"}}, \"rg\": {\"rg_selector\": \"do_not_set\", \"__current_case__\": 3}, \"__page__\": 0, \"__rerun_remap_job_id__\": null}", + "tool_version": "2.2.1+galaxy1", + "type": "tool", + "uuid": "45d2eaea-40f9-461e-bfb0-cadd9b9738b8", + "when": null, + "workflow_outputs": [ + { + "label": "Hi-C Alignments", + "output_name": "bam_output", + "uuid": "16019374-1e25-4b5b-a89e-a9a4fe7dcb95" + } + ] + }, + "6": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/devteam/picard/picard_MergeSamFiles/3.1.1.0", + "errors": null, + "id": 6, + "input_connections": { + "inputFile": { + "id": 5, + "output_name": "bam_output" + } + }, + "inputs": [], + "label": null, + "name": "MergeSamFiles", + "outputs": [ + { + "name": "outFile", + "type": "bam" + } + ], + "position": { + "left": 1601.734375, + "top": 59.44921875 + }, + "post_job_actions": { + "TagDatasetActionoutFile": { + "action_arguments": { + "tags": "merged_hic_mapping" + }, + "action_type": "TagDatasetAction", + "output_name": "outFile" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/picard/picard_MergeSamFiles/3.1.1.0", + "tool_shed_repository": { + "changeset_revision": "3f254c5ced1d", + "name": "picard", + "owner": "devteam", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"assume_sorted\": true, \"comments\": [], \"inputFile\": {\"__class__\": \"ConnectedValue\"}, \"merge_sequence_dictionaries\": false, \"validation_stringency\": \"LENIENT\", \"__page__\": 0, \"__rerun_remap_job_id__\": null}", + "tool_version": "3.1.1.0", + "type": "tool", + "uuid": "b6f0b737-f2db-414f-bb64-ec99b1b4225b", + "when": null, + "workflow_outputs": [ + { + "label": "Merged Hi-C Alignments", + "output_name": "outFile", + "uuid": "41c24dd9-be91-4b0c-8a8b-f1346eecd250" + } + ] + } + }, + "tags": [], + "uuid": "eac9a4b1-85b4-4d47-a7a8-b032bd83411d" + }, + "tool_id": null, + "type": "subworkflow", + "uuid": "79dfffd9-d4af-4391-af9f-03dbf9ac79d0", + "when": null, + "workflow_outputs": [ + { + "label": "Merged Hi-C Alignments", + "output_name": "Merged Hi-C Alignments", + "uuid": "c06b03d9-b4a7-495b-b269-f088ee81456a" + }, + { + "label": null, + "output_name": "2:output", + "uuid": "328e76d5-dd5f-4aba-b71c-df5a14ec363b" + } + ] + }, + "16": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/bgruening/gfastats/gfastats/1.3.9+galaxy2", + "errors": null, + "id": 16, + "input_connections": { + "input_file": { + "id": 14, + "output_name": "data_param" + } + }, + "inputs": [], + "label": null, + "name": "gfastats", + "outputs": [ + { + "name": "stats", + "type": "tabular" + } + ], + "position": { + "left": 2492.7240786856064, + "top": 297.13681251689746 + }, + "post_job_actions": { + "ChangeDatatypeActionstats": { + "action_arguments": { + "newtype": "bed" + }, + "action_type": "ChangeDatatypeAction", + "output_name": "stats" + }, + "RenameDatasetActionstats": { + "action_arguments": { + "newname": "Gaps Bed" + }, + "action_type": "RenameDatasetAction", + "output_name": "stats" + }, + "TagDatasetActionstats": { + "action_arguments": { + "tags": "Gaps_bed" + }, + "action_type": "TagDatasetAction", + "output_name": "stats" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/gfastats/gfastats/1.3.9+galaxy2", + "tool_shed_repository": { + "changeset_revision": "7729cd89aaf7", + "name": "gfastats", + "owner": "bgruening", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"input_file\": {\"__class__\": \"ConnectedValue\"}, \"mode_condition\": {\"selector\": \"statistics\", \"__current_case__\": 1, \"statistics_condition\": {\"selector\": \"coordinates\", \"__current_case__\": 1, \"out_coord\": \"g\"}, \"locale\": false, \"tabular\": true, \"discover_paths\": false}, \"target_condition\": {\"target_option\": \"false\", \"__current_case__\": 0}, \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "1.3.9+galaxy2", + "type": "tool", + "uuid": "7ef0994f-1ebf-4d9d-8799-cd6f42cb0c0c", + "when": null, + "workflow_outputs": [ + { + "label": "Gaps Bed", + "output_name": "stats", + "uuid": "4a7f2ef2-c635-4ddb-b23b-8546f9290ef9" + } + ] + }, + "17": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/iuc/seqtk/seqtk_telo/1.4+galaxy0", + "errors": null, + "id": 17, + "input_connections": { + "in_file": { + "id": 14, + "output_name": "data_param" + }, + "m": { + "id": 8, + "output_name": "output" + } + }, + "inputs": [], + "label": null, + "name": "seqtk_telo", + "outputs": [ + { + "name": "default", + "type": "bed" + } + ], + "position": { + "left": 2398.405341156259, + "top": 1132.104273047803 + }, + "post_job_actions": { + "RenameDatasetActiondefault": { + "action_arguments": { + "newname": "Seqtk-telo Output" + }, + "action_type": "RenameDatasetAction", + "output_name": "default" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/seqtk/seqtk_telo/1.4+galaxy0", + "tool_shed_repository": { + "changeset_revision": "a019807f4e67", + "name": "seqtk", + "owner": "iuc", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"P\": false, \"d\": \"2000\", \"in_file\": {\"__class__\": \"ConnectedValue\"}, \"m\": {\"__class__\": \"ConnectedValue\"}, \"p\": \"1\", \"s\": \"300\", \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "1.4+galaxy0", + "type": "tool", + "uuid": "05b5803e-b3ce-4c33-bfc5-23925529052e", + "when": null, + "workflow_outputs": [ + { + "label": "Seqtk-telo Output", + "output_name": "default", + "uuid": "f63116e6-d670-441f-ba9d-4b91f2fcfa2b" + } + ] + }, + "18": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.28+galaxy0", + "errors": null, + "id": 18, + "input_connections": { + "fastq_input|fastq_input1": { + "id": 12, + "output_name": "out_file1" + }, + "reference_source|ref_file": { + "id": 14, + "output_name": "data_param" + } + }, + "inputs": [], + "label": null, + "name": "Map with minimap2", + "outputs": [ + { + "name": "alignment_output", + "type": "bam" + } + ], + "position": { + "left": 2639.198250085289, + "top": 1490.7904718948823 + }, + "post_job_actions": { + "HideDatasetActionalignment_output": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "alignment_output" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.28+galaxy0", + "tool_shed_repository": { + "changeset_revision": "5cc34c3f440d", + "name": "minimap2", + "owner": "iuc", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"alignment_options\": {\"splicing\": {\"splice_mode\": \"preset\", \"__current_case__\": 0}, \"A\": null, \"B\": null, \"O\": null, \"O2\": null, \"E\": null, \"E2\": null, \"z\": null, \"z2\": null, \"s\": null, \"no_end_flt\": true}, \"fastq_input\": {\"fastq_input_selector\": \"single\", \"__current_case__\": 0, \"fastq_input1\": {\"__class__\": \"ConnectedValue\"}, \"analysis_type_selector\": \"map-hifi\"}, \"indexing_options\": {\"H\": false, \"k\": null, \"w\": null, \"I\": null}, \"io_options\": {\"output_format\": \"BAM\", \"Q\": false, \"L\": false, \"K\": null, \"cs\": null, \"c\": false, \"eqx\": false, \"Y\": false}, \"mapping_options\": {\"N\": null, \"F\": null, \"f\": null, \"kmer_ocurrence_interval\": {\"interval\": \"\", \"__current_case__\": 1}, \"min_occ_floor\": null, \"q_occ_frac\": \"0.01\", \"g\": null, \"r\": null, \"n\": null, \"m\": null, \"max_chain_skip\": null, \"max_chain_iter\": null, \"X\": false, \"p\": null, \"mask_len\": null}, \"reference_source\": {\"reference_source_selector\": \"history\", \"__current_case__\": 1, \"ref_file\": {\"__class__\": \"ConnectedValue\"}}, \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "2.28+galaxy0", + "type": "tool", + "uuid": "006d5a9f-d014-408a-aa66-6c67dca2e603", + "when": null, + "workflow_outputs": [] + }, + "19": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/iuc/pretext_map/pretext_map/0.1.9+galaxy1", + "errors": null, + "id": 19, + "input_connections": { + "input": { + "id": 15, + "output_name": "Merged Hi-C Alignments" + } + }, + "inputs": [], + "label": null, + "name": "PretextMap", + "outputs": [ + { + "name": "pretext_map_out", + "type": "pretext" + } + ], + "position": { + "left": 2601.097112975265, + "top": 669.1121887201404 + }, + "post_job_actions": { + "HideDatasetActionpretext_map_out": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "pretext_map_out" + }, + "TagDatasetActionpretext_map_out": { + "action_arguments": { + "tags": "haps_pretext" + }, + "action_type": "TagDatasetAction", + "output_name": "pretext_map_out" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/pretext_map/pretext_map/0.1.9+galaxy1", + "tool_shed_repository": { + "changeset_revision": "c6cec5ab35c1", + "name": "pretext_map", + "owner": "iuc", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"filter\": {\"filter_type\": \"\", \"__current_case__\": 0}, \"input\": {\"__class__\": \"ConnectedValue\"}, \"map_qual\": \"0\", \"sorting\": {\"sortby\": \"length\", \"__current_case__\": 1, \"sortorder\": \"descend\"}, \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "0.1.9+galaxy1", + "type": "tool", + "uuid": "2bc11d1e-ba89-4a9c-80c9-2b83aa638457", + "when": null, + "workflow_outputs": [] + }, + "20": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/devteam/column_maker/Add_a_column1/2.1", + "errors": null, + "id": 20, + "input_connections": { + "input": { + "id": 16, + "output_name": "stats" + } + }, + "inputs": [], + "label": null, + "name": "Compute", + "outputs": [ + { + "name": "out_file1", + "type": "input" + } + ], + "position": { + "left": 2725.029875401758, + "top": 299.28710899735614 + }, + "post_job_actions": { + "ChangeDatatypeActionout_file1": { + "action_arguments": { + "newtype": "bedgraph" + }, + "action_type": "ChangeDatatypeAction", + "output_name": "out_file1" + }, + "RenameDatasetActionout_file1": { + "action_arguments": { + "newname": "Gaps Bedgraph" + }, + "action_type": "RenameDatasetAction", + "output_name": "out_file1" + }, + "TagDatasetActionout_file1": { + "action_arguments": { + "tags": "Gaps" + }, + "action_type": "TagDatasetAction", + "output_name": "out_file1" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/column_maker/Add_a_column1/2.1", + "tool_shed_repository": { + "changeset_revision": "aff5135563c6", + "name": "column_maker", + "owner": "devteam", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"avoid_scientific_notation\": false, \"error_handling\": {\"auto_col_types\": true, \"fail_on_non_existent_columns\": true, \"non_computable\": {\"action\": \"--fail-on-non-computable\", \"__current_case__\": 0}}, \"input\": {\"__class__\": \"ConnectedValue\"}, \"ops\": {\"header_lines_select\": \"no\", \"__current_case__\": 0, \"expressions\": [{\"__index__\": 0, \"cond\": \"abs(int(c3)-int(c2))\", \"add_column\": {\"mode\": \"\", \"__current_case__\": 0, \"pos\": \"\"}}]}, \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "2.1", + "type": "tool", + "uuid": "659f271c-28fd-4b7d-807a-06c7189b159d", + "when": null, + "workflow_outputs": [ + { + "label": "Gaps Bedgraph", + "output_name": "out_file1", + "uuid": "9fa64361-b645-4ca3-91cd-4a0d13f13a41" + } + ] + }, + "21": { + "annotation": "", + "content_id": "Cut1", + "errors": null, + "id": 21, + "input_connections": { + "input": { + "id": 17, + "output_name": "default" + } + }, + "inputs": [], + "label": null, + "name": "Cut", + "outputs": [ + { + "name": "out_file1", + "type": "tabular" + } + ], + "position": { + "left": 2629.361425631686, + "top": 1274.4689499625679 + }, + "post_job_actions": { + "HideDatasetActionout_file1": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "out_file1" + } + }, + "tool_id": "Cut1", + "tool_state": "{\"columnList\": \"c1,c2,c3\", \"delimiter\": \"T\", \"input\": {\"__class__\": \"ConnectedValue\"}, \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "1.0.2", + "type": "tool", + "uuid": "676086b9-9a0a-40b2-8d7b-466ead68cf2b", + "when": null, + "workflow_outputs": [] + }, + "22": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/bgruening/deeptools_bam_coverage/deeptools_bam_coverage/3.5.4+galaxy0", + "errors": null, + "id": 22, + "input_connections": { + "bamInput": { + "id": 18, + "output_name": "alignment_output" + } + }, + "inputs": [], + "label": null, + "name": "bamCoverage", + "outputs": [ + { + "name": "outFileName", + "type": "bigwig" + } + ], + "position": { + "left": 2884.6953419799906, + "top": 1513.3107499437622 + }, + "post_job_actions": { + "RenameDatasetActionoutFileName": { + "action_arguments": { + "newname": "BigWig Coverage" + }, + "action_type": "RenameDatasetAction", + "output_name": "outFileName" + }, + "TagDatasetActionoutFileName": { + "action_arguments": { + "tags": "coverage" + }, + "action_type": "TagDatasetAction", + "output_name": "outFileName" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/deeptools_bam_coverage/deeptools_bam_coverage/3.5.4+galaxy0", + "tool_shed_repository": { + "changeset_revision": "0e49b109abc2", + "name": "deeptools_bam_coverage", + "owner": "bgruening", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"advancedOpt\": {\"showAdvancedOpt\": \"no\", \"__current_case__\": 0}, \"bamInput\": {\"__class__\": \"ConnectedValue\"}, \"binSize\": \"100\", \"exactScaling\": false, \"outFileFormat\": \"bigwig\", \"region\": \"\", \"scaling\": {\"type\": \"no\", \"__current_case__\": 3}, \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "3.5.4+galaxy0", + "type": "tool", + "uuid": "43e863a6-80b4-4c02-a249-ca7a6469ac01", + "when": null, + "workflow_outputs": [ + { + "label": "BigWig Coverage", + "output_name": "outFileName", + "uuid": "99e50ff7-22ae-4afc-af83-e81b69c73931" + } + ] + }, + "23": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/devteam/column_maker/Add_a_column1/2.1", + "errors": null, + "id": 23, + "input_connections": { + "input": { + "id": 21, + "output_name": "out_file1" + } + }, + "inputs": [], + "label": null, + "name": "Compute", + "outputs": [ + { + "name": "out_file1", + "type": "input" + } + ], + "position": { + "left": 2859.108556796333, + "top": 1138.8469397334848 + }, + "post_job_actions": { + "ChangeDatatypeActionout_file1": { + "action_arguments": { + "newtype": "bedgraph" + }, + "action_type": "ChangeDatatypeAction", + "output_name": "out_file1" + }, + "RenameDatasetActionout_file1": { + "action_arguments": { + "newname": "Telomeres Bedgraph" + }, + "action_type": "RenameDatasetAction", + "output_name": "out_file1" + }, + "TagDatasetActionout_file1": { + "action_arguments": { + "tags": "Telomeres" + }, + "action_type": "TagDatasetAction", + "output_name": "out_file1" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/column_maker/Add_a_column1/2.1", + "tool_shed_repository": { + "changeset_revision": "aff5135563c6", + "name": "column_maker", + "owner": "devteam", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"avoid_scientific_notation\": false, \"error_handling\": {\"auto_col_types\": true, \"fail_on_non_existent_columns\": true, \"non_computable\": {\"action\": \"--fail-on-non-computable\", \"__current_case__\": 0}}, \"input\": {\"__class__\": \"ConnectedValue\"}, \"ops\": {\"header_lines_select\": \"no\", \"__current_case__\": 0, \"expressions\": [{\"__index__\": 0, \"cond\": \"abs(int(c3)-int(c2))\", \"add_column\": {\"mode\": \"\", \"__current_case__\": 0, \"pos\": \"\"}}]}, \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "2.1", + "type": "tool", + "uuid": "0ffab6ca-3d22-4dd5-875d-bdccfc8754ca", + "when": null, + "workflow_outputs": [ + { + "label": "Telomeres Bedgraph", + "output_name": "out_file1", + "uuid": "114950f0-a131-4178-afd9-9cad46f1a394" + } + ] + }, + "24": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/iuc/pretext_graph/pretext_graph/0.0.7+galaxy0", + "errors": null, + "id": 24, + "input_connections": { + "input": { + "id": 22, + "output_name": "outFileName" + }, + "pretext": { + "id": 19, + "output_name": "pretext_map_out" + } + }, + "inputs": [], + "label": "Add Coverage Track", + "name": "Pretextgraph", + "outputs": [ + { + "name": "graph_out", + "type": "pretext" + } + ], + "position": { + "left": 3388.9484898712426, + "top": 1090.7908974801026 + }, + "post_job_actions": { + "HideDatasetActiongraph_out": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "graph_out" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/pretext_graph/pretext_graph/0.0.7+galaxy0", + "tool_shed_repository": { + "changeset_revision": "408ece2e4647", + "name": "pretext_graph", + "owner": "iuc", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"input\": {\"__class__\": \"ConnectedValue\"}, \"name\": \"coverage\", \"pretext\": {\"__class__\": \"ConnectedValue\"}, \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "0.0.7+galaxy0", + "type": "tool", + "uuid": "68583f52-0bd8-41b4-8f10-0bd0ed274177", + "when": null, + "workflow_outputs": [] + }, + "25": { + "annotation": "", + "content_id": "param_value_from_file", + "errors": null, + "id": 25, + "input_connections": { + "input1": { + "id": 23, + "output_name": "out_file1" + } + }, + "inputs": [], + "label": "Test if telomere track is empty", + "name": "Parse parameter value", + "outputs": [ + { + "name": "text_param", + "type": "expression.json" + } + ], + "position": { + "left": 3351.621091524617, + "top": 812.738234663262 + }, + "post_job_actions": {}, + "tool_id": "param_value_from_file", + "tool_state": "{\"input1\": {\"__class__\": \"ConnectedValue\"}, \"param_type\": \"text\", \"remove_newlines\": true, \"__page__\": 0, \"__rerun_remap_job_id__\": null}", + "tool_version": "0.1.0", + "type": "tool", + "uuid": "eaf0278b-fb8e-4001-9def-bc26d8846694", + "when": null, + "workflow_outputs": [] + }, + "26": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/iuc/map_param_value/map_param_value/0.2.0", + "errors": null, + "id": 26, + "input_connections": { + "input_param_type|input_param": { + "id": 25, + "output_name": "text_param" + } + }, + "inputs": [], + "label": "False if telomere track is empty", + "name": "Map parameter value", + "outputs": [ + { + "name": "output_param_boolean", + "type": "expression.json" + } + ], + "position": { + "left": 3603.5625, + "top": 708.92578125 + }, + "post_job_actions": {}, + "tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/map_param_value/map_param_value/0.2.0", + "tool_shed_repository": { + "changeset_revision": "5ac8a4bf7a8d", + "name": "map_param_value", + "owner": "iuc", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"input_param_type\": {\"type\": \"text\", \"__current_case__\": 0, \"input_param\": {\"__class__\": \"ConnectedValue\"}, \"mappings\": [{\"__index__\": 0, \"from\": \"\", \"to\": \"false\"}]}, \"output_param_type\": \"boolean\", \"unmapped\": {\"on_unmapped\": \"default\", \"__current_case__\": 2, \"default_value\": \"true\"}, \"__page__\": 0, \"__rerun_remap_job_id__\": null}", + "tool_version": "0.2.0", + "type": "tool", + "uuid": "2ddee770-02bd-4e81-bb00-491a92b06dc1", + "when": null, + "workflow_outputs": [] + }, + "27": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/iuc/pretext_graph/pretext_graph/0.0.7+galaxy0", + "errors": null, + "id": 27, + "input_connections": { + "input": { + "id": 23, + "output_name": "out_file1" + }, + "pretext": { + "id": 24, + "output_name": "graph_out" + }, + "when": { + "id": 26, + "output_name": "output_param_boolean" + } + }, + "inputs": [], + "label": "Add telomere track", + "name": "Pretextgraph", + "outputs": [ + { + "name": "graph_out", + "type": "pretext" + } + ], + "position": { + "left": 3834.941818419956, + "top": 885.1642650891603 + }, + "post_job_actions": { + "HideDatasetActiongraph_out": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "graph_out" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/pretext_graph/pretext_graph/0.0.7+galaxy0", + "tool_shed_repository": { + "changeset_revision": "408ece2e4647", + "name": "pretext_graph", + "owner": "iuc", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"input\": {\"__class__\": \"ConnectedValue\"}, \"name\": \"telomeres_gap_format\", \"pretext\": {\"__class__\": \"ConnectedValue\"}, \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "0.0.7+galaxy0", + "type": "tool", + "uuid": "5fdfacdd-5f78-4410-817e-217a31ca9744", + "when": "$(inputs.when)", + "workflow_outputs": [] + }, + "28": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/iuc/pick_value/pick_value/0.2.0", + "errors": null, + "id": 28, + "input_connections": { + "style_cond|type_cond|pick_from_0|value": { + "id": 27, + "output_name": "graph_out" + }, + "style_cond|type_cond|pick_from_1|value": { + "id": 24, + "output_name": "graph_out" + } + }, + "inputs": [], + "label": null, + "name": "Pick parameter value", + "outputs": [ + { + "name": "data_param", + "type": "input" + } + ], + "position": { + "left": 4043.910071373994, + "top": 1122.4406478960802 + }, + "post_job_actions": {}, + "tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/pick_value/pick_value/0.2.0", + "tool_shed_repository": { + "changeset_revision": "b19e21af9c52", + "name": "pick_value", + "owner": "iuc", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"style_cond\": {\"pick_style\": \"first\", \"__current_case__\": 0, \"type_cond\": {\"param_type\": \"data\", \"__current_case__\": 4, \"pick_from\": [{\"__index__\": 0, \"value\": {\"__class__\": \"ConnectedValue\"}}, {\"__index__\": 1, \"value\": {\"__class__\": \"ConnectedValue\"}}]}}, \"__page__\": 0, \"__rerun_remap_job_id__\": null}", + "tool_version": "0.2.0", + "type": "tool", + "uuid": "81e184d9-ba58-4fae-87fb-11c4fa6eced3", + "when": null, + "workflow_outputs": [] + }, + "29": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/iuc/pretext_graph/pretext_graph/0.0.7+galaxy0", + "errors": null, + "id": 29, + "input_connections": { + "input": { + "id": 20, + "output_name": "out_file1" + }, + "pretext": { + "id": 28, + "output_name": "data_param" + } + }, + "inputs": [], + "label": "Add gaps track", + "name": "Pretextgraph", + "outputs": [ + { + "name": "graph_out", + "type": "pretext" + } + ], + "position": { + "left": 4277.91619203177, + "top": 724.1405868265828 + }, + "post_job_actions": { + "RenameDatasetActiongraph_out": { + "action_arguments": { + "newname": "Pretext All tracks" + }, + "action_type": "RenameDatasetAction", + "output_name": "graph_out" + }, + "TagDatasetActiongraph_out": { + "action_arguments": { + "tags": "pretext_all_tracks" + }, + "action_type": "TagDatasetAction", + "output_name": "graph_out" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/pretext_graph/pretext_graph/0.0.7+galaxy0", + "tool_shed_repository": { + "changeset_revision": "408ece2e4647", + "name": "pretext_graph", + "owner": "iuc", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"input\": {\"__class__\": \"ConnectedValue\"}, \"name\": \"gaps\", \"pretext\": {\"__class__\": \"ConnectedValue\"}, \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "0.0.7+galaxy0", + "type": "tool", + "uuid": "cdf721aa-3c39-4d9d-8bd6-704f391a0cca", + "when": null, + "workflow_outputs": [ + { + "label": "Pretext All tracks", + "output_name": "graph_out", + "uuid": "453f5d3d-549e-4d17-88b0-444a31c43d1a" + } + ] + }, + "30": { + "annotation": "", + "content_id": "toolshed.g2.bx.psu.edu/repos/iuc/pretext_snapshot/pretext_snapshot/0.0.4+galaxy0", + "errors": null, + "id": 30, + "input_connections": { + "input": { + "id": 29, + "output_name": "graph_out" + } + }, + "inputs": [], + "label": null, + "name": "Pretext Snapshot", + "outputs": [ + { + "name": "pretext_snap_out", + "type": "input" + } + ], + "position": { + "left": 4668.760553276812, + "top": 906.4862147981122 + }, + "post_job_actions": { + "HideDatasetActionpretext_snap_out": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "pretext_snap_out" + } + }, + "tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/pretext_snapshot/pretext_snapshot/0.0.4+galaxy0", + "tool_shed_repository": { + "changeset_revision": "26f2fe7e53a1", + "name": "pretext_snapshot", + "owner": "iuc", + "tool_shed": "toolshed.g2.bx.psu.edu" + }, + "tool_state": "{\"colormap\": \"5\", \"formats\": {\"outformat\": \"png\", \"__current_case__\": 0}, \"grid\": {\"showGrid\": \"yes\", \"__current_case__\": 0, \"gridsize\": \"1\", \"gridcolor\": \"black\"}, \"input\": {\"__class__\": \"ConnectedValue\"}, \"mintexels\": \"64\", \"resolution\": \"2000\", \"sequencenames\": false, \"sequences\": \"=full\", \"__page__\": null, \"__rerun_remap_job_id__\": null}", + "tool_version": "0.0.4+galaxy0", + "type": "tool", + "uuid": "533b33d8-3a3b-480a-9978-1526d65606c5", + "when": null, + "workflow_outputs": [] + }, + "31": { + "annotation": "", + "content_id": "__EXTRACT_DATASET__", + "errors": null, + "id": 31, + "input_connections": { + "input": { + "id": 30, + "output_name": "pretext_snap_out" + } + }, + "inputs": [], + "label": null, + "name": "Extract dataset", + "outputs": [ + { + "name": "output", + "type": "data" + } + ], + "position": { + "left": 4955.29273709371, + "top": 799.6160396180287 + }, + "post_job_actions": { + "RenameDatasetActionoutput": { + "action_arguments": { + "newname": "Pretext Snapshot With tracks" + }, + "action_type": "RenameDatasetAction", + "output_name": "output" + }, + "TagDatasetActionoutput": { + "action_arguments": { + "tags": "pretext_img_coverage" + }, + "action_type": "TagDatasetAction", + "output_name": "output" + } + }, + "tool_id": "__EXTRACT_DATASET__", + "tool_state": "{\"input\": {\"__class__\": \"ConnectedValue\"}, \"which\": {\"which_dataset\": \"first\", \"__current_case__\": 0}, \"__page__\": 0, \"__rerun_remap_job_id__\": null}", + "tool_version": "1.0.1", + "type": "tool", + "uuid": "1a9ded49-abf8-425f-b4a2-abcbcb537aa0", + "when": null, + "workflow_outputs": [ + { + "label": "Pretext Snapshot With tracks", + "output_name": "output", + "uuid": "892bc21e-a9b2-4524-8b1e-02f2a139ab25" + } + ] + } + }, + "tags": [], + "uuid": "4165ffdd-dd47-42b5-bd25-3481f4c28a74", + "version": 1 +}