Mercurial > repos > thanhlv > polca
annotate polca.xml.bk @ 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 |
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> Minimal but speedy quality control for nanopore reads</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 && |
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 $no_fix |
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 ]]> </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
|
25 |
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 <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
|
27 <param name="contigs" type="data" format="fasta,fasta.gz" label="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
|
28 <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
|
29 <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
|
30 <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
|
31 <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
|
32 </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
|
33 <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
|
34 <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
|
35 <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
|
36 </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
|
37 <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
|
38 <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
|
39 </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
|
40 </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
|
41 <param argument="no_fix" type="boolean" truevalue="-n" falsevalue="" checked="false" label="Do not fix errors when found." /> |
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 </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
|
43 <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
|
44 <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
|
45 <data name="report" format="fasta" from_work_dir="contigs.report" 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
|
46 </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
|
47 <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
|
48 ]]> </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
|
49 </tool> |