view CFSAN_SNP_Pipeline.ga @ 45:f58616a4b2f3

planemo upload commit 2107f35724b3f897c9414be40a9d14663cba9f4d-dirty
author jpayne
date Tue, 07 May 2019 11:44:12 -0400
parents eefdd97a6749
children
line wrap: on
line source
{
    "a_galaxy_workflow": "true", 
    "annotation": "", 
    "format-version": "0.1", 
    "name": "CFSAN SNP Pipeline", 
    "steps": {
        "0": {
            "annotation": "", 
            "content_id": null, 
            "errors": null, 
            "id": 0, 
            "input_connections": {}, 
            "inputs": [], 
            "label": "Reference FASTA", 
            "name": "Input dataset", 
            "outputs": [], 
            "position": {
                "left": 241.5, 
                "top": 381
            }, 
            "tool_id": null, 
            "tool_state": "{}", 
            "tool_version": null, 
            "type": "data_input", 
            "uuid": "024fcab7-2daf-4b89-9730-614ee2737db8", 
            "workflow_outputs": [
                {
                    "label": null, 
                    "output_name": "output", 
                    "uuid": "87db8281-092f-4f81-be41-152af355ebd6"
                }
            ]
        }, 
        "1": {
            "annotation": "", 
            "content_id": null, 
            "errors": null, 
            "id": 1, 
            "input_connections": {}, 
            "inputs": [], 
            "label": "Collection of Paired-End Reads", 
            "name": "Input dataset collection", 
            "outputs": [], 
            "position": {
                "left": 222, 
                "top": 746
            }, 
            "tool_id": null, 
            "tool_state": "{\"collection_type\": \"list:paired\"}", 
            "tool_version": null, 
            "type": "data_collection_input", 
            "uuid": "66a18e16-33f7-4488-ac17-508725a58279", 
            "workflow_outputs": [
                {
                    "label": null, 
                    "output_name": "output", 
                    "uuid": "1a3c2f8a-e443-44cc-8490-35ebb5a9ebc4"
                }
            ]
        }, 
        "2": {
            "annotation": "", 
            "content_id": "map_reads", 
            "errors": null, 
            "id": 2, 
            "input_connections": {
                "reads|coll": {
                    "id": 1, 
                    "output_name": "output"
                }, 
                "source|reference": {
                    "id": 0, 
                    "output_name": "output"
                }
            }, 
            "inputs": [
                {
                    "description": "runtime parameter for tool 1. Map Reads", 
                    "name": "source"
                }, 
                {
                    "description": "runtime parameter for tool 1. Map Reads", 
                    "name": "reads"
                }
            ], 
            "label": null, 
            "name": "1. Map Reads", 
            "outputs": [
                {
                    "name": "align_from_collection", 
                    "type": "sam"
                }, 
                {
                    "name": "align_from_history", 
                    "type": "sam"
                }, 
                {
                    "name": "cache_log", 
                    "type": "txt"
                }, 
                {
                    "name": "ref_out", 
                    "type": "fasta"
                }
            ], 
            "position": {
                "left": 505.5, 
                "top": 536.5
            }, 
            "post_job_actions": {}, 
            "tool_id": "map_reads", 
            "tool_state": "{\"source\": \"{\\\"reference\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"__current_case__\\\": 1, \\\"source_select\\\": \\\"history\\\"}\", \"reads\": \"{\\\"coll\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"__current_case__\\\": 0, \\\"reads_select\\\": \\\"collection\\\"}\", \"__rerun_remap_job_id__\": null, \"__page__\": null}", 
            "tool_version": "1.0.1", 
            "type": "tool", 
            "uuid": "112e11d9-2670-4aae-9bee-3b25e0dd3398", 
            "workflow_outputs": []
        }, 
        "3": {
            "annotation": "", 
            "content_id": "call_sites", 
            "errors": null, 
            "id": 3, 
            "input_connections": {
                "input": {
                    "id": 0, 
                    "output_name": "output"
                }, 
                "sample": {
                    "id": 2, 
                    "output_name": "align_from_collection"
                }
            }, 
            "inputs": [], 
            "label": null, 
            "name": "2. Call Sites", 
            "outputs": [
                {
                    "name": "calls", 
                    "type": "vcf"
                }, 
                {
                    "name": "pileup", 
                    "type": "pileup"
                }, 
                {
                    "name": "metrics", 
                    "type": "txt"
                }, 
                {
                    "name": "cache_log", 
                    "type": "txt"
                }
            ], 
            "position": {
                "left": 915.5, 
                "top": 536.5
            }, 
            "post_job_actions": {}, 
            "tool_id": "call_sites", 
            "tool_state": "{\"sample\": \"{\\\"values\\\": [{\\\"src\\\": \\\"hda\\\", \\\"id\\\": 24}]}\", \"input\": \"{\\\"values\\\": [{\\\"src\\\": \\\"hda\\\", \\\"id\\\": 26}]}\", \"__rerun_remap_job_id__\": null, \"__page__\": null}", 
            "tool_version": "1.0.1", 
            "type": "tool", 
            "uuid": "23b2c1b4-f213-41a2-ad71-6a2c579ac36b", 
            "workflow_outputs": []
        }, 
        "4": {
            "annotation": "", 
            "content_id": "filter_regions", 
            "errors": null, 
            "id": 4, 
            "input_connections": {
                "calls": {
                    "id": 3, 
                    "output_name": "calls"
                }, 
                "reference": {
                    "id": 0, 
                    "output_name": "output"
                }
            }, 
            "inputs": [], 
            "label": null, 
            "name": "3. Filter SNP Regions", 
            "outputs": [
                {
                    "name": "filcalls", 
                    "type": "vcf"
                }, 
                {
                    "name": "excludes", 
                    "type": "vcf"
                }
            ], 
            "position": {
                "left": 1231, 
                "top": 304.5
            }, 
            "post_job_actions": {}, 
            "tool_id": "filter_regions", 
            "tool_state": "{\"__page__\": null, \"__rerun_remap_job_id__\": null, \"reference\": \"{\\\"values\\\": [{\\\"src\\\": \\\"hda\\\", \\\"id\\\": 26}]}\", \"calls\": \"null\"}", 
            "tool_version": "1.0.1", 
            "type": "tool", 
            "uuid": "b2f3ecfe-ecdb-4014-a362-78f35426559f", 
            "workflow_outputs": []
        }, 
        "5": {
            "annotation": "", 
            "content_id": "merge_sites", 
            "errors": null, 
            "id": 5, 
            "input_connections": {
                "calls": {
                    "id": 3, 
                    "output_name": "calls"
                }
            }, 
            "inputs": [
                {
                    "description": "runtime parameter for tool 4. Merge Sites", 
                    "name": "calls"
                }
            ], 
            "label": null, 
            "name": "4. Merge Sites", 
            "outputs": [
                {
                    "name": "snplist", 
                    "type": "txt"
                }
            ], 
            "position": {
                "left": 1535.5, 
                "top": 717
            }, 
            "post_job_actions": {
                "TagDatasetActionsnplist": {
                    "action_arguments": {
                        "tags": "unfiltered"
                    }, 
                    "action_type": "TagDatasetAction", 
                    "output_name": "snplist"
                }
            }, 
            "tool_id": "merge_sites", 
            "tool_state": "{\"__page__\": null, \"__rerun_remap_job_id__\": null, \"calls\": \"{\\\"__class__\\\": \\\"RuntimeValue\\\"}\"}", 
            "tool_version": "1.0.1", 
            "type": "tool", 
            "uuid": "012268fa-41bf-4227-b812-47009b8315c3", 
            "workflow_outputs": [
                {
                    "label": "Unfiltered SNP list", 
                    "output_name": "snplist", 
                    "uuid": "0dd22e5c-15b8-4772-8304-a81d3de1bee4"
                }
            ]
        }, 
        "6": {
            "annotation": "", 
            "content_id": "merge_sites", 
            "errors": null, 
            "id": 6, 
            "input_connections": {
                "calls": {
                    "id": 4, 
                    "output_name": "filcalls"
                }
            }, 
            "inputs": [
                {
                    "description": "runtime parameter for tool 4. Merge Sites", 
                    "name": "calls"
                }
            ], 
            "label": null, 
            "name": "4. Merge Sites", 
            "outputs": [
                {
                    "name": "snplist", 
                    "type": "txt"
                }
            ], 
            "position": {
                "left": 1530.5, 
                "top": 299
            }, 
            "post_job_actions": {
                "TagDatasetActionsnplist": {
                    "action_arguments": {
                        "tags": "filtered"
                    }, 
                    "action_type": "TagDatasetAction", 
                    "output_name": "snplist"
                }
            }, 
            "tool_id": "merge_sites", 
            "tool_state": "{\"__page__\": null, \"__rerun_remap_job_id__\": null, \"calls\": \"{\\\"__class__\\\": \\\"RuntimeValue\\\"}\"}", 
            "tool_version": "1.0.1", 
            "type": "tool", 
            "uuid": "bb0d410f-4d22-400e-8dc2-ddf62027ca3d", 
            "workflow_outputs": [
                {
                    "label": "Filtered SNP list", 
                    "output_name": "snplist", 
                    "uuid": "ab240b50-625d-4468-90fe-02363974abea"
                }
            ]
        }, 
        "7": {
            "annotation": "", 
            "content_id": "call_consensus", 
            "errors": null, 
            "id": 7, 
            "input_connections": {
                "call_pileup": {
                    "id": 3, 
                    "output_name": "pileup"
                }, 
                "calls": {
                    "id": 3, 
                    "output_name": "calls"
                }, 
                "snps": {
                    "id": 5, 
                    "output_name": "snplist"
                }
            }, 
            "inputs": [], 
            "label": null, 
            "name": "5. Call consensus SNPs", 
            "outputs": [
                {
                    "name": "calls_consensus_vcf", 
                    "type": "vcf"
                }, 
                {
                    "name": "calls_consensus_fa", 
                    "type": "fasta"
                }, 
                {
                    "name": "cache_log", 
                    "type": "txt"
                }
            ], 
            "position": {
                "left": 1748.5, 
                "top": 707.5
            }, 
            "post_job_actions": {}, 
            "tool_id": "call_consensus", 
            "tool_state": "{\"snps\": \"{\\\"values\\\": [{\\\"src\\\": \\\"hda\\\", \\\"id\\\": 26}]}\", \"__page__\": null, \"__rerun_remap_job_id__\": null, \"call_pileup\": \"null\", \"calls\": \"null\"}", 
            "tool_version": "1.0.1", 
            "type": "tool", 
            "uuid": "8785777e-c7c0-4416-8c5c-5201d218fa71", 
            "workflow_outputs": []
        }, 
        "8": {
            "annotation": "", 
            "content_id": "call_consensus", 
            "errors": null, 
            "id": 8, 
            "input_connections": {
                "call_pileup": {
                    "id": 3, 
                    "output_name": "pileup"
                }, 
                "calls": {
                    "id": 4, 
                    "output_name": "filcalls"
                }, 
                "snps": {
                    "id": 6, 
                    "output_name": "snplist"
                }
            }, 
            "inputs": [], 
            "label": null, 
            "name": "5. Call consensus SNPs", 
            "outputs": [
                {
                    "name": "calls_consensus_vcf", 
                    "type": "vcf"
                }, 
                {
                    "name": "calls_consensus_fa", 
                    "type": "fasta"
                }, 
                {
                    "name": "cache_log", 
                    "type": "txt"
                }
            ], 
            "position": {
                "left": 1752.5, 
                "top": 289.5
            }, 
            "post_job_actions": {}, 
            "tool_id": "call_consensus", 
            "tool_state": "{\"snps\": \"{\\\"values\\\": [{\\\"src\\\": \\\"hda\\\", \\\"id\\\": 26}]}\", \"__page__\": null, \"__rerun_remap_job_id__\": null, \"call_pileup\": \"null\", \"calls\": \"null\"}", 
            "tool_version": "1.0.1", 
            "type": "tool", 
            "uuid": "14dbd077-15fc-4dbe-8883-b6184d696428", 
            "workflow_outputs": []
        }, 
        "9": {
            "annotation": "", 
            "content_id": "merge_vcfs", 
            "errors": null, 
            "id": 9, 
            "input_connections": {
                "vcfs": {
                    "id": 7, 
                    "output_name": "calls_consensus_vcf"
                }
            }, 
            "inputs": [
                {
                    "description": "runtime parameter for tool 6. Merge VCFs", 
                    "name": "vcfs"
                }
            ], 
            "label": null, 
            "name": "6. Merge VCFs", 
            "outputs": [
                {
                    "name": "snpmav", 
                    "type": "vcf"
                }
            ], 
            "position": {
                "left": 2050.5, 
                "top": 644
            }, 
            "post_job_actions": {
                "TagDatasetActionsnpmav": {
                    "action_arguments": {
                        "tags": "unfiltered"
                    }, 
                    "action_type": "TagDatasetAction", 
                    "output_name": "snpmav"
                }
            }, 
            "tool_id": "merge_vcfs", 
            "tool_state": "{\"vcfs\": \"{\\\"__class__\\\": \\\"RuntimeValue\\\"}\", \"__page__\": null, \"__rerun_remap_job_id__\": null}", 
            "tool_version": "1.0.1", 
            "type": "tool", 
            "uuid": "37131dc0-b85a-4f76-9bfc-96d1ce05f485", 
            "workflow_outputs": [
                {
                    "label": "Unfiltered SNP matrix (VCF)", 
                    "output_name": "snpmav", 
                    "uuid": "4cf3ea09-55ae-4656-abc7-9e0ae6f96a3e"
                }
            ]
        }, 
        "10": {
            "annotation": "", 
            "content_id": "snp_matrix", 
            "errors": null, 
            "id": 10, 
            "input_connections": {
                "cons": {
                    "id": 7, 
                    "output_name": "calls_consensus_fa"
                }, 
                "reference|reference": {
                    "id": 0, 
                    "output_name": "output"
                }, 
                "snplist": {
                    "id": 5, 
                    "output_name": "snplist"
                }
            }, 
            "inputs": [
                {
                    "description": "runtime parameter for tool 7. Create a SNP matrix", 
                    "name": "snplist"
                }, 
                {
                    "description": "runtime parameter for tool 7. Create a SNP matrix", 
                    "name": "cons"
                }, 
                {
                    "description": "runtime parameter for tool 7. Create a SNP matrix", 
                    "name": "reference"
                }
            ], 
            "label": null, 
            "name": "7. Create a SNP matrix", 
            "outputs": [
                {
                    "name": "snpma", 
                    "type": "fasta"
                }, 
                {
                    "name": "pairws", 
                    "type": "tsv"
                }, 
                {
                    "name": "distma", 
                    "type": "tsv"
                }, 
                {
                    "name": "referenceSNP", 
                    "type": "fasta"
                }, 
                {
                    "name": "metrics", 
                    "type": "tsv"
                }
            ], 
            "position": {
                "left": 2053, 
                "top": 784
            }, 
            "post_job_actions": {
                "HideDatasetActionmetrics": {
                    "action_arguments": {}, 
                    "action_type": "HideDatasetAction", 
                    "output_name": "metrics"
                }, 
                "TagDatasetActiondistma": {
                    "action_arguments": {
                        "tags": "unfiltered"
                    }, 
                    "action_type": "TagDatasetAction", 
                    "output_name": "distma"
                }, 
                "TagDatasetActionreferenceSNP": {
                    "action_arguments": {
                        "tags": "unfiltered"
                    }, 
                    "action_type": "TagDatasetAction", 
                    "output_name": "referenceSNP"
                }, 
                "TagDatasetActionsnpma": {
                    "action_arguments": {
                        "tags": "unfiltered"
                    }, 
                    "action_type": "TagDatasetAction", 
                    "output_name": "snpma"
                }
            }, 
            "tool_id": "snp_matrix", 
            "tool_state": "{\"__page__\": null, \"snplist\": \"{\\\"__class__\\\": \\\"RuntimeValue\\\"}\", \"cons\": \"{\\\"__class__\\\": \\\"RuntimeValue\\\"}\", \"__rerun_remap_job_id__\": null, \"reference\": \"{\\\"ref\\\": \\\"history\\\", \\\"reference\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"__current_case__\\\": 1}\"}", 
            "tool_version": "1.0.1", 
            "type": "tool", 
            "uuid": "22e52e86-ab1d-4201-9850-86d4bc0a8110", 
            "workflow_outputs": [
                {
                    "label": "Unfiltered SNP distance matrix", 
                    "output_name": "distma", 
                    "uuid": "c8e44902-b18f-45d5-9aa6-81471cfcd73d"
                }, 
                {
                    "label": "Unfiltered SNP reference (FASTA)", 
                    "output_name": "referenceSNP", 
                    "uuid": "b60c56cf-c9df-4eef-85d0-39717232aef0"
                }, 
                {
                    "label": "Unfiltered SNP matrix (FASTA)", 
                    "output_name": "snpma", 
                    "uuid": "07789496-d5db-48ec-98ad-0c25f5e93fcc"
                }, 
                {
                    "label": "Unfiltered pairwise SNP distance table", 
                    "output_name": "pairws", 
                    "uuid": "e34a6bc0-7165-4444-ae06-e7679248b6bf"
                }
            ]
        }, 
        "11": {
            "annotation": "", 
            "content_id": "merge_vcfs", 
            "errors": null, 
            "id": 11, 
            "input_connections": {
                "vcfs": {
                    "id": 8, 
                    "output_name": "calls_consensus_vcf"
                }
            }, 
            "inputs": [
                {
                    "description": "runtime parameter for tool 6. Merge VCFs", 
                    "name": "vcfs"
                }
            ], 
            "label": null, 
            "name": "6. Merge VCFs", 
            "outputs": [
                {
                    "name": "snpmav", 
                    "type": "vcf"
                }
            ], 
            "position": {
                "left": 2054.5, 
                "top": 227
            }, 
            "post_job_actions": {
                "TagDatasetActionsnpmav": {
                    "action_arguments": {
                        "tags": "filtered"
                    }, 
                    "action_type": "TagDatasetAction", 
                    "output_name": "snpmav"
                }
            }, 
            "tool_id": "merge_vcfs", 
            "tool_state": "{\"vcfs\": \"{\\\"__class__\\\": \\\"RuntimeValue\\\"}\", \"__page__\": null, \"__rerun_remap_job_id__\": null}", 
            "tool_version": "1.0.1", 
            "type": "tool", 
            "uuid": "55024e57-310a-4ab7-927b-034c78b757d9", 
            "workflow_outputs": [
                {
                    "label": "Filtered SNP matrix (VCF)", 
                    "output_name": "snpmav", 
                    "uuid": "b4118679-e622-4a93-8a15-aaab125c2475"
                }
            ]
        }, 
        "12": {
            "annotation": "", 
            "content_id": "snp_matrix", 
            "errors": null, 
            "id": 12, 
            "input_connections": {
                "cons": {
                    "id": 8, 
                    "output_name": "calls_consensus_fa"
                }, 
                "reference|reference": {
                    "id": 0, 
                    "output_name": "output"
                }, 
                "snplist": {
                    "id": 6, 
                    "output_name": "snplist"
                }
            }, 
            "inputs": [
                {
                    "description": "runtime parameter for tool 7. Create a SNP matrix", 
                    "name": "snplist"
                }, 
                {
                    "description": "runtime parameter for tool 7. Create a SNP matrix", 
                    "name": "cons"
                }, 
                {
                    "description": "runtime parameter for tool 7. Create a SNP matrix", 
                    "name": "reference"
                }
            ], 
            "label": null, 
            "name": "7. Create a SNP matrix", 
            "outputs": [
                {
                    "name": "snpma", 
                    "type": "fasta"
                }, 
                {
                    "name": "pairws", 
                    "type": "tsv"
                }, 
                {
                    "name": "distma", 
                    "type": "tsv"
                }, 
                {
                    "name": "referenceSNP", 
                    "type": "fasta"
                }, 
                {
                    "name": "metrics", 
                    "type": "tsv"
                }
            ], 
            "position": {
                "left": 2050, 
                "top": 349
            }, 
            "post_job_actions": {
                "HideDatasetActionmetrics": {
                    "action_arguments": {}, 
                    "action_type": "HideDatasetAction", 
                    "output_name": "metrics"
                }, 
                "TagDatasetActiondistma": {
                    "action_arguments": {
                        "tags": "filtered"
                    }, 
                    "action_type": "TagDatasetAction", 
                    "output_name": "distma"
                }, 
                "TagDatasetActionpairws": {
                    "action_arguments": {
                        "tags": "filtered"
                    }, 
                    "action_type": "TagDatasetAction", 
                    "output_name": "pairws"
                }, 
                "TagDatasetActionreferenceSNP": {
                    "action_arguments": {
                        "tags": "filtered"
                    }, 
                    "action_type": "TagDatasetAction", 
                    "output_name": "referenceSNP"
                }, 
                "TagDatasetActionsnpma": {
                    "action_arguments": {
                        "tags": "filtered"
                    }, 
                    "action_type": "TagDatasetAction", 
                    "output_name": "snpma"
                }
            }, 
            "tool_id": "snp_matrix", 
            "tool_state": "{\"__page__\": null, \"snplist\": \"{\\\"__class__\\\": \\\"RuntimeValue\\\"}\", \"cons\": \"{\\\"__class__\\\": \\\"RuntimeValue\\\"}\", \"__rerun_remap_job_id__\": null, \"reference\": \"{\\\"ref\\\": \\\"history\\\", \\\"reference\\\": {\\\"__class__\\\": \\\"RuntimeValue\\\"}, \\\"__current_case__\\\": 1}\"}", 
            "tool_version": "1.0.1", 
            "type": "tool", 
            "uuid": "6d0adb1c-637a-436a-aa32-64cb54b414f6", 
            "workflow_outputs": [
                {
                    "label": "Filtered SNP distance matrix", 
                    "output_name": "distma", 
                    "uuid": "0b3437f6-5370-415c-bd02-f85fd4527783"
                }, 
                {
                    "label": "Filtered SNP reference (FASTA)", 
                    "output_name": "referenceSNP", 
                    "uuid": "bca4048e-2af1-4764-a1de-cf987914fc2a"
                }, 
                {
                    "label": "Filtered SNP matrix (FASTA)", 
                    "output_name": "snpma", 
                    "uuid": "2ca775f1-917f-4824-b11a-1506c2e75bc6"
                }, 
                {
                    "label": "Filtered pairwise SNP distance table", 
                    "output_name": "pairws", 
                    "uuid": "6d385865-e585-4bc1-956f-95110edf6095"
                }
            ]
        }
    }, 
    "tags": [], 
    "uuid": "304cdcb3-78a5-43bf-be17-c0824e30e02c"
}