Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pvanheus/6535bfd9cfc8f934429dfa383e23b452 to your computer and use it in GitHub Desktop.
Save pvanheus/6535bfd9cfc8f934429dfa383e23b452 to your computer and use it in GitHub Desktop.
{
"a_galaxy_workflow": "true",
"annotation": "",
"format-version": "0.1",
"name": "SARS-CoV-2 ARTIC amplicon analysis (v. 2)",
"steps": {
"0": {
"annotation": "",
"content_id": null,
"errors": null,
"id": 0,
"input_connections": {},
"inputs": [
{
"description": "",
"name": "NGS Reads"
}
],
"label": "NGS Reads",
"name": "Input dataset collection",
"outputs": [],
"position": {
"left": 200,
"top": 352.8999786376953
},
"tool_id": null,
"tool_state": "{\"optional\": false, \"collection_type\": \"list:paired\"}",
"tool_version": null,
"type": "data_collection_input",
"uuid": "b9cf36f5-7651-4249-8770-52af6e03cc9e",
"workflow_outputs": [
{
"label": null,
"output_name": "output",
"uuid": "a87a1f17-f545-4e0a-b08c-3bcc4d9a7bfa"
}
]
},
"1": {
"annotation": "Fix primer BED before use.\n\nGet: https://raw.githubusercontent.com/artic-network/artic-ncov2019/master/primer_schemes/nCoV-2019/V1/nCoV-2019.scheme.bed\n\nAWK: BEGIN {OFS=\"\\t\"} {split($0,x,\"\\t\"); s = (x[4] ~ /LEFT/) ? \"+\" : \"-\"; print(x[1], x[2], x[3], 60, s)}",
"content_id": null,
"errors": null,
"id": 1,
"input_connections": {},
"inputs": [
{
"description": "Fix primer BED before use.\n\nGet: https://raw.githubusercontent.com/artic-network/artic-ncov2019/master/primer_schemes/nCoV-2019/V1/nCoV-2019.scheme.bed\n\nAWK: BEGIN {OFS=\"\\t\"} {split($0,x,\"\\t\"); s = (x[4] ~ /LEFT/) ? \"+\" : \"-\"; print(x[1], x[2], x[3], 60, s)}",
"name": "ARTIC Primer BED"
}
],
"label": "ARTIC Primer BED",
"name": "Input dataset",
"outputs": [],
"position": {
"left": 219.5,
"top": 526.6499786376953
},
"tool_id": null,
"tool_state": "{\"optional\": false}",
"tool_version": null,
"type": "data_input",
"uuid": "def539ab-1297-45a7-907d-a3fbc424dd5e",
"workflow_outputs": [
{
"label": null,
"output_name": "output",
"uuid": "860e733a-e8d1-4932-be99-1947a040254d"
}
]
},
"2": {
"annotation": "",
"content_id": null,
"errors": null,
"id": 2,
"input_connections": {},
"inputs": [
{
"description": "",
"name": "Reference Genome"
}
],
"label": "Reference Genome",
"name": "Input dataset",
"outputs": [],
"position": {
"left": 219.5,
"top": 633.6499786376953
},
"tool_id": null,
"tool_state": "{\"optional\": false}",
"tool_version": null,
"type": "data_input",
"uuid": "7bcea4b8-8984-49dc-afe4-f69b4f493671",
"workflow_outputs": [
{
"label": null,
"output_name": "output",
"uuid": "b47c5506-9a5c-4cc4-8769-41de8e0f9d6f"
}
]
},
"3": {
"annotation": "",
"content_id": "toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.17",
"errors": null,
"id": 3,
"input_connections": {
"fastq_input|fastq_input1": {
"id": 0,
"output_name": "output"
},
"reference_source|ref_file": {
"id": 2,
"output_name": "output"
}
},
"inputs": [],
"label": null,
"name": "Map with minimap2",
"outputs": [
{
"name": "alignment_output",
"type": "bam"
}
],
"position": {
"left": 458.49998474121094,
"top": 352.6499786376953
},
"post_job_actions": {},
"tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.17",
"tool_shed_repository": {
"changeset_revision": "3f4d6399997b",
"name": "minimap2",
"owner": "iuc",
"tool_shed": "toolshed.g2.bx.psu.edu"
},
"tool_state": "{\"alignment_options\": {\"A\": \"\", \"B\": \"\", \"O\": \"\", \"-O2\": \"\", \"E\": \"\", \"E2\": \"\", \"z\": \"\", \"s\": \"\", \"u\": null}, \"analysis_type_selector\": \"sr\", \"fastq_input\": {\"fastq_input_selector\": \"paired_collection\", \"__current_case__\": 2, \"fastq_input1\": {\"__class__\": \"ConnectedValue\"}}, \"indexing_options\": {\"H\": \"false\", \"k\": \"\", \"w\": \"\", \"I\": \"\"}, \"io_options\": {\"output_format\": \"BAM\", \"Q\": \"false\", \"L\": \"false\", \"K\": \"20\", \"cs\": null, \"eqx\": \"false\", \"Y\": \"false\"}, \"mapping_options\": {\"f\": \"\", \"min_occ_floor\": \"\", \"g\": \"\", \"G\": \"\", \"F\": \"\", \"r\": \"\", \"n\": \"\", \"m\": \"\", \"X\": \"false\", \"p\": \"\", \"N\": \"\"}, \"reference_source\": {\"reference_source_selector\": \"history\", \"__current_case__\": 1, \"ref_file\": {\"__class__\": \"ConnectedValue\"}}, \"__page__\": null, \"__rerun_remap_job_id__\": null}",
"tool_version": "2.17",
"type": "tool",
"uuid": "8080cd69-072b-4a17-a9cb-837766de2987",
"workflow_outputs": [
{
"label": null,
"output_name": "alignment_output",
"uuid": "d08a7d61-13cb-4536-8d48-1b02516032eb"
}
]
},
"4": {
"annotation": "",
"content_id": "toolshed.g2.bx.psu.edu/repos/iuc/ivar_trim/ivar_trim/1.2+galaxy0",
"errors": null,
"id": 4,
"input_connections": {
"input_bam": {
"id": 3,
"output_name": "alignment_output"
},
"input_bed": {
"id": 1,
"output_name": "output"
}
},
"inputs": [
{
"description": "runtime parameter for tool ivar trim",
"name": "input_bam"
},
{
"description": "runtime parameter for tool ivar trim",
"name": "input_bed"
}
],
"label": null,
"name": "ivar trim",
"outputs": [
{
"name": "output_bam",
"type": "bam"
}
],
"position": {
"left": 786.4999847412109,
"top": 489.6499786376953
},
"post_job_actions": {
"HideDatasetActionoutput_bam": {
"action_arguments": {},
"action_type": "HideDatasetAction",
"output_name": "output_bam"
}
},
"tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/ivar_trim/ivar_trim/1.2+galaxy0",
"tool_shed_repository": {
"changeset_revision": "d37ede8589b2",
"name": "ivar_trim",
"owner": "iuc",
"tool_shed": "toolshed.g2.bx.psu.edu"
},
"tool_state": "{\"inc_primers\": \"false\", \"input_bam\": {\"__class__\": \"RuntimeValue\"}, \"input_bed\": {\"__class__\": \"RuntimeValue\"}, \"min_len\": \"30\", \"min_qual\": \"20\", \"window_width\": \"4\", \"__page__\": null, \"__rerun_remap_job_id__\": null}",
"tool_version": "1.2+galaxy0",
"type": "tool",
"uuid": "f9191892-74a7-49d2-99b1-b667b2627bff",
"workflow_outputs": []
},
"5": {
"annotation": "",
"content_id": "toolshed.g2.bx.psu.edu/repos/iuc/qualimap_bamqc/qualimap_bamqc/2.2.2d+galaxy1",
"errors": null,
"id": 5,
"input_connections": {
"input1": {
"id": 4,
"output_name": "output_bam"
}
},
"inputs": [],
"label": null,
"name": "QualiMap BamQC",
"outputs": [
{
"name": "raw_data",
"type": "input"
},
{
"name": "output_html",
"type": "html"
}
],
"position": {
"left": 1112.550033569336,
"top": 287.75001525878906
},
"post_job_actions": {
"HideDatasetActionraw_data": {
"action_arguments": {},
"action_type": "HideDatasetAction",
"output_name": "raw_data"
}
},
"tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/qualimap_bamqc/qualimap_bamqc/2.2.2d+galaxy1",
"tool_shed_repository": {
"changeset_revision": "e7fd6754d093",
"name": "qualimap_bamqc",
"owner": "iuc",
"tool_shed": "toolshed.g2.bx.psu.edu"
},
"tool_state": "{\"duplicate_skipping\": [\"1\"], \"input1\": {\"__class__\": \"ConnectedValue\"}, \"per_base_coverage\": \"false\", \"plot_specific\": {\"n_bins\": \"400\", \"paint_chromosome_limits\": \"true\", \"genome_gc_distr\": null, \"homopolymer_size\": \"3\"}, \"stats_regions\": {\"region_select\": \"all\", \"__current_case__\": 0}, \"__page__\": null, \"__rerun_remap_job_id__\": null}",
"tool_version": "2.2.2d+galaxy1",
"type": "tool",
"uuid": "6d192ab5-4252-4179-b090-3c057b843617",
"workflow_outputs": [
{
"label": null,
"output_name": "output_html",
"uuid": "fcf863fd-17ab-43c8-a1e8-fd88894701ae"
}
]
},
"6": {
"annotation": "",
"content_id": "toolshed.g2.bx.psu.edu/repos/iuc/ivar_variants/ivar_variants/1.2+galaxy0",
"errors": null,
"id": 6,
"input_connections": {
"input_bam": {
"id": 4,
"output_name": "output_bam"
},
"ref": {
"id": 2,
"output_name": "output"
}
},
"inputs": [
{
"description": "runtime parameter for tool ivar variants",
"name": "input_bam"
},
{
"description": "runtime parameter for tool ivar variants",
"name": "ref"
}
],
"label": null,
"name": "ivar variants",
"outputs": [
{
"name": "output_variants",
"type": "tabular"
}
],
"position": {
"left": 1110.499984741211,
"top": 492.6499786376953
},
"post_job_actions": {},
"tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/ivar_variants/ivar_variants/1.2+galaxy0",
"tool_shed_repository": {
"changeset_revision": "c5c9f02b6167",
"name": "ivar_variants",
"owner": "iuc",
"tool_shed": "toolshed.g2.bx.psu.edu"
},
"tool_state": "{\"input_bam\": {\"__class__\": \"RuntimeValue\"}, \"min_freq\": \"0.03\", \"min_qual\": \"20\", \"ref\": {\"__class__\": \"RuntimeValue\"}, \"__page__\": null, \"__rerun_remap_job_id__\": null}",
"tool_version": "1.2+galaxy0",
"type": "tool",
"uuid": "e1c5978f-1871-4a55-a739-dc8323058bbe",
"workflow_outputs": [
{
"label": null,
"output_name": "output_variants",
"uuid": "32587f8d-b82f-4e7c-a6c2-a3e64b47ec08"
}
]
},
"7": {
"annotation": "",
"content_id": "toolshed.g2.bx.psu.edu/repos/iuc/ivar_consensus/ivar_consensus/1.2+galaxy0",
"errors": null,
"id": 7,
"input_connections": {
"input_bam": {
"id": 4,
"output_name": "output_bam"
}
},
"inputs": [
{
"description": "runtime parameter for tool ivar consensus",
"name": "input_bam"
}
],
"label": null,
"name": "ivar consensus",
"outputs": [
{
"name": "consensus",
"type": "fasta"
}
],
"position": {
"left": 1114.499984741211,
"top": 655.6499786376953
},
"post_job_actions": {
"HideDatasetActionconsensus": {
"action_arguments": {},
"action_type": "HideDatasetAction",
"output_name": "consensus"
}
},
"tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/ivar_consensus/ivar_consensus/1.2+galaxy0",
"tool_shed_repository": {
"changeset_revision": "a38934e303b9",
"name": "ivar_consensus",
"owner": "iuc",
"tool_shed": "toolshed.g2.bx.psu.edu"
},
"tool_state": "{\"filter_depth\": \"false\", \"gap\": \"true\", \"input_bam\": {\"__class__\": \"RuntimeValue\"}, \"min_depth\": \"1\", \"min_freq\": \"0.6\", \"min_qual\": \"20\", \"__page__\": null, \"__rerun_remap_job_id__\": null}",
"tool_version": "1.2+galaxy0",
"type": "tool",
"uuid": "279e3fb1-24ab-4ce2-9561-df9d6f6b82fd",
"workflow_outputs": []
},
"8": {
"annotation": "",
"content_id": "toolshed.g2.bx.psu.edu/repos/iuc/seqtk/seqtk_seq/1.3.3",
"errors": null,
"id": 8,
"input_connections": {
"in_file": {
"id": 7,
"output_name": "consensus"
}
},
"inputs": [],
"label": null,
"name": "seqtk_seq",
"outputs": [
{
"name": "default",
"type": "input"
}
],
"position": {
"left": 1442.499984741211,
"top": 354.6499786376953
},
"post_job_actions": {},
"tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/seqtk/seqtk_seq/1.3.3",
"tool_shed_repository": {
"changeset_revision": "58c8ece95b53",
"name": "seqtk",
"owner": "iuc",
"tool_shed": "toolshed.g2.bx.psu.edu"
},
"tool_state": "{\"A\": \"false\", \"C\": \"false\", \"L\": \"0\", \"M\": null, \"N\": \"false\", \"Q\": \"33\", \"X\": \"255\", \"c\": \"false\", \"chromInfo\": \"/projects/galaxy/main_galaxy1/galaxy/tool-data/shared/ucsc/chrom/?.len\", \"f\": \"1.0\", \"in_file\": {\"__class__\": \"ConnectedValue\"}, \"l\": \"50\", \"n\": \"0\", \"q\": \"0\", \"r\": \"false\", \"s\": \"11\", \"x1\": \"false\", \"x2\": \"false\", \"__page__\": null, \"__rerun_remap_job_id__\": null}",
"tool_version": "1.3.3",
"type": "tool",
"uuid": "4a874f88-280c-4b90-b4dd-507ba2e276f2",
"workflow_outputs": [
{
"label": null,
"output_name": "default",
"uuid": "d9e28b36-8319-4ba3-9b5a-21298bcc84d9"
}
]
}
},
"tags": [],
"uuid": "4247d42e-4bf6-4dd1-84f6-3c3d01ca22e9",
"version": 3
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment