Skip to content

Commit

Permalink
addition of workflow and tests for mitogenome assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
Delphine-L committed Jan 3, 2024
1 parent ed5e267 commit 1d7ff93
Show file tree
Hide file tree
Showing 4 changed files with 392 additions and 0 deletions.
12 changes: 12 additions & 0 deletions workflows/VGP-assembly-v2/Mitogenome-assembly-VGP0/.dockstore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 1.2
workflows:
- name: main
subclass: Galaxy
publish: true
primaryDescriptorPath: /Mitogenome-Assembly-VGP0.ga
testParameterFiles:
- /Mitogenome-Assembly-VGP0-tests.yml
authors:
- name: VGP
url: https://vertebrategenomeproject.org
- name: Galaxy
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
- doc: Test outline for Mitogenome-Assembly-VGP0
job:
Collection of Pacbio Data:
class: Collection
collection_type: list
elements:
- class: File
identifier: pacbio_01.fasta.gz
location: https://www.dropbox.com/scl/fi/jm4g9koi4wek8vj76xzfx/pacbio_01.fasta.gz?rlkey=993pysom6vndt0jx7kfx7lqu0&dl=1
Species name (latin name): Theretra latreillii lucasii
Email adress: [email protected]
outputs:
contigs_stats:
path: test-data/contigs_stats.tsv
compare: diff
mitogenome_coverage:
asserts:
has_size:
value: 19000
delta: 2000
mitogenome_annotation:
asserts:
has_size:
value: 68000
delta: 5000
mitogenome_genbank:
assert:
has_n_line:
n: 480
Original file line number Diff line number Diff line change
@@ -0,0 +1,348 @@
{
"a_galaxy_workflow": "true",
"annotation": "",
"comments": [],
"creator": [
{
"class": "Organization",
"name": "VGP",
"url": "https://vertebrategenomeproject.org"
},
{
"class": "Organization",
"name": "Galaxy"
}
],
"format-version": "0.1",
"license": "CC-BY-4.0",
"version":"0.1",
"name": "Mitogenome-Assembly-VGP0",
"steps": {
"0": {
"annotation": "",
"content_id": null,
"errors": null,
"id": 0,
"input_connections": {},
"inputs": [
{
"description": "",
"name": "Collection of Pacbio Data"
}
],
"label": "Collection of Pacbio Data",
"name": "Input dataset collection",
"outputs": [],
"position": {
"left": 0.0,
"top": 0.0
},
"tool_id": null,
"tool_state": "{\"optional\": false, \"tag\": \"\", \"collection_type\": \"list\"}",
"tool_version": null,
"type": "data_collection_input",
"uuid": "861c3a49-1055-4030-9a91-e53cbf1ac436",
"when": null,
"workflow_outputs": []
},
"1": {
"annotation": "Latin name of species",
"content_id": null,
"errors": null,
"id": 1,
"input_connections": {},
"inputs": [
{
"description": "Latin name of species",
"name": "Species name (latin name)"
}
],
"label": "Species name (latin name)",
"name": "Input parameter",
"outputs": [],
"position": {
"left": 131.640625,
"top": 108.3515625
},
"tool_id": null,
"tool_state": "{\"parameter_type\": \"text\", \"optional\": false}",
"tool_version": null,
"type": "parameter_input",
"uuid": "27257feb-04b0-48f9-8bd3-a3a74536eab2",
"when": null,
"workflow_outputs": [
{
"label": null,
"output_name": "output",
"uuid": "65196658-7776-4165-944b-c7876483edf4"
}
]
},
"2": {
"annotation": "Required for NCBI database query",
"content_id": null,
"errors": null,
"id": 2,
"input_connections": {},
"inputs": [
{
"description": "Required for NCBI database query",
"name": "Email adress"
}
],
"label": "Email adress",
"name": "Input parameter",
"outputs": [],
"position": {
"left": 200.78125,
"top": 290.66015625
},
"tool_id": null,
"tool_state": "{\"parameter_type\": \"text\", \"optional\": false}",
"tool_version": null,
"type": "parameter_input",
"uuid": "4ddb385f-ecd7-4d48-bc7b-e9c7971a1e62",
"when": null,
"workflow_outputs": [
{
"label": null,
"output_name": "output",
"uuid": "28bbbdb1-62b7-4d3a-9076-09cc835464cc"
}
]
},
"3": {
"annotation": "",
"content_id": "toolshed.g2.bx.psu.edu/repos/bgruening/mitohifi/mitohifi/3+galaxy0",
"errors": null,
"id": 3,
"input_connections": {
"operation_mode|email": {
"id": 2,
"output_name": "output"
},
"operation_mode|species": {
"id": 1,
"output_name": "output"
}
},
"inputs": [
{
"description": "runtime parameter for tool MitoHiFi",
"name": "operation_mode"
},
{
"description": "runtime parameter for tool MitoHiFi",
"name": "operation_mode"
}
],
"label": null,
"name": "MitoHiFi",
"outputs": [
{
"name": "fasta_reference",
"type": "fasta"
},
{
"name": "genbank_reference",
"type": "genbank"
}
],
"position": {
"left": 463.26953125,
"top": 242.234375
},
"post_job_actions": {},
"tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/mitohifi/mitohifi/3+galaxy0",
"tool_shed_repository": {
"changeset_revision": "99ddbf037d98",
"name": "mitohifi",
"owner": "bgruening",
"tool_shed": "toolshed.g2.bx.psu.edu"
},
"tool_state": "{\"operation_mode\": {\"command\": \"find_reference\", \"__current_case__\": 0, \"species\": {\"__class__\": \"ConnectedValue\"}, \"email\": {\"__class__\": \"ConnectedValue\"}, \"min_length\": \"15000\", \"exact_species\": false}, \"__page__\": null, \"__rerun_remap_job_id__\": null}",
"tool_version": "3+galaxy0",
"type": "tool",
"uuid": "e59aea2d-9bc3-4e2e-9af2-711f0cdea373",
"when": null,
"workflow_outputs": []
},
"4": {
"annotation": "",
"content_id": "toolshed.g2.bx.psu.edu/repos/bgruening/mitohifi/mitohifi/3+galaxy0",
"errors": null,
"id": 4,
"input_connections": {
"operation_mode|input_option|input_reads": {
"id": 0,
"output_name": "output"
},
"operation_mode|reference_fasta": {
"id": 3,
"output_name": "fasta_reference"
},
"operation_mode|reference_genbank": {
"id": 3,
"output_name": "genbank_reference"
}
},
"inputs": [
{
"description": "runtime parameter for tool MitoHiFi",
"name": "operation_mode"
},
{
"description": "runtime parameter for tool MitoHiFi",
"name": "operation_mode"
}
],
"label": null,
"name": "MitoHiFi",
"outputs": [
{
"name": "mitogenome_fasta",
"type": "fasta"
},
{
"name": "mitogenome_genbank",
"type": "genbank"
},
{
"name": "mitogenome_annotation",
"type": "png"
},
{
"name": "mitogenome_coverage",
"type": "png"
},
{
"name": "contigs_stats",
"type": "tsv"
},
{
"name": "hifiasm",
"type": "fasta"
},
{
"name": "hifiasm_filtered",
"type": "fasta"
},
{
"name": "hifiasm_contigs",
"type": "fasta"
}
],
"position": {
"left": 767.6689707083681,
"top": 134.09873055610626
},
"post_job_actions": {
"HideDatasetActionhifiasm": {
"action_arguments": {},
"action_type": "HideDatasetAction",
"output_name": "hifiasm"
},
"HideDatasetActionhifiasm_contigs": {
"action_arguments": {},
"action_type": "HideDatasetAction",
"output_name": "hifiasm_contigs"
},
"HideDatasetActionhifiasm_filtered": {
"action_arguments": {},
"action_type": "HideDatasetAction",
"output_name": "hifiasm_filtered"
}
},
"tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/mitohifi/mitohifi/3+galaxy0",
"tool_shed_repository": {
"changeset_revision": "99ddbf037d98",
"name": "mitohifi",
"owner": "bgruening",
"tool_shed": "toolshed.g2.bx.psu.edu"
},
"tool_state": "{\"operation_mode\": {\"command\": \"mitohifi\", \"__current_case__\": 1, \"input_option\": {\"input\": \"pacbio\", \"__current_case__\": 0, \"input_reads\": {\"__class__\": \"ConnectedValue\"}, \"bloom_filter\": \"0\"}, \"reference_fasta\": {\"__class__\": \"ConnectedValue\"}, \"reference_genbank\": {\"__class__\": \"ConnectedValue\"}, \"genetic_code\": \"2\", \"advanced_options\": {\"query_blast\": \"70\", \"circular_size\": null, \"circular_offset\": null, \"outputs\": null}, \"output_zip\": false}, \"__page__\": null, \"__rerun_remap_job_id__\": null}",
"tool_version": "3+galaxy0",
"type": "tool",
"uuid": "ccd83410-608a-4b9d-a43a-11cecd6c2d42",
"when": null,
"workflow_outputs": [
{
"label": "mitogenome_annotation",
"output_name": "mitogenome_annotation",
"uuid": "85061673-df5e-480d-920a-a11c72bf8f56"
},
{
"label": "mitogenome_genbank",
"output_name": "mitogenome_genbank",
"uuid": "fe4d1d3d-9caa-45f6-944e-c4b101105dd1"
},
{
"label": "contigs_stats",
"output_name": "contigs_stats",
"uuid": "31807e4b-e616-4742-92e0-934e6c3c09ae"
},
{
"label": "mitogenome_coverage",
"output_name": "mitogenome_coverage",
"uuid": "8393c665-a328-4698-93e5-198c6fea52dd"
}
]
},
"5": {
"annotation": "",
"content_id": "toolshed.g2.bx.psu.edu/repos/iuc/compress_file/compress_file/0.1.0",
"errors": null,
"id": 5,
"input_connections": {
"input": {
"id": 4,
"output_name": "mitogenome_fasta"
}
},
"inputs": [
{
"description": "runtime parameter for tool Compress file(s)",
"name": "input"
}
],
"label": null,
"name": "Compress file(s)",
"outputs": [
{
"name": "output_file",
"type": "gz"
}
],
"position": {
"left": 1065.5131364872464,
"top": 265.5261773629027
},
"post_job_actions": {},
"tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/compress_file/compress_file/0.1.0",
"tool_shed_repository": {
"changeset_revision": "09ea79f9f260",
"name": "compress_file",
"owner": "iuc",
"tool_shed": "toolshed.g2.bx.psu.edu"
},
"tool_state": "{\"input\": {\"__class__\": \"ConnectedValue\"}, \"__page__\": null, \"__rerun_remap_job_id__\": null}",
"tool_version": "0.1.0",
"type": "tool",
"uuid": "5207adc9-f36a-42e9-8631-e01da77ac446",
"when": null,
"workflow_outputs": [
{
"label": "output_file",
"output_name": "output_file",
"uuid": "6f918a08-1ca1-4d6e-a4d8-7e65e13a65ed"
}
]
}
},
"tags": [
"Reviewed",
"VGP"
],
"uuid": "57920bf9-1741-4170-badf-39fdfcdaa2e9",
"version": 4
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Related mitogenome is 15354 bp long and has 37 genes
contig_id frameshifts_found annotation_file length(bp) number_of_genes was_circular
final_mitogenome ND5;ATP6;ND3;ND4;COX2;ND1;ND4L;ND2;COX1;COX3;CYTB final_mitogenome.gb 15316 36 True

0 comments on commit 1d7ff93

Please sign in to comment.