view macros.xml @ 6:5a97c5bbd51e draft

planemo upload for repository commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
author iuc
date Fri, 07 Sep 2018 10:59:06 -0400
parents 5a2da133262a
children e0de12ae3fc2
line wrap: on
line source

    <token name="@WRAPPER_VERSION@">3.0.0a1</token>
    <xml name="requirements">
            <requirement type="package" version="@WRAPPER_VERSION@">khmer</requirement>
    <xml name="version">
        <version_command><![CDATA[@BINARY@ --version 2>&1 | tail -n 1 | cut -d ' ' -f 2]]></version_command>
    <xml name="stdio">
            <exit_code range="1:" level="fatal" />
    <token name="@TABLEPARAMS@">
#if $parameters.type == "simple"
#end if
    <token name="@THREADS@">--threads \${GALAXY_SLOTS:-4}</token>
    <xml name="tableinputs">
        <conditional name="parameters">
            <param name="type" type="select" label="Advanced Parameters"
                help="ksize, n_tables, a specific tablesize" >
                <option value="simple" selected="true">Hide</option>
                <option value="specific">Show</option>
            <when value="simple">
                <param name="tablesize" type="select" label="Sample Type" display="radio">
                    <option value="1e9" selected="true">Microbial Genome</option>
                    <option value="2e9">Animal Transcriptome</option>
                    <option value="4e9">Small Animal Genome or Low-Diversity Metagenome</option>
                    <option value="16e9">Large Animal Genome</option>
            <when value="specific">
                <param name="ksize" type="integer" value="20" label="k-mer size" help="k-mer size to use" />
                <param name="n_tables" type="integer" min="1" value="4" label="n_tables" help="number of tables to use" />
                <param name="tablesize_specific" type="text" value="1000000.0"
                    label="tablesize" help="(--max-tablesize) upper bound on the tablesize to use" />
    <xml name="input_sequences_filenames">
        <param  name="inputs" multiple="true" type="data" format="fasta,fastq"
            label="Sequences in FASTA or FASTQ format"
            help="Put in order of precedence such as longest reads first." />
    <xml name="input_sequence_filename">
        <param  name="input_sequence_filename" type="data" format="fasta,fastq"
            label="Sequence in FASTA or FASTQ format" />
    <xml name="input_countgraph_filename">
        <param  name="input_countgraph_filename" type="data" format="oxlicg"
            label="the k-mer countgraph to query"
            help="The abundances of the k-mers in the input nucleotide sequence file will be calculated using the kmer counts in this k-mer countgraph." />
    <xml name="abundance-histogram-output">
        <data name="output_histogram_filename" format="txt"
            label="${} k-mer abundance histogram. The
                columns are: (1) k-mer abundance, (2) k-mer count, (3)
                cumulative count, (4) fraction of total distinct k-mers." />
    <xml name="output_sequences">
        <data name="output" format_source="inputs"
            label="${} processed nucleotide sequence file">
            <discover_datasets pattern="__designation_and_ext__" directory="output" visible="true"/>
    <xml name="output_sequences_single">
        <data name="output" format_source="input_sequence_filename"
            label="${} processed nucleotide sequence file" />
    <xml name="input_zero">
        <param name="zero" type="boolean" truevalue="" falsevalue="--no-zero" checked="true"
            help="Output zero count bins (--no-zero)" />
    <xml name="input_bigcount">
        <param  name="bigcount" type="boolean" truevalue="" falsevalue="--no-bigcount"
            checked="true" help="Count k-mers past 255 occurences (--no-bigcount)" />
    <token name="@HELP_FOOTER@"><![CDATA[
(from the khmer project: )]]></token>
    <xml name="software-citation">
        <citation type="doi">10.12688/f1000research.6924.1</citation>
    <xml name="diginorm-citation">
        <citation type="bibtex">@unpublished{diginorm,
    author = "Brown, C Titus and Howe, Adina and Zhang, Qingpeng and Pyrkosz,
Alexis B and Brom, Timothy H",
    title = "A Reference-Free Algorithm for Computational Normalization of
Shotgun Sequencing Data",
    year = "2012",
    eprint = "arXiv:1203.4802",
    url = "",
    <xml name="graph-citation">
        <citation type="doi">10.1073/pnas.1121464109</citation>
    <xml name="counting-citation">
        <citation type="doi">10.1371/journal.pone.0101271</citation>