comparison dunovo.xml @ 10:9dc43bf7d1db draft

planemo upload for repository https://github.com/galaxyproject/dunovo commit b'230f018da2c0bc4eedc72e0f70eac0df1e85ebdb\n'-dirty
author nick
date Fri, 01 Jun 2018 17:55:23 -0400
parents fa563fa9b330
children 0f8e0dc73d1d
comparison
equal deleted inserted replaced
9:fa563fa9b330 10:9dc43bf7d1db
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <tool id="dunovo" name="Du Novo: Make consensus reads" version="2.14"> 2 <tool id="dunovo" name="Du Novo: Make consensus reads" version="2.15">
3 <description>from duplex sequencing alignments</description> 3 <description>from duplex sequencing alignments</description>
4 <requirements> 4 <requirements>
5 <requirement type="package" version="2.14">dunovo</requirement> 5 <requirement type="package" version="2.15">dunovo</requirement>
6 <!-- TODO: require Python 2.7 --> 6 <!-- TODO: require Python 2.7 -->
7 </requirements> 7 </requirements>
8 <version_command>make-consensi.py --version</version_command> 8 <version_command>make-consensi.py --version</version_command>
9 <command detect_errors="exit_code"> 9 <command detect_errors="exit_code">
10 make-consensi.py --galaxy $phone --processes \${GALAXY_SLOTS:-1} --min-reads $min_reads --qual $qual_thres --qual-format $qual_format --cons-thres $cons_thres --min-cons-reads $min_cons_reads '$input' --dcs1 '$dcs1' --dcs2 '$dcs2' 10 make-consensi.py --galaxy $phone --processes \${GALAXY_SLOTS:-1}
11 #if $out_format.type == 'fastq':
12 --fastq-out $out_format.qual
13 #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'
11 #if $keep_sscs: 15 #if $keep_sscs:
12 --sscs1 '$sscs1' --sscs2 '$sscs2' 16 --sscs1 '$sscs1' --sscs2 '$sscs2'
13 #end if 17 #end if
14 </command> 18 </command>
15 <inputs> 19 <inputs>
16 <param name="input" type="data" format="tabular" label="Aligned input reads" /> 20 <param name="input" type="data" format="tabular" label="Aligned input reads" />
17 <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."/> 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."/>
18 <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."/> 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."/>
19 <param name="min_cons_reads" type="integer" value="0" min="0" label="Minimum number of reads for a consensus base." help="If no base at the position appears in at least this many reads, &quot;N&quot; will be used."/> 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."/>
24 <conditional name="out_format">
25 <param name="type" type="select" label="Output format">
26 <option value="fasta" selected="true">FASTA</option>
27 <option value="fastq">FASTQ</option>
28 </param>
29 <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."/>
31 </when>
32 </conditional>
20 <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."/> 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."/>
21 <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+"> 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+">
22 <option value="sanger" selected="true">Sanger (PHRED 0 = &quot;!&quot;)</option> 35 <option value="sanger" selected="true">Sanger (PHRED 0 = &quot;!&quot;)</option>
23 <option value="solexa">Solexa (PHRED 0 = &quot;@&quot;)</option> 36 <option value="solexa">Solexa (PHRED 0 = &quot;@&quot;)</option>
24 </param> 37 </param>
25 <param name="keep_sscs" type="boolean" truevalue="true" falsevalue="" label="Output single-strand consensus sequences as well" /> 38 <param name="keep_sscs" type="boolean" truevalue="true" falsevalue="" label="Output single-strand consensus sequences as well" />
26 <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 <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."/>
27 </inputs> 40 </inputs>
28 <outputs> 41 <outputs>
29 <data name="dcs1" format="fasta" label="$tool.name on $on_string (mate 1)"/> 42 <data name="dcs1" label="$tool.name on $on_string (mate 1)">
30 <data name="dcs2" format="fasta" label="$tool.name on $on_string (mate 2)"/> 43 <change_format>
31 <data name="sscs1" format="fasta" label="$tool.name on $on_string (SSCS mate 1)"> 44 <when input="out_format.type" value="fasta" format="fasta"/>
45 <when input="out_format.type" value="fastq" format="fastq"/>
46 </change_format>
47 </data>
48 <data name="dcs2" label="$tool.name on $on_string (mate 2)">
49 <change_format>
50 <when input="out_format.type" value="fasta" format="fasta"/>
51 <when input="out_format.type" value="fastq" format="fastq"/>
52 </change_format>
53 </data>
54 <data name="sscs1" label="$tool.name on $on_string (SSCS mate 1)">
32 <filter>keep_sscs</filter> 55 <filter>keep_sscs</filter>
56 <change_format>
57 <when input="out_format.type" value="fasta" format="fasta"/>
58 <when input="out_format.type" value="fastq" format="fastq"/>
59 </change_format>
33 </data> 60 </data>
34 <data name="sscs2" format="fasta" label="$tool.name on $on_string (SSCS mate 2)"> 61 <data name="sscs2" label="$tool.name on $on_string (SSCS mate 2)">
35 <filter>keep_sscs</filter> 62 <filter>keep_sscs</filter>
63 <change_format>
64 <when input="out_format.type" value="fasta" format="fasta"/>
65 <when input="out_format.type" value="fastq" format="fastq"/>
66 </change_format>
36 </data> 67 </data>
37 </outputs> 68 </outputs>
38 <tests> 69 <tests>
39 <test> 70 <test>
40 <param name="input" value="families.msa.tsv"/> 71 <param name="input" value="families.msa.tsv"/>