Mercurial > repos > galaxy-australia > hifiasm_meta
comparison hifiasm_meta.xml @ 0:6b86c86eab26 draft
planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 64c69504c3c9d78544ff708c1c8c819981913a7d
author | galaxy-australia |
---|---|
date | Thu, 12 Jan 2023 23:07:53 +0000 |
parents | |
children | 15dbb444df71 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6b86c86eab26 |
---|---|
1 <tool id="hifiasm_meta" name="Hifiasm_meta" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@" license="MIT"> | |
2 <description>for metagenome assembly using Hifi reads.</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements"/> | |
7 <command detect_errors="exit_code"><![CDATA[ | |
8 ################## | |
9 ## SET UP FILES ## | |
10 ################## | |
11 | |
12 #set reads_fn = 'reads.' + $reads.ext | |
13 ln -s '$reads' '$reads_fn' && | |
14 | |
15 ################# | |
16 ## RUN HIFIASM ## | |
17 ################# | |
18 | |
19 hifiasm_meta | |
20 --lowq-10 '$read_selection.lowq_10' | |
21 --lowq-3 '$read_selection.lowq_3' | |
22 --lowq-5 '$read_selection.lowq_5' | |
23 -a '$assembly.a' | |
24 -k '$overlap_correction.k' | |
25 -o asm | |
26 -r '$overlap_correction.r' | |
27 #if '$read_selection.S': | |
28 -S | |
29 #end if | |
30 -t \${GALAXY_SLOTS:-4} | |
31 '$reads_fn' | |
32 | |
33 ]]></command> | |
34 <inputs> | |
35 <!-- fastq files (could be a repeat or a collection) --> | |
36 <param name="reads" format="fastqsanger,fastqsanger.gz" type="data" label="HiFi reads" help="Input reads for assembly" /> | |
37 <section name="read_selection" title="Read selection" expanded="false"> | |
38 <param argument='-S' type="boolean" checked="true" label="Enable read selection" help="If enabled, hifiasm_meta will estimate the total number of read overlaps." /> | |
39 <param argument='--lowq-10' type="integer" value='50' label="lower 10% runtime kmer frequency threshold." /> | |
40 <param argument='--lowq-5' type="integer" value='50' label="lower 5% runtime kmer frequency threshold." /> | |
41 <param argument='--lowq-3' type="integer" value='10' label="lower 3% runtime kmer frequency threshold." /> | |
42 </section> | |
43 <section name="overlap_correction" title="Overlap/Error correction" expanded="false"> | |
44 <param argument='-k' type="integer" value='51' min="1" max="63" label="k-mer length" /> | |
45 <param argument='-r' type="integer" value='3' min="1" max="10" label="rounds of correction" /> | |
46 </section> | |
47 <section name="assembly" title="Assembly" expanded="false"> | |
48 <param argument='-a' type="integer" value='4' min="1" max="10" label="rounds of assembly cleaning" /> | |
49 </section> | |
50 </inputs> | |
51 <outputs> | |
52 <!-- contig graph files --> | |
53 <collection name="contig_graphs" type="list" label="hifiasm_meta on ${on_string}: contig graphs"> | |
54 <data name="Alternate contigs" label="Alternate contigs" from_work_dir="asm.a_ctg.gfa" format="gfa2" /> | |
55 <data name="Primary contigs" label="Primary contigs" from_work_dir="asm.p_ctg.gfa" format="gfa2" /> | |
56 </collection> | |
57 <!-- unitig graph files --> | |
58 <collection name="unitig_graphs" type="list" label="hifiasm_meta on ${on_string}: unitig graphs"> | |
59 <data name="Raw unitigs" label="Raw unitigs" from_work_dir="asm.r_utg.gfa" format="gfa2" /> | |
60 <data name="Processed unitigs" label="Processed unitigs" from_work_dir="asm.p_utg.gfa" format="gfa2" /> | |
61 </collection> | |
62 <!-- Simplified graphs for visualisation --> | |
63 <collection name="simple_graphs" type="list" label="hifiasm_meta on ${on_string}: graphs for visualisation"> | |
64 <discover_datasets pattern="(?P<designation>.+)\.noseq.gfa" format="gfa2" visible="false" /> | |
65 </collection> | |
66 </outputs> | |
67 <tests> | |
68 <!-- 01: basic function --> | |
69 <test> | |
70 <param name="reads" value="zymoD6331std-ecoli-ten-percent.42.1.fq.gz" /> | |
71 <param name='S' value="False" /> | |
72 <param name='r' value="1" /> | |
73 <output_collection name="contig_graphs" type="list"> | |
74 <element name="Primary contigs" file="asm.p_ctg.gfa"/> | |
75 <element name="Alternate contigs" file="asm.a_ctg.gfa"/> | |
76 </output_collection> | |
77 </test> | |
78 </tests> | |
79 <help><![CDATA[ | |
80 hifiasm_meta | |
81 ------------ | |
82 | |
83 de novo metagenome assembler, based on hifiasm, a haplotype-resolved de novo assembler for PacBio Hifi reads. | |
84 | |
85 | |
86 Hifiasm is an ultrafast haplotype-resolved de novo assembler for PacBio | |
87 Hifi reads. Unlike most existing assemblers, hifiasm starts from uncollapsed | |
88 genome. Thus, it is able to keep the haplotype information as much as possible. | |
89 The input of hifiasm is the PacBio Hifi reads in fasta/fastq format, and its | |
90 outputs consist of multiple types of assembly graph in GFA format. | |
91 | |
92 Hifiasm_meta is a fork of hifiasm. It comes with a read selection module, which | |
93 enables the assembly of dataset of high redundancy without compromising overall | |
94 assembly quality, and meta-centric graphcleaning modules. Currently hifiasm_meta | |
95 does not take bining info. | |
96 | |
97 -------------- | |
98 | |
99 hifiasm_meta's home page is | |
100 `xfengnefx/hifiasm-meta <https://github.com/xfengnefx/hifiasm-meta>`__. | |
101 | |
102 This tool was wrapped by the Galaxy Australia team. | |
103 ]]></help> | |
104 </tool> |