annotate polca.xml @ 0:b40614f1e3c7 draft default tip

"planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
author thanhlv
date Thu, 22 Sep 2022 15:01:09 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
1 <tool id="polca" name="polca" version="@VERSION@">
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
2 <description> Improving the consensus accuracy in genome assemblies</description>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
3 <macros>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
4 <token name="@VERSION@">4.0.9</token>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
5 </macros>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
6 <requirements>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
7 <requirement type="package" version="@VERSION@">masurca</requirement>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
8 </requirements>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
9 <version_command>polca --version</version_command>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
11 #if $short_reads.sr_type == 'paired'
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
12 ln -s '$short_read.R1' reads_1.fastq.gz &&
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
13 ln -s '$short_read.R2' reads_2.fastq.gz &&
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
14 #else if str($short_reads.sr_type) == "collection"
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
15 ln -s '$short_read.input1.forward' reads_1.fastq.gz &&
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
16 ln -s '$short_read.input1.reverse' reads_2.fastq.gz &&
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
17 #end if
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
18 ln -s '${contigs}' contigs.fa &&
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
19 polca.sh -a contigs.fa
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
20 -r reads1.fastq.gz reads2.fastq.gz
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
21 -t \${GALAXY_SLOTS:-4}
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
22 -m 1G
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
23 ]]> </command>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
24
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
25 <inputs>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
26 <param name="contigs" type="data" format="fastq,fastq.gz,fasta,fasta.gz" label="Long-read assembly"/>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
27 <conditional name="short_reads">
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
28 <param name="sr_type" type="select" label="Input reads type or collection" help="Select 'paired end' for a single library or 'collection' for a paired end collection">
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
29 <option value="paired" selected="true">Paired End</option>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
30 <option value="collection">Paired Collection</option>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
31 </param>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
32 <when value="paired">
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
33 <param name="R1" type="data" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2" label="Forward reads (R1)" help="The file of forward reads in FASTQ format"/>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
34 <param name="R2" type="data" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2" label="Reverse reads (R2)" help="The file of reverse reads in FASTQ format"/>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
35 </when>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
36 <when value="collection">
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
37 <param name="input1" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2" type="data_collection" collection_type="paired" label="Paired collection" help="See help section for an explanation of dataset collections"/>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
38 </when>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
39 </conditional>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
40 </inputs>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
41 <outputs>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
42 <data name="contigs" format="fasta" from_work_dir="contigs.PolcaCorrected.fa" label="${tool.name} on ${on_string} Polished assembly" />
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
43 <data name="report" format="txt" from_work_dir="contigs.report" label="${tool.name} on ${on_string} Polished report" />
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
44 </outputs>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
45 <help><![CDATA[
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
46 ]]> </help>
b40614f1e3c7 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/polca commit 5fc36e31ac584a66ab3dddab9e6149a3ef5c9ad3-dirty"
thanhlv
parents:
diff changeset
47 </tool>