Mercurial > repos > thanhlv > polca
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:b40614f1e3c7 |
---|---|
1 <tool id="polca" name="polca" version="@VERSION@"> | |
2 <description> Improving the consensus accuracy in genome assemblies</description> | |
3 <macros> | |
4 <token name="@VERSION@">4.0.9</token> | |
5 </macros> | |
6 <requirements> | |
7 <requirement type="package" version="@VERSION@">masurca</requirement> | |
8 </requirements> | |
9 <version_command>polca --version</version_command> | |
10 <command detect_errors="exit_code"><![CDATA[ | |
11 #if $short_reads.sr_type == 'paired' | |
12 ln -s '$short_read.R1' reads_1.fastq.gz && | |
13 ln -s '$short_read.R2' reads_2.fastq.gz && | |
14 #else if str($short_reads.sr_type) == "collection" | |
15 ln -s '$short_read.input1.forward' reads_1.fastq.gz && | |
16 ln -s '$short_read.input1.reverse' reads_2.fastq.gz && | |
17 #end if | |
18 ln -s '${contigs}' contigs.fa && | |
19 polca.sh -a contigs.fa | |
20 -r reads1.fastq.gz reads2.fastq.gz | |
21 -t \${GALAXY_SLOTS:-4} | |
22 -m 1G | |
23 ]]> </command> | |
24 | |
25 <inputs> | |
26 <param name="contigs" type="data" format="fastq,fastq.gz,fasta,fasta.gz" label="Long-read assembly"/> | |
27 <conditional name="short_reads"> | |
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"> | |
29 <option value="paired" selected="true">Paired End</option> | |
30 <option value="collection">Paired Collection</option> | |
31 </param> | |
32 <when value="paired"> | |
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"/> | |
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"/> | |
35 </when> | |
36 <when value="collection"> | |
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"/> | |
38 </when> | |
39 </conditional> | |
40 </inputs> | |
41 <outputs> | |
42 <data name="contigs" format="fasta" from_work_dir="contigs.PolcaCorrected.fa" label="${tool.name} on ${on_string} Polished assembly" /> | |
43 <data name="report" format="txt" from_work_dir="contigs.report" label="${tool.name} on ${on_string} Polished report" /> | |
44 </outputs> | |
45 <help><![CDATA[ | |
46 ]]> </help> | |
47 </tool> |