Post-assembly workflow

assembly-ERGA-post-assembly-QC/main-workflow

Author(s)
Cristóbal Gallardo Alba
version Version
3
last_modification Last updated
Jun 23, 2023
license License
AGPL-3.0-or-later
galaxy-tags Tags

Features

Tutorial
hands_on ERGA post-assembly QC

Workflow Testing
Tests: ✅
Results: Not yet automated
FAIRness purl PURL
https://gxy.io/GTN:W00000
RO-Crate logo with flask Download Workflow RO-Crate Workflowhub cloud with gears logo View on WorkflowHub
Launch in Tutorial Mode question
galaxy-download Download
flowchart TD
  0["ℹ️ Input Dataset\nMetadata file"];
  style 0 stroke:#2c3143,stroke-width:4px;
  1["ℹ️ Input Parameter\nNCBI taxonomic ID"];
  style 1 fill:#ded,stroke:#393,stroke-width:4px;
  2["ℹ️ Input Dataset\nNCBI taxdump directory"];
  style 2 stroke:#2c3143,stroke-width:4px;
  3["ℹ️ Input Collection\nFASTQ files"];
  style 3 stroke:#2c3143,stroke-width:4px;
  4["ℹ️ Input Parameter\nPloidy for model to use"];
  style 4 fill:#ded,stroke:#393,stroke-width:4px;
  5["ℹ️ Input Dataset\nPrimary genome assembly file fasta"];
  style 5 stroke:#2c3143,stroke-width:4px;
  6["ℹ️ Input Dataset\nDIAMOND database"];
  style 6 stroke:#2c3143,stroke-width:4px;
  7["ℹ️ Input Collection\nHi-C reverse"];
  style 7 stroke:#2c3143,stroke-width:4px;
  8["ℹ️ Input Collection\nHi-C forward"];
  style 8 stroke:#2c3143,stroke-width:4px;
  9["Meryl"];
  3 -->|output| 9;
  10["Collapse Collection"];
  3 -->|output| 10;
  11["Create BlobtoolKit"];
  5 -->|output| 11;
  0 -->|output| 11;
  2 -->|output| 11;
  1 -->|output| 11;
  12["gfastats"];
  5 -->|output| 12;
  13["Convert compressed file to uncompressed."];
  5 -->|output| 13;
  14["gfastats"];
  5 -->|output| 14;
  15["Diamond"];
  5 -->|output| 15;
  6 -->|output| 15;
  16["Collapse Collection"];
  7 -->|output| 16;
  17["Collapse Collection"];
  8 -->|output| 17;
  18["Meryl"];
  9 -->|read_db| 18;
  19["HISAT2"];
  10 -->|output| 19;
  5 -->|output| 19;
  20["Smudgeplot"];
  10 -->|output| 20;
  21["Replace"];
  13 -->|output1| 21;
  22["Bandage Image"];
  14 -->|output| 22;
  23["BWA-MEM2"];
  16 -->|output| 23;
  5 -->|output| 23;
  24["BWA-MEM2"];
  17 -->|output| 24;
  5 -->|output| 24;
  25["Merqury"];
  5 -->|output| 25;
  18 -->|read_db| 25;
  c2fe83a3-754a-4544-bb87-df16f3537ab4["Output\nMerqury on input dataset(s): stats"];
  25 --> c2fe83a3-754a-4544-bb87-df16f3537ab4;
  style c2fe83a3-754a-4544-bb87-df16f3537ab4 stroke:#2c3143,stroke-width:4px;
  8f08d8f6-7615-420c-8a15-201a61b5d3bb["Output\nMerqury on input dataset(s): plots"];
  25 --> 8f08d8f6-7615-420c-8a15-201a61b5d3bb;
  style 8f08d8f6-7615-420c-8a15-201a61b5d3bb stroke:#2c3143,stroke-width:4px;
  7a8d951a-6a31-4b02-aeba-0eb3061f85ce["Output\nMerqury on input dataset(s): QV stats"];
  25 --> 7a8d951a-6a31-4b02-aeba-0eb3061f85ce;
  style 7a8d951a-6a31-4b02-aeba-0eb3061f85ce stroke:#2c3143,stroke-width:4px;
  26["Meryl"];
  18 -->|read_db| 26;
  27["Samtools stats"];
  19 -->|output_alignments| 27;
  28["Busco"];
  21 -->|outfile| 28;
  1d4e4542-8bf1-4e32-890b-2e18df95a0de["Output\nBusco on input dataset(s): full table"];
  28 --> 1d4e4542-8bf1-4e32-890b-2e18df95a0de;
  style 1d4e4542-8bf1-4e32-890b-2e18df95a0de stroke:#2c3143,stroke-width:4px;
  680b8177-3653-4630-ab99-c1d2304dc485["Output\nBusco on input dataset(s): short summary"];
  28 --> 680b8177-3653-4630-ab99-c1d2304dc485;
  style 680b8177-3653-4630-ab99-c1d2304dc485 stroke:#2c3143,stroke-width:4px;
  29["Filter and merge"];
  24 -->|bam_output| 29;
  23 -->|bam_output| 29;
  30["Merqury plot 2"];
  25 -->|png_files| 30;
  31["Merqury plot 1"];
  25 -->|png_files| 31;
  32["Merqury plot 3"];
  25 -->|png_files| 32;
  33["Merqury plot 5"];
  25 -->|png_files| 33;
  34["Merqury plot 4"];
  25 -->|png_files| 34;
  35["GenomeScope"];
  26 -->|read_db_hist| 35;
  4 -->|output| 35;
  36["BlobToolKit"];
  15 -->|blast_tabular| 36;
  11 -->|blobdir| 36;
  28 -->|busco_table| 36;
  19 -->|output_alignments| 36;
  37["PretextMap"];
  29 -->|outfile| 37;
  38["Interactive BlobToolKit"];
  36 -->|blobdir| 38;
  39["Pretext Snapshot"];
  37 -->|pretext_map_out| 39;

To use these workflows in Galaxy you can either click the links to download the workflows, or you can right-click and copy the link to the workflow which can be used in the Galaxy form to import workflows.

Importing into Galaxy

Below are the instructions for importing these workflows directly into your Galaxy server of choice to start using them!
Hands-on: Importing a workflow
  • Click on Workflow on the top menu bar of Galaxy. You will see a list of all your workflows.
  • Click on galaxy-upload Import at the top-right of the screen
  • Provide your workflow
    • Option 1: Paste the URL of the workflow into the box labelled “Archived Workflow URL”
    • Option 2: Upload the workflow file in the box labelled “Archived Workflow File”
  • Click the Import workflow button

Below is a short video demonstrating how to import a workflow from GitHub using this procedure:

Video: Importing a workflow from URL

Version History

Version Commit Time Comments
3 807026b84 2023-06-23 12:49:16 Update topics/assembly/tutorials/ERGA-post-assembly-QC/workflows/main_workflow.ga
2 c5bb8031a 2023-06-23 09:04:53 Fix testes
1 893cd527b 2023-04-28 09:18:57 Add images and rename tutorial

For Admins

Installing the workflow tools

wget https://training.galaxyproject.org/training-material/topics/assembly/tutorials/ERGA-post-assembly-QC/workflows/main_workflow.ga -O workflow.ga
workflow-to-tools -w workflow.ga -o tools.yaml
shed-tools install -g GALAXY -a API_KEY -t tools.yaml
workflow-install -g GALAXY -a API_KEY -w workflow.ga --publish-workflows