comparison duplex.xml @ 5:9d46c9ca7ceb draft

planemo upload commit 022984f323d3da44f70b3bf79c684cfd8dda3f61-dirty
author nick
date Mon, 23 Nov 2015 18:46:22 -0500
parents
children e504cc1d5a76
comparison
equal deleted inserted replaced
4:af383638de66 5:9d46c9ca7ceb
1 <?xml version="1.0"?>
2 <tool id="duplex" name="Make consensus reads" version="0.1">
3 <description>from duplex sequencing data</description>
4 <requirements>
5 <requirement type="package" version="0.1">duplex</requirement>
6 </requirements>
7 <command interpreter="python" detect_errors="exit_code"><![CDATA[
8 duplex.py -r $min_reads -q $qual_thres -F $qual_format $input
9 #if $keep_sscs:
10 --sscs-file $sscs
11 #end if
12 > duplex.fa
13 && awk -f $__tool_directory__/utils/outconv.awk -v target=1 duplex.fa > $output1
14 && awk -f $__tool_directory__/utils/outconv.awk -v target=2 duplex.fa > $output2
15 ]]>
16 </command>
17 <inputs>
18 <param name="input" type="data" format="tabular" label="Aligned input reads" />
19 <param name="min_reads" type="integer" value="3" min="1" label="Minimum reads per family" help="Single-strand families with fewer than this many reads will be skipped."/>
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."/>
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+">
22 <option value="sanger" selected="true">Sanger (PHRED 0 = &quot;!&quot;)</option>
23 <option value="solexa">Solexa (PHRED 0 = &quot;@&quot;)</option>
24 </param>
25 <param name="keep_sscs" type="boolean" truevalue="true" falsevalue="" label="Output single-strand consensus sequences" />
26 </inputs>
27 <outputs>
28 <data name="output1" format="fasta" label="$tool.name on $on_string (mate 1)"/>
29 <data name="output2" format="fasta" label="$tool.name on $on_string (mate 2)"/>
30 <data name="sscs" format="fasta" label="$tool.name on $on_string (SSCS)">
31 <filter>keep_sscs</filter>
32 </data>
33 </outputs>
34 <help>
35
36 **What it does**
37
38 This is for processing duplex sequencing data. It creates single-strand and duplex consensus reads from aligned read families.
39
40 -----
41
42 **Input**
43
44 This expects the output format of the "Align families" tool.
45
46 -----
47
48 **Output**
49
50 This will output final, duplex consensus reads in two FASTA files (first and second reads in the pairs). Optionally, you can save the single-strand reads too, in a separate FASTA file.
51
52 </help>
53 </tool>