view canu.xml @ 1:ed5df116fad3 draft

planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/canu commit da020fbee6e2bd91bc4a8d0850dc601db34ac82b-dirty
author jdv
date Sun, 15 Oct 2017 21:40:46 -0400
parents 7d87a6450883
children a5198537f8a2
line wrap: on
line source

<tool id="canu" name="Canu" version="1.6">

    <description>Assembler optimized for long error-prone reads</description>

    <!-- ***************************************************************** -->
   
    <!--
    <requirements>
        <requirement type="package" version="1.6">canu</requirement>
    </requirements>
    -->

    <!-- ***************************************************************** -->

    <version_command>canu --version | perl -wnE'print "$1\n" for /^Canu (?:snapshot v)?(\S+)/g'</version_command>


    <!-- ***************************************************************** -->

    <command detect_errors="aggressive">
    <![CDATA[

    canu
        
        -p canu_galaxy
        -d out_dir
        useGrid=false
        genomeSize=$genomeSize
        rawErrorRate=$rawErrorRate
        correctedErrorRate=$correctedErrorRate
        minReadLength=$minReadLength
        minOverlapLength=$minOverlapLength
        corOutCoverage=$corOutCoverage
        minThreads=\${GALAXY_SLOTS:-1}
        maxThreads=\${GALAXY_SLOTS:-1}
        gnuplotTested=true
        useGrid=false
        $mode
        $input


    ]]>
    </command>

    <!-- ***************************************************************** -->

    <inputs>

        <param name="input" type="data" format="fasta,fasta.gz,fastq,fastq.gz" label="Input reads" />
        <param name="mode" type="select">
            <option value="-nanopore-raw" selected="true">nanopore raw</option>
            <option value="-pacbio-raw">pacbio raw</option>
            <option value="-nanopore-corrected">nanopore corrected</option>
            <option value="-pacbio-corrected">pacbio corrected</option>
        </param>
        <param argument="genomeSize" type="text" size="5" label="Estimated genome size (e.g. 80m, 15k, 2g)" />
        <param argument="rawErrorRate" type="float" value="0.500" min="0" max="1" size="5" label="Maximum raw overlap mismatch (0-1)" />
        <param argument="correctedErrorRate" type="float" value="0.144" min="0" max="1" size="5" label="Maximum corrected overlap mismatch (0-1)" />
        <param argument="minReadLength" type="integer" value="1000" min="1" size="5" label="Minimum read length" />
        <param argument="minOverlapLength" type="integer" value="500" min="1" size="5" label="Minimum overlap" />
        <param argument="corOutCoverage" type="integer" value="40" min="1" size="5" label="Target coverage for corrected reads" />

    </inputs>

    <!-- ***************************************************************** -->

    <outputs>

        <data name="contigs" format="fasta" from_work_dir="out_dir/canu_galaxy.contigs.fasta" label="${tool.name} on ${on_string} (contigs)" />
        <data name="unitigs" format="fasta" from_work_dir="out_dir/canu_galaxy.unitigs.fasta" label="${tool.name} on ${on_string} (unitigs)" />

    </outputs>

    <!-- ***************************************************************** -->

    <tests>
    </tests>

    <!-- ***************************************************************** -->

    <help>
    <![CDATA[

**Description**

Nanopolish is a software package for signal-level analysis of Oxford Nanopore
sequencing data. Nanopolish can calculate an improved consensus sequence for a
draft genome assembly, detect base modifications, call SNPs and indels with
respect to a reference genome and more.

The Galaxy wrapper has modified nanopolish to take a gzip tarball of FAST5 reads
as input, such as can be produced by `poretools combine`, and always outputs a
single FASTQ file.

This is the `extract` module.

    ]]>
    </help>

    <!-- ***************************************************************** -->
    
    <citations>
    </citations>

</tool>