comparison spamr_vet_tools_v2/quast_get_fasta.xml @ 2:d7b099fbb003 draft default tip

Corrected file names and updated tool wrappers for consistency.
author maciek
date Tue, 25 Mar 2025 13:35:00 +0000
parents
children
comparison
equal deleted inserted replaced
1:e57a908b9d3d 2:d7b099fbb003
1 <tool id="quast_get_fasta"
2 name="QUAST Analysis and FASTA Generator"
3 version="0.1.0+galaxy0"
4 profile="21.05">
5
6 <description>Extracts QUAST metrics and generates FASTA files from JSON input.</description>
7
8 <requirements>
9 <requirement type="package" version="3.12">python</requirement>
10 </requirements>
11
12 <command detect_errors="exit_code">
13 <![CDATA[
14 python '$__tool_directory__/quast_get_fasta.py' '$json_input'
15 ]]>
16 </command>
17
18 <inputs>
19 <param name="json_input" type="data" format="json" label="Input JSON File"
20 help="Provide a JSON file containing QUAST and Shovill results."/>
21 </inputs>
22
23 <outputs>
24 <data name="csv_output" format="csv" from_work_dir="quast_output.csv"
25 label="QUAST Summary on ${on_string}"/>
26 <data name="fasta_output" format="fasta" from_work_dir="shovill_contigs.fasta"
27 label="Shovill Contigs on ${on_string}"/>
28 </outputs>
29
30 <tests>
31 <test>
32 <param name="json_input" value="example_input.json"/>
33 <output name="csv_output" file="expected_output.csv" compare="diff"/>
34 <output name="fasta_output" file="expected_output.fasta" compare="diff"/>
35 </test>
36 </tests>
37
38 <help><![CDATA[
39 QUAST Analysis and FASTA Generator
40 ==================================
41
42 This tool extracts key statistics from **QUAST** and generates a **FASTA** file containing assembled contigs from **Shovill**.
43
44 Usage Instructions
45 ------------------
46 1. Upload or provide a **JSON file** containing **QUAST** and **Shovill** results.
47 2. The tool will:
48 - Extract **assembly metrics** from QUAST and save them as a CSV.
49 - Convert **contigs from Shovill** into a FASTA file.
50 3. The outputs will be:
51 - `quast_output.csv` (QUAST summary metrics)
52 - `shovill_contigs.fasta` (FASTA file with contigs)
53
54 Outputs
55 -------
56 - **CSV File:** Contains QUAST summary metrics such as `N50`, `GC content`, `total length`, `L50`, and other key assembly statistics.
57 - **FASTA File:** Extracts contigs from **Shovill**, formatting them properly for downstream analysis.
58
59 References
60 ----------
61 - `QUAST <http://bioinf.spbau.ru/quast>`_ - Quality assessment tool for genome assemblies.
62 - `Shovill <https://github.com/tseemann/shovill>`_ - A tool for rapid bacterial genome assembly using SPAdes.
63
64 For questions or issues, please contact the tool maintainers.
65 ]]></help>
66
67 </tool>