comparison dunovo.xml @ 11:0f8e0dc73d1d draft default tip

"planemo upload for repository https://github.com/galaxyproject/dunovo commit dbd33f95b486dc556c435f1b42736b818a2b9802-dirty"
author nick
date Wed, 16 Feb 2022 22:59:00 +0000
parents 9dc43bf7d1db
children
comparison
equal deleted inserted replaced
10:9dc43bf7d1db 11:0f8e0dc73d1d
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <tool id="dunovo" name="Du Novo: Make consensus reads" version="2.15"> 2 <tool id="dunovo" name="Du Novo: Make consensus reads" version="3.0.2">
3 <description>from duplex sequencing alignments</description> 3 <description>from duplex sequencing alignments</description>
4 <requirements> 4 <requirements>
5 <requirement type="package" version="2.15">dunovo</requirement> 5 <requirement type="package" version="3.0.2">dunovo</requirement>
6 <!-- TODO: require Python 2.7 -->
7 </requirements> 6 </requirements>
8 <version_command>make-consensi.py --version</version_command> 7 <version_command>make-consensi.py --version</version_command>
9 <command detect_errors="exit_code"> 8 <command detect_errors="exit_code">
10 make-consensi.py --galaxy $phone --processes \${GALAXY_SLOTS:-1} 9 make-consensi.py --galaxy $phone --processes \${GALAXY_SLOTS:-1}
11 #if $out_format.type == 'fastq': 10 #if $out_format.type == 'fastq':
12 --fastq-out $out_format.qual 11 --fastq-out $out_format.qual
13 #end if 12 #end if
14 --qual $qual_thres --qual-format $qual_format --min-reads $min_reads --cons-thres $cons_thres --min-cons-reads $min_cons_reads '$input' --dcs1 '$dcs1' --dcs2 '$dcs2' 13 --aligner $advanced.aligner --qual $qual_thres --qual-format $qual_format --min-reads $min_reads --cons-thres $cons_thres --min-cons-reads $min_cons_reads '$input' --dcs1 '$dcs1' --dcs2 '$dcs2'
15 #if $keep_sscs: 14 #if $keep_sscs:
16 --sscs1 '$sscs1' --sscs2 '$sscs2' 15 --sscs1 '$sscs1' --sscs2 '$sscs2'
17 #end if 16 #end if
18 </command> 17 </command>
19 <inputs> 18 <inputs>
20 <param name="input" type="data" format="tabular" label="Aligned input reads" /> 19 <param name="input" type="data" format="tabular" label="Aligned input reads" />
21 <param name="min_reads" type="integer" value="3" min="1" label="Minimum reads for a consensus" help="This many reads are necessary to form a single-strand consensus sequence. Families smaller than this will be skipped."/> 20 <param name="min_reads" type="integer" value="3" min="1" label="Minimum reads for a consensus" help="This many reads are necessary to form a single-strand consensus sequence. Families smaller than this will be skipped and no consensus (single or duplex) will be produced."/>
22 <param name="cons_thres" type="float" value="0.5" min="0.5" max="1.0" label="Consensus % threshold" help="The consensus base must be present in more than this fraction of the reads, or &quot;N&quot; will be used instead."/> 21 <param name="cons_thres" type="float" value="0.7" min="0" max="1.0" label="Consensus % threshold" help="Each consensus base must be present in more than this fraction of the reads, or &quot;N&quot; will be used instead."/>
23 <param name="min_cons_reads" type="integer" value="0" min="0" label="Minimum number of reads for a consensus base." help="The consensus base must be present in more than this absolute number of reads, or &quot;N&quot; will be used instead."/> 22 <param name="min_cons_reads" type="integer" value="0" min="0" label="Minimum number of reads for a consensus base." help="Each consensus base must be present in more than this absolute number of reads, or &quot;N&quot; will be used instead. The &quot;Consensus % threshold&quot; sets a threshold based on the number of reads in the family, while this threshold is a fixed, absolute number. If both are used, the consensus base must pass both requirements."/>
23 <param name="qual_thres" type="integer" value="25" min="1" label="Minimum base quality" help="Bases with a PHRED score less than this will not be counted in the consensus making."/>
24 <param name="qual_format" type="select" label="Input quality score format" help="Format of the FASTQ files of the raw reads. Solexa should also work for Illumina 1.3+ and 1.5+, and Sanger should work for Illumina 1.8+">
25 <option value="sanger" selected="true">Sanger (PHRED 0 = &quot;!&quot;)</option>
26 <option value="solexa">Solexa (PHRED 0 = &quot;@&quot;)</option>
27 </param>
24 <conditional name="out_format"> 28 <conditional name="out_format">
25 <param name="type" type="select" label="Output format"> 29 <param name="type" type="select" label="Output format">
26 <option value="fasta" selected="true">FASTA</option> 30 <option value="fasta" selected="true">FASTA</option>
27 <option value="fastq">FASTQ</option> 31 <option value="fastq">FASTQ</option>
28 </param> 32 </param>
29 <when value="fastq"> 33 <when value="fastq">
30 <param name="qual" type="integer" value="40" min="0" max="93" label="Output PHRED score" help="There is currently no way to output a meaningful quality score for consensus bases. You'll have to specify an artificial one, which will be given to every base. A good value is 40, the maximum score normally output by sequencers. This means the bases won't be inadvertently filtered out by some downstream tool."/> 34 <param name="qual" type="integer" value="40" min="0" max="93" label="Output PHRED score" help="There is currently no way to output a meaningful quality score for consensus bases. You'll have to specify an artificial one, which will be given to every base. A good value is 40, the maximum score normally output by sequencers. This means the bases won't be inadvertently filtered out by some downstream tool."/>
31 </when> 35 </when>
32 </conditional> 36 </conditional>
33 <param name="qual_thres" type="integer" value="25" min="1" label="Minimum base quality" help="Bases with a PHRED score less than this will not be counted in the consensus making."/>
34 <param name="qual_format" type="select" label="FASTQ format" help="Solexa should also work for Illumina 1.3+ and 1.5+, and Sanger should work for Illumina 1.8+">
35 <option value="sanger" selected="true">Sanger (PHRED 0 = &quot;!&quot;)</option>
36 <option value="solexa">Solexa (PHRED 0 = &quot;@&quot;)</option>
37 </param>
38 <param name="keep_sscs" type="boolean" truevalue="true" falsevalue="" label="Output single-strand consensus sequences as well" /> 37 <param name="keep_sscs" type="boolean" truevalue="true" falsevalue="" label="Output single-strand consensus sequences as well" />
39 <param name="phone" type="boolean" truevalue="--phone-home" falsevalue="" checked="False" label="Send usage data" help="Report helpful usage data to the developer, to better understand the use cases and performance of the tool. The only data which will be recorded is the name and version of the tool, the size of the input data, the number of processes used, the time and memory taken to process it, and the IP address of the machine running it. Also, if the tool fails, it will report the name of the exception thrown and the line of code it occurred in. The parameters and input/output dataset names are not sent. All the reporting and recording code is available at https://github.com/NickSto/ET."/> 38 <param name="phone" type="boolean" truevalue="--phone-home" falsevalue="" checked="False" label="Send usage data" help="Report helpful usage data to the developer, to better understand the use cases and performance of the tool. The only data which will be recorded is the name and version of the tool, the size of the input data, the number of processes used, the time and memory taken to process it, and the IP address of the machine running it. Also, if the tool fails, it will report the name of the exception thrown and the line of code it occurred in. The parameters and input/output dataset names are not sent. All the reporting and recording code is available at https://github.com/NickSto/ET."/>
39 <section name="advanced" title="Advanced Options" expanded="false">
40 <param name="aligner" type="select" value="biopython" label="Pairwise sequence aligner" help="Which pairwise alignment library to use. &quot;BioPython&quot; uses BioPython's PairwiseAligner and a substitution matrix built by Bioconductor's Biostrings package. &quot;swalign&quot; is a custom Smith-Waterman implementation by Nicolaus Lance Hepler. It is deprecated and kept only for backward compatibility.">
41 <option value="biopython">BioPython</option>
42 <option value="swalign">swalign</option>
43 </param>
44 </section>
40 </inputs> 45 </inputs>
41 <outputs> 46 <outputs>
42 <data name="dcs1" label="$tool.name on $on_string (mate 1)"> 47 <data name="dcs1" label="$tool.name on $on_string (mate 1)">
43 <change_format> 48 <change_format>
44 <when input="out_format.type" value="fasta" format="fasta"/> 49 <when input="out_format.type" value="fasta" format="fasta"/>